Gnome branding tests
parent
048ffd098f
commit
e9e10af37d
@ -1,33 +1,10 @@
|
||||
rm -fv *.iso
|
||||
|
||||
prof="crystal"
|
||||
|
||||
if [[ "$1" == "" ]]; then
|
||||
printf "cli/gui : "
|
||||
read MODE
|
||||
else
|
||||
MODE="$1"
|
||||
fi
|
||||
|
||||
if [[ "$MODE" == "cli" ]]; then
|
||||
sed -i 's/gnome/#gnome/g' ${prof}/packages.x86_64
|
||||
sed -i 's/mesa/#mesa/g' ${prof}/packages.x86_64
|
||||
else
|
||||
sed -i 's/DISABLED/ENABLED/g' chrooted.sh
|
||||
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}
|
||||
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
|
||||
|
||||
if [[ "$MODE" == "cli" ]]; then
|
||||
sed -i 's/#gnome/gnome/g' ${prof}/packages.x86_64
|
||||
sed -i 's/#mesa/mesa/g' ${prof}/packages.x86_64
|
||||
else
|
||||
sed -i 's/ENABLED/DISABLED/g' chrooted.sh
|
||||
fi
|
@ -1 +1 @@
|
||||
Built on 05/08/21 @ 21:09:12 EST
|
||||
Built on 05/08/21 @ 22:45:29 EST
|
||||
|
Loading…
Reference in New Issue