fix some issues
This commit is contained in:
parent
903d8d214d
commit
72d0f685bb
@ -3,6 +3,7 @@
|
|||||||
# Clear fstab
|
# Clear fstab
|
||||||
touch /etc/fstab
|
touch /etc/fstab
|
||||||
# Generate fstab entries
|
# Generate fstab entries
|
||||||
|
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 > /etc/fstab
|
genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom > /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 remove casper -y
|
||||||
|
@ -239,7 +239,7 @@ if root_uuid != home_uuid and args.manual is None :
|
|||||||
if args.manual is not None and args.manual[0] == "2":
|
if args.manual is not None and args.manual[0] == "2":
|
||||||
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-crypt.txt'])
|
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-crypt.txt'])
|
||||||
CRYPTTAB_MANUAL_FILE_PATH = '/var/albius-crypttab-manual.sh'
|
CRYPTTAB_MANUAL_FILE_PATH = '/var/albius-crypttab-manual.sh'
|
||||||
CHROOT_CRYPTTAB_MANUAL_FILE_PATH = CHROOT_PATH+CRYPTTAB_MANUAL_FILE_PATH
|
CHROOT_CRYPTTAB_MANUAL_FILE_PATH = CRYPTTAB_MANUAL_FILE_PATH
|
||||||
silentremove(CHROOT_CRYPTTAB_MANUAL_FILE_PATH)
|
silentremove(CHROOT_CRYPTTAB_MANUAL_FILE_PATH)
|
||||||
print("writing to:")
|
print("writing to:")
|
||||||
print(CHROOT_CRYPTTAB_MANUAL_FILE_PATH)
|
print(CHROOT_CRYPTTAB_MANUAL_FILE_PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user