mirror of
https://git.proxmox.com/git/systemd
synced 2025-12-26 23:40:25 +00:00
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
12 lines
180 B
Bash
Executable File
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"
|