Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaemon Coder <11915375+codefiles@users.noreply.github.com>2023-05-07 02:41:50 -0400
committerGitHub <noreply@github.com>2023-05-07 08:41:50 +0200
commit232939e910433ceb2c426a3de224587473c03182 (patch)
treec7720578abad21849f4b19b87c08bc488bb67dc5
parentc0a7d45a83a8a6a8a7497362364d899a7ae8843d (diff)
Refactor `build_iso.sh` added packages (#1797)
-rwxr-xr-xbuild_iso.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/build_iso.sh b/build_iso.sh
index 74e815ee..c63c20d4 100755
--- a/build_iso.sh
+++ b/build_iso.sh
@@ -2,6 +2,18 @@
zprofile="/tmp/archlive/airootfs/root/.zprofile"
+# Packages to add to the archiso profile packages
+packages=(
+ git
+ python
+ python-pip
+ python-build
+ python-flit
+ python-setuptools
+ python-wheel
+ python-pyparted
+)
+
mkdir -p /tmp/archlive/airootfs/root/archinstall-git
cp -r . /tmp/archlive/airootfs/root/archinstall-git
@@ -23,7 +35,10 @@ pacman --noconfirm -S git archiso
cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
-echo -e "git\npython\npython-pip\npython-build\npython-flit\npython-setuptools\npython-wheel\npython-pyparted" >> /tmp/archlive/packages.x86_64
+# Add packages to the archiso profile packages
+for package in "${packages[@]}"; do
+ echo "$package" >> /tmp/archlive/packages.x86_64
+done
find /tmp/archlive
cd /tmp/archlive