Update pika-install-chroot.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-25 22:50:10 +03:00 committed by GitHub
parent 90119d3fd3
commit 84a039c6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#! /bin/bash #! /bin/bash
touch /etc/fstab touch /etc/fstab
genfstab -U / | grep -v zram | grep -v portal | grep -v loop > /etc/fstab genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom > /etc/fstab
apt remove casper -y apt remove casper -y
apt autoremove -y apt autoremove -y
if [ -f /var/albius-crypttab-root.sh ] if [ -f /var/albius-crypttab-root.sh ]
@ -32,4 +32,4 @@ 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
cp /usr/share/applications/pika-first-setup.desktop /home/pikaos/.config/autostart || true cp /usr/share/applications/pika-first-setup.desktop /home/pikaos/.config/autostart || true
chown -R pikaos:pikaos /home/pikaos || true chown -R pikaos:pikaos /home/pikaos || true