Package: systemd Version: 232-6 Severity: normal Hi!
The attached patch fixes a bug which causes "kernel-install remove" to fail; please review. Best regards Alexander Kurtz
From c09b346dab9944df904e6146b43392886edf47f4 Mon Sep 17 00:00:00 2001 From: Alexander Kurtz <alexan...@kurtz.be> Date: Sun, 27 Nov 2016 13:39:53 +0100 Subject: [PATCH] debian/extra/kernel-install.d/85-initrd.install: Remove an unnecessary variable. When removing, kernel-install calls its plugins with only three arguments [0] (in contrast to adding where it's four arguments). Since we are running with "set -u", trying to expand the fourth argument causes the script to fail. However, as the $KERNEL_IMAGE variable is never used, we can simply remove it. [0] https://github.com/systemd/systemd/blob/v232/src/kernel-install/kernel-install#L140 --- debian/extra/kernel-install.d/85-initrd.install | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/extra/kernel-install.d/85-initrd.install b/debian/extra/kernel-install.d/85-initrd.install index 7f8888e..ee6974d 100755 --- a/debian/extra/kernel-install.d/85-initrd.install +++ b/debian/extra/kernel-install.d/85-initrd.install @@ -6,7 +6,6 @@ set -eu COMMAND="$1" KERNEL_VERSION="$2" BOOT_DIR_ABS="$3" -KERNEL_IMAGE="$4" INITRD_SRC="/boot/initrd.img-$KERNEL_VERSION" INITRD_DEST="$BOOT_DIR_ABS/initrd" -- 2.10.2
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers