aboutsummaryrefslogtreecommitdiff
path: root/efibootmgr/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /efibootmgr/abuild
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'efibootmgr/abuild')
-rw-r--r--efibootmgr/abuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/efibootmgr/abuild b/efibootmgr/abuild
new file mode 100644
index 00000000..5a2c96ec
--- /dev/null
+++ b/efibootmgr/abuild
@@ -0,0 +1,12 @@
+name=efibootmgr
+version=18
+release=1
+source="https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz"
+export CFLAGS="${CFLAGS} -Wno-error=pointer-sign"
+
+build() {
+ sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c
+ EFIDIR=/boot/efi make
+ install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
+ install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
+}