mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
Add efibootmgr and efivar
These packages are required to manage EFI boot options Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
config/rootfiles/common/efibootmgr
Normal file
4
config/rootfiles/common/efibootmgr
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/sbin/efibootdump
|
||||
usr/sbin/efibootmgr
|
||||
#usr/share/man/man8/efibootdump.8
|
||||
#usr/share/man/man8/efibootmgr.8
|
||||
46
config/rootfiles/common/efivar
Normal file
46
config/rootfiles/common/efivar
Normal file
@@ -0,0 +1,46 @@
|
||||
usr/bin/efivar
|
||||
#usr/include/efivar
|
||||
#usr/include/efivar/efiboot-creator.h
|
||||
#usr/include/efivar/efiboot-loadopt.h
|
||||
#usr/include/efivar/efiboot.h
|
||||
#usr/include/efivar/efivar-dp.h
|
||||
#usr/include/efivar/efivar-guids.h
|
||||
#usr/include/efivar/efivar.h
|
||||
#usr/lib/libefiboot.so
|
||||
usr/lib/libefiboot.so.1
|
||||
usr/lib/libefiboot.so.1.35
|
||||
#usr/lib/libefivar.so
|
||||
usr/lib/libefivar.so.1
|
||||
usr/lib/libefivar.so.1.35
|
||||
#usr/lib/pkgconfig/efiboot.pc
|
||||
#usr/lib/pkgconfig/efivar.pc
|
||||
#usr/share/man/man1/efivar.1
|
||||
#usr/share/man/man3/efi_append_variable.3
|
||||
#usr/share/man/man3/efi_del_variable.3
|
||||
#usr/share/man/man3/efi_get_next_variable_name.3
|
||||
#usr/share/man/man3/efi_get_variable.3
|
||||
#usr/share/man/man3/efi_get_variable_attributes.3
|
||||
#usr/share/man/man3/efi_get_variable_size.3
|
||||
#usr/share/man/man3/efi_guid_to_id_guid.3
|
||||
#usr/share/man/man3/efi_guid_to_name.3
|
||||
#usr/share/man/man3/efi_guid_to_str.3
|
||||
#usr/share/man/man3/efi_guid_to_symbol.3
|
||||
#usr/share/man/man3/efi_name_to_guid.3
|
||||
#usr/share/man/man3/efi_set_variable.3
|
||||
#usr/share/man/man3/efi_str_to_guid.3
|
||||
#usr/share/man/man3/efi_symbol_to_guid.3
|
||||
#usr/share/man/man3/efi_variable_alloc.3
|
||||
#usr/share/man/man3/efi_variable_export.3
|
||||
#usr/share/man/man3/efi_variable_free.3
|
||||
#usr/share/man/man3/efi_variable_get_attributes.3
|
||||
#usr/share/man/man3/efi_variable_get_data.3
|
||||
#usr/share/man/man3/efi_variable_get_guid.3
|
||||
#usr/share/man/man3/efi_variable_get_name.3
|
||||
#usr/share/man/man3/efi_variable_import.3
|
||||
#usr/share/man/man3/efi_variable_realize.3
|
||||
#usr/share/man/man3/efi_variable_set_attributes.3
|
||||
#usr/share/man/man3/efi_variable_set_data.3
|
||||
#usr/share/man/man3/efi_variable_set_guid.3
|
||||
#usr/share/man/man3/efi_variable_set_name.3
|
||||
#usr/share/man/man3/efi_variable_t.3
|
||||
#usr/share/man/man3/efi_variables_supported.3
|
||||
79
lfs/efibootmgr
Normal file
79
lfs/efibootmgr
Normal file
@@ -0,0 +1,79 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 16
|
||||
|
||||
THISAPP = efibootmgr-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = ab7cf46774fda951a0e8a40beb65a90e
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
|
||||
EFIDIR=$(SNAME) $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install EFIDIR=$(SNAME)
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
78
lfs/efivar
Normal file
78
lfs/efivar
Normal file
@@ -0,0 +1,78 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 35
|
||||
|
||||
THISAPP = efivar-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 53da18ea0cf7bba1fd9edf3098037edf
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
Reference in New Issue
Block a user