fix some issues

This commit is contained in:
Ward from fusion-voyager-3 2024-02-17 21:16:44 +03:00
parent 903d8d214d
commit 72d0f685bb
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
# Clear fstab
touch /etc/fstab
# 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
# Remove packages that are only needed for the live session
apt remove casper -y

View File

@ -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":
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-crypt.txt'])
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)
print("writing to:")
print(CHROOT_CRYPTTAB_MANUAL_FILE_PATH)