efivar: bump to version 28
PATCH 1/2 efivar: bump to version 28
Upstream has changed version numbering scheme since version 25, which came after version 0.24.
The two patches that we had in package/efivar/ were backports and so can be dropped with this bump.
This new version also fixes the build failure with gcc 6.x, so:
Fixes:
http://autobuild.buildroot.net/results/ea6/ea6968d5d0fd0d8ee64e045e2aa56c8e8a0b7b14
--- .../0001-Workaround-rename-of-linux-nvme.h.patch | 32 --------------- .../0002-Make.rules-fix-build-with-make-3.81.patch | 45 ---------------------- package/efivar/efivar.hash | 2 +- package/efivar/efivar.mk | 2 +- 4 files changed, 2 insertions(+), 79 deletions(-) delete mode 100644 package/efivar/0001-Workaround-rename-of-linux-nvme.h.patch delete mode 100644 package/efivar/0002-Make.rules-fix-build-with-make-3.81.patch
package/efivar/0001-Workaround-rename-of-linux-nvme.h.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 75a73111371526a12712bb7211da2116c0bf40f7 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <[email protected]> -Date: Thu, 14 Jan 2016 17:02:31 -0500 -Subject: [PATCH] Workaround rename of linux/nvme.h - -Bug: https://bugs.gentoo.org/571548 - -Signed-off-by: Erico Nunes <[email protected]> ---- - src/linux.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/linux.c b/src/linux.c -index b618cfd..9388cd3 100644 ---- a/src/linux.c -+++ b/src/linux.c -@@ -22,7 +22,12 @@ - #include <inttypes.h> - #include <limits.h> - #include <linux/ethtool.h> -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0) -+#include <linux/nvme_ioctl.h> -+#else - #include <linux/nvme.h> -+#endif - #include <linux/sockios.h> - #include <net/if.h> - #include <scsi/scsi.h> --- -2.7.4 -
package/efivar/0002-Make.rules-fix-build-with-make-3.81.patch deleted +0 -45
45 lines not on this page · raw message
package/efivar/efivar.hash +1 -1
@@ -1,2 +1,2 @@ # locally computed hash -sha256 f807f5f0846323bc21b18043542b296f5ad81514f91f13c74a4b8da30c965c94 efivar-0.23.tar.gz +sha256 7fed0b31fe796d7dfef40cccb97b8bb0b806f16e568074ad2d456be30e195f5e efivar-28.tar.gz
package/efivar/efivar.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -EFIVAR_VERSION = 0.23 +EFIVAR_VERSION = 28 EFIVAR_SITE = $(call github,rhinstaller,efivar,$(EFIVAR_VERSION)) EFIVAR_LICENSE = LGPLv2.1 EFIVAR_LICENSE_FILES = COPYING
Signature · 1 line
2.7.4
PATCH 2/2 efibootmgr: bump to version 14
Upstream has changed version numbering scheme since version 13, which came after version 0.12.
There is now a make install target, so we can drop the manual file installing. The make install target also installs the new efibootdump tool.
--- package/efibootmgr/efibootmgr.hash | 2 +- package/efibootmgr/efibootmgr.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
package/efibootmgr/efibootmgr.hash +1 -1
@@ -1,2 +1,2 @@ # locally computed hash -sha256 b180d7d6b377d24b0872869f2571e2700b618e4d7ebdc2133134a918efe2623b efibootmgr-efibootmgr-0.12.tar.gz +sha256 3f260491e2c62e93cb6347ea6f21aaa5f93152e9e7f0269d314623769d82e473 efibootmgr-14.tar.gz
package/efibootmgr/efibootmgr.mk +3 -3
@@ -4,7 +4,7 @@ # ################################################################################ -EFIBOOTMGR_VERSION = efibootmgr-0.12 +EFIBOOTMGR_VERSION = 14 EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION)) EFIBOOTMGR_LICENSE = GPLv2+ EFIBOOTMGR_LICENSE_FILES = COPYING
@@ -21,8 +21,8 @@ define EFIBOOTMGR_BUILD_CMDS endef define EFIBOOTMGR_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/src/efibootmgr/efibootmgr \ - $(TARGET_DIR)/usr/bin/efibootmgr + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
Signature · 1 line
2.7.4
PATCH 2/2 efibootmgr: bump to version 14
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Erico" == Erico Nunes <[email protected]> writes:
Upstream has changed version numbering scheme since version 13, which came after version 0.12.
There is now a make install target, so we can drop the manual file installing. The make install target also installs the new efibootdump tool.
I see it now installs into usr/sbin, and also installs efibootdump, but that is probably ok:
install -m 755 efibootmgr /home/peko/source/buildroot/output/target//usr/sbin/efibootmgr install -m 755 efibootdump /home/peko/source/buildroot/output/target//usr/sbin/efibootdump
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 efivar: bump to version 28
In reply to Erico NunesQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Erico" == Erico Nunes <[email protected]> writes:
Upstream has changed version numbering scheme since version 25, which came after version 0.24.
The two patches that we had in package/efivar/ were backports and so can be dropped with this bump.
Then we should also update the comment about the patch in Config.in.
Quoted 3 lines
This new version also fixes the build failure with gcc 6.x, so:
Fixes:
http://autobuild.buildroot.net/results/ea6/ea6968d5d0fd0d8ee64e045e2aa56c8e8a0b7b14
A quick test build with a GCC 4.8.x based toolchain fails on access to _Generic, which was only added in 4.9:
https://gcc.gnu.org/wiki/C11Status
So I've adjusted the toolchain dependencies for that.
Committed with these fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard