From db0f004f3f5f33ef46a38766ad1a445f39b06110 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 10 May 2024 04:01:24 -0700 Subject: [PATCH] patch: sbctl (#1023) (#1247) * add sbctl * Fix issue with kernel-install script --------- Signed-off-by: Cappy Ishihara (cherry picked from commit 343676175ec48301ba2c63511256dfd78d0077df) Co-authored-by: Cappy Ishihara --- anda/tools/sbctl/sbctl.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/anda/tools/sbctl/sbctl.spec b/anda/tools/sbctl/sbctl.spec index 79c89b169c..5a8cecae40 100644 --- a/anda/tools/sbctl/sbctl.spec +++ b/anda/tools/sbctl/sbctl.spec @@ -7,6 +7,10 @@ License: MIT URL: https://github.com/Foxboron/sbctl Source0: https://github.com/Foxboron/sbctl/releases/download/%{version}/sbctl-%{version}.tar.gz +# Fixes https://github.com/Foxboron/sbctl/issues/293, allowing kernel-install to work properly with Fedora +Patch1: https://patch-diff.githubusercontent.com/raw/Foxboron/sbctl/pull/294.patch + + ExclusiveArch: %{golang_arches} Requires: binutils @@ -25,7 +29,8 @@ needs to be signed in the boot chain. %prep -%setup -q +%autosetup -p1 + sed -i '/go build/d' Makefile