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

15 lines
450 B
Bash

4 years ago
rm -fv crystal-live-*.iso
WORKDIR=$(mktemp -d)
# idk if this would've happened automatically?
cp pear/pacman.conf pear/airootfs/etc/.
cp pear/packages.x86_64 pear/airootfs/etc/packages.x86_64
cp /etc/pacman.d/mirrorlist pear/airootfs/etc/pacman.d/.
echo "Built on $(date +"%D @ %T EST")" > pear/airootfs/etc/buildstamp
4 years ago
time sudo ./mkarchiso -v -w $WORKDIR -o . crystal
sudo rm -rf $WORKDIR
if [[ "$1" == "docker" ]]; then
cp *.iso /output/.
fi