index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daemon Coder <11915375+codefiles@users.noreply.github.com> | 2023-05-07 04:16:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 10:16:52 +0200 |
commit | dc19d5f0fa8283f6bdb954987f282a44fcb197a1 (patch) | |
tree | 7e34a9f471cfed540c3016200e9a1d62798327f4 | |
parent | c10acfa5aeda44db9393fbbbf75356c0ff411e43 (diff) |
-rwxr-xr-x | build_iso.sh | 7 |
diff --git a/build_iso.sh b/build_iso.sh index df57b723..073a5459 100755 --- a/build_iso.sh +++ b/build_iso.sh @@ -1,5 +1,7 @@ #!/bin/bash +packages_file="/tmp/archlive/packages.x86_64" + # Packages to add to the archiso profile packages packages=( git @@ -16,7 +18,6 @@ mkdir -p /tmp/archlive/airootfs/root/archinstall-git cp -r . /tmp/archlive/airootfs/root/archinstall-git cat <<- _EOF_ | tee /tmp/archlive/airootfs/root/.zprofile - pip uninstall archinstall -y cd archinstall-git rm -rf dist @@ -33,9 +34,11 @@ pacman --noconfirm -S git archiso cp -r /usr/share/archiso/configs/releng/* /tmp/archlive +sed -i /archinstall/d $packages_file + # Add packages to the archiso profile packages for package in "${packages[@]}"; do - echo "$package" >> /tmp/archlive/packages.x86_64 + echo "$package" >> $packages_file done find /tmp/archlive |