Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build_iso.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_iso.sh')
-rwxr-xr-xbuild_iso.sh7
1 files changed, 5 insertions, 2 deletions
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