systemd/debian/extra/kernel/postinst.d/zz-systemd-boot
наб 1016a4e221
debian/extra/kernel/postinst.d/systemd-boot: prefix with zz-
Since we explicitly (though this is hidden by indirection through
85-initrd.install) depend on /boot/initrd.img-$1
existing or not existing, hard-order ourselves at the end

The zz- prefix matches grub
2022-09-21 04:03:27 +02:00

12 lines
180 B
Bash
Executable File

#!/bin/sh
set -e
test -x /usr/bin/bootctl || exit 0
bootctl is-installed --quiet || exit 0
echo "Installing kernel version $1 in systemd-boot..."
kernel-install add "$1" "$2"