love when git doesn't actually remove a file
parent
e50943ecdb
commit
0ee5a5b4e7
@ -1,18 +0,0 @@
|
|||||||
rm -fv *.iso
|
|
||||||
|
|
||||||
if [[ "$1" == "" ]]; then
|
|
||||||
WORKDIR=$(mktemp -d)
|
|
||||||
else
|
|
||||||
WORKDIR="$1"
|
|
||||||
if [[ ! -d "$WORKDIR" ]]; then
|
|
||||||
mkdir -p "$WORKDIR"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# idk if this would've happened automatically?
|
|
||||||
cp crystal/pacman.conf crystal/airootfs/etc/.
|
|
||||||
cp crystal/packages.x86_64 crystal/airootfs/etc/packages.x86_64
|
|
||||||
cp /etc/pacman.d/mirrorlist crystal/airootfs/etc/pacman.d/.
|
|
||||||
echo "Built on $(date +"%D @ %T EST")" > crystal/airootfs/etc/buildstamp
|
|
||||||
time sudo ./mkarchiso -v -w $WORKDIR -o . crystal
|
|
||||||
sudo rm -rf $WORKDIR
|
|
Loading…
Reference in New Issue