diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-09-11 01:09:57 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-09-11 01:09:57 +0800 |
| commit | ff102db146c813632f53a8f2d910763bcc19c4d1 (patch) | |
| tree | 7524a5f87169f16eca0c671c46ff20fd5b7c9685 | |
| parent | 740a8e2cfce7579ddc0068413490b6ad8ea3fcc7 (diff) | |
| download | AeroCore-OS-ff102db146c813632f53a8f2d910763bcc19c4d1.tar.gz AeroCore-OS-ff102db146c813632f53a8f2d910763bcc19c4d1.zip | |
Fix ujust Decky mirror recipe registration
| -rwxr-xr-x | build_files/build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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" |
