]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Drop efibootmgr and efivar
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Apr 2021 20:58:31 +0000 (20:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 Apr 2021 09:45:23 +0000 (09:45 +0000)
Unfortunately this does not build any more and efivar's upstream has not
had a release since 2018.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/aarch64/efibootmgr [deleted file]
config/rootfiles/common/aarch64/efivar [deleted file]
config/rootfiles/common/x86_64/efibootmgr [deleted file]
config/rootfiles/common/x86_64/efivar [deleted file]
lfs/efibootmgr [deleted file]
lfs/efivar [deleted file]
make.sh

diff --git a/config/rootfiles/common/aarch64/efibootmgr b/config/rootfiles/common/aarch64/efibootmgr
deleted file mode 100644 (file)
index 56a0eb1..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/sbin/efibootdump
-usr/sbin/efibootmgr
-#usr/share/man/man8/efibootdump.8
-#usr/share/man/man8/efibootmgr.8
diff --git a/config/rootfiles/common/aarch64/efivar b/config/rootfiles/common/aarch64/efivar
deleted file mode 100644 (file)
index 4fd1001..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-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.37
-#usr/lib/libefivar.so
-usr/lib/libefivar.so.1
-usr/lib/libefivar.so.1.37
-#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
diff --git a/config/rootfiles/common/x86_64/efibootmgr b/config/rootfiles/common/x86_64/efibootmgr
deleted file mode 100644 (file)
index 56a0eb1..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/sbin/efibootdump
-usr/sbin/efibootmgr
-#usr/share/man/man8/efibootdump.8
-#usr/share/man/man8/efibootmgr.8
diff --git a/config/rootfiles/common/x86_64/efivar b/config/rootfiles/common/x86_64/efivar
deleted file mode 100644 (file)
index 4fd1001..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-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.37
-#usr/lib/libefivar.so
-usr/lib/libefivar.so.1
-usr/lib/libefivar.so.1.37
-#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
diff --git a/lfs/efibootmgr b/lfs/efibootmgr
deleted file mode 100644 (file)
index 9a2a917..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-###############################################################################
-#                                                                             #
-# 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)
-SUP_ARCH   = aarch64 x86_64
-
-###############################################################################
-# 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)
diff --git a/lfs/efivar b/lfs/efivar
deleted file mode 100644 (file)
index 4453f99..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-###############################################################################
-#                                                                             #
-# 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        = 37
-
-THISAPP    = efivar-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH   = aarch64 x86_64
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_MD5 = 9f067275c5f7aafdd75bfb364280ac9c
-
-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) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-1.patch
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-2.patch
-
-       # -Werror, not even once
-       cd $(DIR_APP) && sed -e "s/-Werror//g" -i gcc.specs
-
-       cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKETUNING)
-       cd $(DIR_APP) && make install
-
-       @rm -rf $(DIR_APP)
-       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 86bf182ee55c72262be36ce02636dca58b89ff78..406db95cf765df9ebc0dab486a8a09e0a5f4e669 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1243,8 +1243,6 @@ buildipfire() {
   lfsmake2 python3
   lfsmake2 gdb
   lfsmake2 grub
-  lfsmake2 efivar
-  lfsmake2 efibootmgr
   lfsmake2 ca-certificates
   lfsmake2 fireinfo
   lfsmake2 libnet