From 5126b01cf0d79664f58f569e566df03d32d69916 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 fix binutils 2.38+ for aarch64 --- srcpkgs/refind/files/kernel.post-install | 11 +++++++---- srcpkgs/refind/files/refind-kernel-hook.conf | 8 +++++++- ...ompile-support-and-fix-binutils-aarch64.patch} | 15 ++++++++++++++- srcpkgs/refind/template | 3 +-- 4 files changed, 29 insertions(+), 8 deletions(-) rename srcpkgs/refind/patches/{add-cross-compile-support.patch => add-cross-compile-support-and-fix-binutils-aarch64.patch} (75%) 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 <