]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
efibootmgr: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Sep 2023 11:56:08 +0000 (11:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Sep 2023 11:56:08 +0000 (11:56 +0000)
This is required by GRUB on EFI systems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
efibootmgr/efibootmgr.nm [new file with mode: 0644]

diff --git a/efibootmgr/efibootmgr.nm b/efibootmgr/efibootmgr.nm
new file mode 100644 (file)
index 0000000..9d06ad7
--- /dev/null
@@ -0,0 +1,41 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = efibootmgr
+version    = 18
+release    = 1
+
+groups     = System/Bootloaders
+url        = https://github.com/rhboot/efibootmgr/
+license    = GPLv2
+summary    = Linux user-space application to modify the EFI Boot Manager
+
+description
+       This is efibootmgr, a Linux user-space application to modify the
+       Intel Extensible Firmware Interface (EFI) Boot Manager. This
+       application can create and destroy boot entries, change the boot
+       order, change the next running boot option, and more.
+end
+
+source_dl  = https://github.com/rhboot/efibootmgr/releases/download/%{version}/
+sources    = %{thisapp}.tar.bz2
+
+build
+       requires
+               efivar-devel
+               pkgconfig
+               popt-devel
+       end
+
+       export EFIDIR=%{DISTRO_SNAME}
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end