summaryrefslogtreecommitdiff
path: root/build_files/build.sh
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-22 17:26:46 +0800
committerGitHub <noreply@github.com>2026-07-22 17:26:46 +0800
commit551eb70e71b16ec78d1ccab5f92242623809f591 (patch)
tree8156006e752aa03a910281021ffb5f364927a8d6 /build_files/build.sh
parentbf529f74e0a776518f73852a3a156361051772dc (diff)
parent54790d45fba14c63544355e4c78247e9e05d6c7d (diff)
downloadAeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.tar.gz
AeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.zip
Merge pull request #2 from AeroCore-IO/testing
Complete AeroCore OS metadata migration and live installer integration
Diffstat (limited to 'build_files/build.sh')
-rwxr-xr-xbuild_files/build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build_files/build.sh b/build_files/build.sh
index f1709da..03adff0 100755
--- a/build_files/build.sh
+++ b/build_files/build.sh
@@ -2,6 +2,15 @@
set -ouex pipefail
+case "${BASE_IMAGE:-}" in
+ ghcr.io/ublue-os/bazzite-deck:* | ghcr.io/ublue-os/bazzite-deck@*)
+ ;;
+ *)
+ echo "AeroCore OS only supports bazzite-deck BASE_IMAGE values for HTPC game-mode builds: ${BASE_IMAGE:-<unset>}" >&2
+ exit 1
+ ;;
+esac
+
# Copy the contents of system_files/ of the git repo to /
cp -avf "/ctx/system_files"/. /
@@ -32,3 +41,6 @@ if [[ -n "${HOMEBREW_API_DOMAIN:-}" ]]; then
fi
find /etc/environment.d /etc/skel/.config/environment.d -name 99-aerocore-mirrors.conf -type f -exec chmod 0644 {} + 2>/dev/null || true
+
+/ctx/install-instruments.sh
+/ctx/patch-bazzite-deck-identity.sh