From 0f9e81b626def882f4b0e7a0ac16f8bae9f72540 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 +++++++- .../patches/add-cross-compile-support.patch | 15 ++++++++++++++- srcpkgs/refind/template | 3 +-- 4 files changed, 29 insertions(+), 8 deletions(-) diff --git a/srcpkgs/refind/files/kernel.post-install b/srcpkgs/refind/files/kernel.post-install index fd18f9c45ffe07..6262cecf5f445e 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 <