Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh
This commit is contained in:
parent
1fbe13d566
commit
acb9ebb754
@ -6,7 +6,6 @@ touch /etc/fstab
|
|||||||
dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup
|
dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup
|
||||||
genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom | grep -v swap > /etc/fstab
|
genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom | grep -v swap > /etc/fstab
|
||||||
# Remove packages that are only needed for the live session
|
# Remove packages that are only needed for the live session
|
||||||
apt remove casper -y
|
|
||||||
apt autoremove -y
|
apt autoremove -y
|
||||||
# Setup Crypttab if needed
|
# Setup Crypttab if needed
|
||||||
if [ -f /var/albius-crypttab-root.sh ]
|
if [ -f /var/albius-crypttab-root.sh ]
|
||||||
@ -33,17 +32,12 @@ apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/arc
|
|||||||
mkdir -p /boot/efi/EFI/BOOT
|
mkdir -p /boot/efi/EFI/BOOT
|
||||||
cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
|
cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
|
||||||
# Remove installer from installed system
|
# Remove installer from installed system
|
||||||
apt remove casper pika-installer-gtk4 -y || true
|
apt remove live-boot pika-installer-gtk4 -y || true
|
||||||
apt autoremove -y || true
|
apt autoremove -y || true
|
||||||
# Create first setup user
|
# Create first setup user
|
||||||
useradd -m -k -U pikaos || true
|
useradd -m -k -U pikaos || true
|
||||||
echo pikaos:pikaos | chpasswd || true
|
echo pikaos:pikaos | chpasswd || true
|
||||||
usermod -a -G sudo pikaos || true
|
usermod -a -G sudo pikaos || true
|
||||||
usermod -a -G lpadmin pikaos || true
|
|
||||||
mkdir -p /etc/gdm3 || true
|
|
||||||
mkdir -p /etc/sddm.conf.d/ || true
|
|
||||||
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf || true
|
|
||||||
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true
|
|
||||||
mkdir -p /home/pikaos || true
|
mkdir -p /home/pikaos || true
|
||||||
cp -rvf /etc/skel/.* /home/pikaos/ || true
|
cp -rvf /etc/skel/.* /home/pikaos/ || true
|
||||||
mkdir -p /home/pikaos/.config/autostart || true
|
mkdir -p /home/pikaos/.config/autostart || true
|
||||||
|
Loading…
Reference in New Issue
Block a user