1 include $(TOPDIR
)/rules.mk
8 PKG_SOURCE_URL
:=https
://github.com
/rhboot
/efibootmgr.git
9 PKG_SOURCE_DATE
:=2022-11-12
10 PKG_SOURCE_VERSION
:=1904f9cd5a48207d49e393ac8de824f54ccfb697
11 PKG_MIRROR_HASH
:=0355e00bb54d468ecbaa106aa703dd389f2f2f4c7b7afb78a258cec10d75f78d
13 PKG_LICENSE
:=GPL-2.0
-only
14 PKG_LICENSE_FILES
:=COPYING
15 PKG_MAINTAINER
:=OSkari Rauta
<oskari.rauta@gmail.com
>
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/efibootmgr
25 TITLE
:=Application to modify the EFI Boot Manager
26 DEPENDS
:=@
(TARGET_x86_64||TARGET_armsr_armv8
) +efivar
+libpopt
27 URL
:=https
://github.com
/rhboot
/efibootmgr
30 define Package
/efibootmgr
/description
31 This is efibootmgr
, a Linux user-space application to modify the
32 Intel Extensible Firmware Interface
(EFI
) Boot Manager.
33 This application can create and destroy boot entries
, change
34 the boot order
, change the next running boot option
, and more.
36 Details on the EFI Boot Manager are available from the
37 EFI Specification
, v1.02 or above
, available from
:
40 Note
: efibootmgr requires either the efivarfs or the legacy
41 efivars kernel module to be loaded prior to use.
46 PCDIR
="$(STAGING_DIR)/usr/lib/pkgconfig" \
47 EXTRAINCDIR
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/efivar" \
48 EXTRALIBDIR
="-L$(STAGING_DIR)/usr/lib"
50 define Package
/efibootmgr
/install
51 $(INSTALL_DIR
) $(1)/usr
/sbin
52 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/{efibootdump
,efibootmgr
} $(1)/usr
/sbin
/
55 $(eval
$(call BuildPackage
,efibootmgr
))