Compare commits

..

1 Commits

Author SHA1 Message Date
Jonathan Carter 291444b863 New upstream release 2023-05-04 21:32:27 +02:00
3 changed files with 21 additions and 5 deletions
+9 -2
View File
@@ -1,8 +1,15 @@
[ 10.0.8 ]
[ 12.0.9 ]
* Fix typos in version numbers for last two changelog entries
* Install cryptsetup-initramfs, cryptsetup and keyutils (only) when needed
(required due to these packages only now existing on package pool,
not on the squashfs filesystem)
[ 12.0.8 ]
* Do grub work within the chroot
[ 10.0.7 ]
[ 12.0.7 ]
* Enable os-prober /after/ grub has been installed.
+7
View File
@@ -1,3 +1,10 @@
calamares-settings-debian (12.0.9-1) unstable; urgency=medium
* New upstream release
- Deal with changes in how luks tools are installed from live media
-- Jonathan Carter <jcc@debian.org> Thu, 04 May 2023 20:47:17 +0200
calamares-settings-debian (12.0.8-1) unstable; urgency=medium
* New upstream release
+5 -3
View File
@@ -2,22 +2,24 @@
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
# Set secure permissions for the initramfs if we're configuring
# Install luks utilities if needed.
# Also, set secure permissions for the initramfs if we're configuring
# full-disk-encryption. The initramfs is re-generated later in the
# installation process so we only set the permissions snippet without
# regenerating the initramfs right now:
if [ "$(mount | grep $CHROOT" " | cut -c -16)" = "/dev/mapper/luks" ]; then
echo "UMASK=0077" > $CHROOT/etc/initramfs-tools/conf.d/initramfs-permissions
chroot $CHROOT apt-get -y install cryptsetup-initramfs cryptsetup keyutils
fi
echo "Running bootloader-config..."
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi (uefi)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-amd64 cryptsetup keyutils
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-amd64
else
echo " * install grub... (bios)"
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc cryptsetup keyutils
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi
# Re-enable os-prober: