From 232939e910433ceb2c426a3de224587473c03182 Mon Sep 17 00:00:00 2001 From: Daemon Coder <11915375+codefiles@users.noreply.github.com> Date: Sun, 7 May 2023 02:41:50 -0400 Subject: Refactor `build_iso.sh` added packages (#1797) --- build_iso.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'build_iso.sh') 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 -- cgit v1.2.3-70-g09d2