From 9dc37e568f933573ebe8b61c318f87f2f3c25cc9 Mon Sep 17 00:00:00 2001 From: Cyrus Lien Date: Fri, 25 Apr 2025 18:19:34 +0200 Subject: [PATCH 1/2] Adding a initramfs-tools script to mount the efivarfs during the initramfs boot phase (Closes: #1003352, #1103762; LP: #1993541). Signed-off-by: Daniel Baumann --- .../init-top/00_mount_efivarfs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 debian/local/initramfs-tools/init-top/00_mount_efivarfs diff --git a/debian/local/initramfs-tools/init-top/00_mount_efivarfs b/debian/local/initramfs-tools/init-top/00_mount_efivarfs new file mode 100755 index 0000000..fa56bdb --- /dev/null +++ b/debian/local/initramfs-tools/init-top/00_mount_efivarfs @@ -0,0 +1,19 @@ +#!/bin/sh + +PREREQ="" +prereqs() +{ + echo "$PREREQ" +} +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +# shellcheck disable=SC2013 +if [ -d /sys/firmware/efi/efivars ]; then + mount -t efivarfs -o rw,nosuid,nodev,noexec,relatime efivarfs /sys/firmware/efi/efivars +fi From 1b5e5cfb7b5be04a9d8f31398b831eae7cc31e54 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 25 Apr 2025 18:24:23 +0200 Subject: [PATCH 2/2] Releasing debian version 4.4-11. Signed-off-by: Daniel Baumann --- debian/changelog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index bbd176d..caf2183 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +mdadm (4.4-11) sid; urgency=medium + + [ Daniel Baumann ] + * Harmonizing watch file. + + [ Cyrus Lien ] + * Adding a initramfs-tools script to mount the efivarfs during the + initramfs boot phase (Closes: #1003352, #1103762; LP: #1993541). + + -- Daniel Baumann Fri, 25 Apr 2025 18:24:19 +0200 + mdadm (4.4-10) sid; urgency=medium * Simplifying watch file to make it actually work.