From 4b486683b494fbfc8c31a75b552abd1f085a79c4 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 4 Oct 2021 20:42:01 +0200 Subject: [PATCH] add bootmessage for latest image --- etc/archboot/x86_64-latest.conf | 2 +- usr/bin/archboot-x86_64-iso.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/archboot/x86_64-latest.conf b/etc/archboot/x86_64-latest.conf index f4879b9ea..46d50dc5e 100644 --- a/etc/archboot/x86_64-latest.conf +++ b/etc/archboot/x86_64-latest.conf @@ -10,7 +10,7 @@ FILES=() # SETUP # # Please change the hooks only if you know what you are doing. -HOOKS=(udev archboot_base archboot_latest_installer archboot_net archboot_kexec archboot_licenses net) +HOOKS=(udev archboot_base archboot_bootmessage_x86_64 archboot_latest_installer archboot_net archboot_kexec archboot_licenses net) # COMPRESSION # Use this to compress the initramfs image. By default, gzip compression diff --git a/usr/bin/archboot-x86_64-iso.sh b/usr/bin/archboot-x86_64-iso.sh index 32ec731af..000762f9c 100755 --- a/usr/bin/archboot-x86_64-iso.sh +++ b/usr/bin/archboot-x86_64-iso.sh @@ -52,6 +52,7 @@ if ! [[ ${UID} -eq 0 ]]; then exit 1 fi + # from initcpio functions kver() { # this is intentionally very loose. only ensure that we're