From 11c917a0a353e4dfde7d940ef4fcdebca1be900f Mon Sep 17 00:00:00 2001 From: Mateusz Sylwestrzak Date: Sat, 24 Feb 2024 01:53:23 +0100 Subject: [PATCH] refind: add BOOT_PREFIX and LABEL for misc setups --- srcpkgs/refind/files/kernel.post-install | 11 +++++++---- srcpkgs/refind/files/refind-kernel-hook.conf | 8 +++++++- srcpkgs/refind/template | 3 +-- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/srcpkgs/refind/files/kernel.post-install b/srcpkgs/refind/files/kernel.post-install index fd18f9c45ffe07..0a31aa747fe563 100755 --- a/srcpkgs/refind/files/kernel.post-install +++ b/srcpkgs/refind/files/kernel.post-install @@ -20,14 +20,17 @@ touch "$REFIND_CONF" tmpfile=$(mktemp /tmp/refind.XXXXXXX) +: ${REFIND_LABEL:="Void Linux"} +: ${REFIND_BOOT_PREFIX:=""} + zversion=$(echo "$VERSION" | sed 's/[.]/[.]/g') zentry=$(cat <