From fad46a0b891bb10264a919afb6fb31ec3d714c68 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 16:01:37 +0200 Subject: Adding debian version 102-1. Signed-off-by: Daniel Baumann --- debian/patches/debian-initramfs-post-update.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/patches/debian-initramfs-post-update.patch (limited to 'debian/patches/debian-initramfs-post-update.patch') diff --git a/debian/patches/debian-initramfs-post-update.patch b/debian/patches/debian-initramfs-post-update.patch new file mode 100644 index 0000000..e2b5da8 --- /dev/null +++ b/debian/patches/debian-initramfs-post-update.patch @@ -0,0 +1,22 @@ +Description: Run bootloader hooks from /etc/initramfs/post-update.d after making + the image, and add $NO_POST_UPDATE_HOOKS to disable this + . + See +Author: наб +Bug-Debian: https://bugs.debian.org/753752 +Forwarded: not-needed +Last-Update: 2022-11-17 + +--- a/dracut.sh ++++ b/dracut.sh +@@ -2685,4 +2685,10 @@ + fi + fi + ++# Invoke policy-conformant bootloader hooks ++if [ -z "$NO_POST_UPDATE_HOOKS" ] && [ -d /etc/initramfs/post-update.d/ ]; then ++ run-parts --arg="${kernel}" --arg="${outfile}" \ ++ /etc/initramfs/post-update.d/ ++fi ++ + exit 0 -- cgit v1.2.3