main
Michal 2 years ago
parent d43627e766
commit b4d1d4fca2
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

7
.gitignore vendored

@ -1,8 +1,3 @@
*.iso
*.tar.gz
sysroot/
sysroot.*
crystal/pacman.conf
crystal/airootfs/etc/pacman.conf
repo/
chrooted.sh
crystal/airootfs/etc/buildstamp

@ -10,10 +10,6 @@ else
fi
fi
# Copy pacman config to the airootfs
cp crystal/pacman.conf crystal/.
cp crystal/packages.x86_64 crystal/.
echo "Built on $(date +"%D @ %T EST")" > crystal/airootfs/etc/buildstamp
time sudo ./mkarchiso -v -w $WORKDIR -o . crystal

@ -0,0 +1,26 @@
#!/usr/bin/env bash
echo "Chrooted in the new system, running as $(whoami)"
# User setup
useradd -mG wheel crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root
chsh -s /usr/bin/zsh crystal
# Desktop icon for Jade's GUI
mkdir -p /home/crystal/Desktop
cp /usr/share/applications/Jade.desktop /home/crystal/Desktop/Install.desktop
chown -R crystal:crystal /home/crystal/
# Services
systemctl enable NetworkManager
systemctl enable reflector
systemctl enable gdm
systemctl enable jade-gui
# Hostname and Locale
echo "crystal-live" > /etc/hostname
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "Configured the system. Exiting chroot."

@ -1 +1 @@
Built on 07/29/22 @ 23:50:24 EST
Built on 07/30/22 @ 00:03:09 EST

@ -1 +0,0 @@
21/06/2022 - from now on commit to this file to trigger a build lol, think of it like a weird message board - michal
Loading…
Cancel
Save