This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-21 13:46:38 +03:00 committed by GitHub
parent 6a603d1b5f
commit c17d0598f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
pikainstall (1.0.5-100pika6) pikauwu; urgency=medium pikainstall (1.0.5-100pika7) pikauwu; urgency=medium
* Initial release. * Initial release.

View File

@ -22,13 +22,13 @@ echo '"'Boot with safe graphics'"' '"'nvidia-drm.modeset=1 root=UUID={ROOT_PART
""" """
_CRYPTTAB_ROOT_SETUP_FILE = """#!/usr/bin/bash _CRYPTTAB_ROOT_SETUP_FILE = """#!/usr/bin/bash
cat /etc/crypttab
echo "crypt_root UUID={ROOT_PART_UUID} none luks,discard" > /etc/crypttab echo "crypt_root UUID={ROOT_PART_UUID} none luks,discard" > /etc/crypttab
cat /etc/crypttab
""" """
_CRYPTTAB_SETUP_FILE = """#!/usr/bin/bash _CRYPTTAB_SETUP_FILE = """#!/usr/bin/bash
cat /etc/crypttab
echo "crypt_home UUID={HOME_PART_UUID} /keyfile.txt luks" >> /etc/crypttab echo "crypt_home UUID={HOME_PART_UUID} /keyfile.txt luks" >> /etc/crypttab
cat /etc/crypttab
touch /keyfile.txt touch /keyfile.txt
openssl genrsa > /keyfile.txt openssl genrsa > /keyfile.txt
echo "{LUKS_PASSWD}" | cryptsetup luksAddKey UUID={HOME_PART_UUID} /keyfile.txt - echo "{LUKS_PASSWD}" | cryptsetup luksAddKey UUID={HOME_PART_UUID} /keyfile.txt -