From df40b1b27b87dec0d0bc9d623d0feea8b98e4f23 Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 20 Feb 2022 14:39:18 +0100 Subject: [PATCH] more cryptsetup packages --- entry.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entry.sh b/entry.sh index 265bc63..2bebd08 100755 --- a/entry.sh +++ b/entry.sh @@ -136,7 +136,7 @@ function first_stage(){ genfstab -U $TARGET | tee $TARGET/etc/fstab UUID=$(lsblk -lpo NAME,UUID | grep ${DEVICE}2 | awk '{print $2}') - echo cryptlvm UUID=${UUID} none luks > $TARGET/etc/crypttab + echo cryptlvm UUID=${UUID} none luks,initramfs > $TARGET/etc/crypttab } function second_stage(){ @@ -152,10 +152,10 @@ function second_stage(){ hostname $NEW_HOSTNAME sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list apt update - apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh intel-microcode + apt install -y linux-image-amd64 grub2 cryptsetup cryptsetup-initramfs cryptsetup-suspend btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh intel-microcode grub-install ${DEVICE} update-grub - update-initramfs -u + update-initramfs -k all -u mkdir /snap btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem) apt install -y task-mate-desktop mate-desktop-environment-extra