You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iso/build_iso.sh

17 lines
479 B
Bash

rm -fv *.iso
if [[ "$1" == "" ]]; then
printf "Profile: "
read prof
else
prof=$1
fi
WORKDIR=$(mktemp -d)
# idk if this would've happened automatically?
cp ${prof}/pacman.conf ${prof}/airootfs/etc/.
cp ${prof}/packages.x86_64 ${prof}/airootfs/etc/packages.x86_64
cp /etc/pacman.d/mirrorlist ${prof}/airootfs/etc/pacman.d/.
echo "Built on $(date +"%D @ %T EST")" > ${prof}/airootfs/etc/buildstamp
time sudo ./mkarchiso -v -w $WORKDIR -o . ${prof}
sudo rm -rf $WORKDIR