From ff102db146c813632f53a8f2d910763bcc19c4d1 Mon Sep 17 00:00:00 2001 From: tranch Date: Fri, 11 Sep 2026 01:09:57 +0800 Subject: Fix ujust Decky mirror recipe registration --- build_files/build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build_files/build.sh') diff --git a/build_files/build.sh b/build_files/build.sh index 559dc7b..e3e94a1 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -14,6 +14,15 @@ esac # Copy the contents of system_files/ of the git repo to / cp -avf "/ctx/system_files"/. / +# ujust loads explicit imports, not every fragment in the just/ directory. +# Preserve upstream recipes and register our overlay after copying its files. +AEROCORE_DECKY_IMPORT='import "/usr/share/ublue-os/just/92-aerocore-decky-mirror.just"' +if ! grep -Fxq "${AEROCORE_DECKY_IMPORT}" /usr/share/ublue-os/justfile; then + printf '\n%s\n' "${AEROCORE_DECKY_IMPORT}" >> /usr/share/ublue-os/justfile +fi +# Fail the image build if the public entry point cannot resolve the recipe. +ujust --show setup-decky-mirror >/dev/null + install_regular_file() { local source_file="$1" local destination_file="$2" -- cgit v1.2.3