From 5e45c32c5b195d33e30ff142e9d6f93de69f588a Mon Sep 17 00:00:00 2001 From: Adam Eehan Date: Wed, 28 Oct 2026 13:28:55 +0530 Subject: [PATCH] feat(iso): pre-install AiraLang S1 Duo native engine into Airlys OS system bin (/usr/bin/airalang) --- .github/workflows/build.yml | 13 ++++++++++++- profile/profiledef.sh | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index faad2d0..81d753d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: pacman-key --init pacman-key --populate archlinux pacman -Sy --noconfirm archlinux-keyring - pacman -Syu --noconfirm archiso git github-cli + pacman -Syu --noconfirm archiso git github-cli clang make - name: Build Airlys OS S1 Live ISO run: | @@ -62,6 +62,17 @@ jobs: # 6. Overlay our Airlys OS S1 branding, wallpapers, autologin and configs cp -r profile/airootfs/* build_profile/airootfs/ + # 6.1. Build & pre-install AiraLang S1 Duo Native Systems Engine into Airlys OS + echo "Building AiraLang S1 Duo Native Engine for Airlys OS..." + git clone --depth 1 https://github.com/adameehanairagroup/Airalang.git /tmp/airalang-build + cd /tmp/airalang-build/s1duo + make + mkdir -p "$GITHUB_WORKSPACE/build_profile/airootfs/usr/bin" + cp bin/airalang "$GITHUB_WORKSPACE/build_profile/airootfs/usr/bin/airalang" + cp bin/airalang "$GITHUB_WORKSPACE/build_profile/airootfs/usr/bin/airalang3" + chmod 755 "$GITHUB_WORKSPACE/build_profile/airootfs/usr/bin/airalang" "$GITHUB_WORKSPACE/build_profile/airootfs/usr/bin/airalang3" + cd "$GITHUB_WORKSPACE" + # 7. Pre-create airlys user with passwordless PAM autologin directly in airootfs echo "airlys:x:1000:1000:Airlys User:/home/airlys:/bin/bash" >> build_profile/airootfs/etc/passwd echo "airlys::19000:0:99999:7:::" >> build_profile/airootfs/etc/shadow diff --git a/profile/profiledef.sh b/profile/profiledef.sh index 55a293d..2e75e8e 100644 --- a/profile/profiledef.sh +++ b/profile/profiledef.sh @@ -20,5 +20,7 @@ file_permissions=( ["/etc/pam.d/sddm-autologin"]="0:0:644" ["/etc/sudoers.d/airlys"]="0:0:440" ["/usr/local/bin/airlys-firstrun.sh"]="0:0:755" + ["/usr/bin/airalang"]="0:0:755" + ["/usr/bin/airalang3"]="0:0:755" ["/root"]="0:0:750" )