diff options
Diffstat (limited to 'unified-kernel-image-hooks.install')
-rw-r--r-- | unified-kernel-image-hooks.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/unified-kernel-image-hooks.install b/unified-kernel-image-hooks.install new file mode 100644 index 000000000000..6895d2fb4b27 --- /dev/null +++ b/unified-kernel-image-hooks.install @@ -0,0 +1,11 @@ +## arg 1: the new package version +post_install() { + cat <<'EOF' +1. Enable the service: + systemctl enable unified-kernel-image-backup.service +2. Add the UEFI entry: + (example command; replace --disk, --part, --label, and --loader as required): + efibootmgr -v --create --disk /dev/sda --part 1 --label 'Arch Linux (last booted kernel)' --loader '\EFI\ARCH\linux-x64-last.efi' +3. Reboot to create the entry, or run /usr/libexec/unified-kernel-image-hooks/unified-kernel-image-backup.sh +EOF +} |