feat(iso): pre-install AiraLang S1 Duo native engine into Airlys OS system bin (/usr/bin/airalang)
Build Airlys OS S1 Production ISO / Build Airlys OS S1 Live ISO (push) Waiting to run
Build Airlys OS S1 Production ISO / Build Airlys OS S1 Live ISO (push) Waiting to run
This commit is contained in:
1 parent
2ea9dfe496
commit
5e45c32c5b
2 files changed
+14
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
Reference in new issue
Block a user