This commit is contained in:
teldra 2021-08-18 13:26:48 +02:00
parent d8473e2be0
commit ced46379b6
2 changed files with 2 additions and 1 deletions

View File

@ -159,6 +159,7 @@ fi
for dir in dev proc sys run; do mkdir -p "${dest}"/$dir ; mount --rbind /$dir "${dest}"/$dir ; mount --make-rslave "${dest}"/$dir ; done
setconf add partuuid "$(blkid -o value -s UUID ${target_partition_tmp})"
setconf add efiuuid "$(blkid -o value -s UUID ${efipart})"
[[ "${cfg[fde_key_store]}" == "once" ]] && setconf "add" "bootuuid" "$(blkid -o value -s UUID ${target_boot})"
setconf add swapuuid "$(blkid -o value -s UUID /dev/mapper/voidvg.${diskid}-swap)"

View File

@ -103,7 +103,7 @@ if [[ "${cfg[fde_key_store]}" == "once" ]]; then
echo "UUID=${cfg[bootuuid]} /var/lib/backup/quelle/bootfs btrfs defaults 0 0"; } >> /etc/fstab
fi
if test -d /sys/firmware/efi; then
echo "${efipart} /boot/efi vfat defaults 0 0" >> /etc/fstab
echo "UUID=${cfg[efiuuid]} /boot/efi vfat defaults 0 0" >> /etc/fstab
fi
echo "${cfg[hostname]}" > /etc/hostname