summaryrefslogtreecommitdiffstats
path: root/debian/extra/kernel/postinst.d/zz-systemd-boot
blob: 8901140645ba4c5ce2c78d51a5c29b1b6b820ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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"