Compare commits

...

3 Commits

Author SHA1 Message Date
Jonathan Carter 291444b863 New upstream release 2023-05-04 21:32:27 +02:00
Jonathan Carter 64a2ef74ec os-prober / grub stuff 2023-05-04 20:42:44 +02:00
Jonathan Carter c14e3710e8 New upstream release 2023-03-06 19:26:38 +02:00
5 changed files with 77 additions and 9 deletions
+23
View File
@@ -1,3 +1,26 @@
[ 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
[ 12.0.7 ]
* Enable os-prober /after/ grub has been installed.
[ 12.0.6 ]
* Enable os-prober
[ 12.0.5 ]
* Update sources.list to include non-free-firmware and backports
[ 12.0.4 ]
* Update artwork for Debian 12 (emerald theme)
+34
View File
@@ -1,3 +1,37 @@
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
- Make grub changes in the correct place (within the chroot)
-- Jonathan Carter <jcc@debian.org> Wed, 26 Apr 2023 14:25:34 +0200
calamares-settings-debian (12.0.7-1) unstable; urgency=medium
* New upstream release
- Re-enable os-prober
-- Jonathan Carter <jcc@debian.org> Wed, 26 Apr 2023 13:43:01 +0200
calamares-settings-debian (12.0.5-2) unstable; urgency=medium
* Depend on pkexec (Closes: #1033930)
-- Jonathan Carter <jcc@debian.org> Tue, 04 Apr 2023 09:51:03 +0200
calamares-settings-debian (12.0.5-1) unstable; urgency=medium
* New upstream release
- Update sources.list to include backports and non-free-firmware
-- Jonathan Carter <jcc@debian.org> Mon, 06 Mar 2023 19:24:55 +0200
calamares-settings-debian (12.0.4-1) unstable; urgency=medium
* New upstream release
+1
View File
@@ -14,6 +14,7 @@ Architecture: all
Depends: calamares,
cryptsetup,
keyutils,
pkexec,
qml-module-qtquick-window2,
qml-module-qtquick2,
${misc:Depends}
+9 -3
View File
@@ -2,20 +2,26 @@
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:
sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Debian Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" $CHROOT/etc/default/grub
chroot $CHROOT /usr/sbin/update-grub
+10 -6
View File
@@ -8,14 +8,18 @@ RELEASE="bookworm"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian $RELEASE main
deb-src http://deb.debian.org/debian $RELEASE main
deb http://deb.debian.org/debian $RELEASE main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
deb http://deb.debian.org/debian $RELEASE-updates main
deb-src http://deb.debian.org/debian $RELEASE-updates main
deb http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb http://security.debian.org/debian-security/ $RELEASE-security main
deb-src http://security.debian.org/debian-security/ $RELEASE-security main
deb http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
EOF
exit 0