summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-10-12 14:26:31 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-23 12:53:21 +0200
commit3c3908a03abb93d901e67ceaedeadc51fdb8eab3 (patch)
tree45664a8b173cb0e01b1072d3e9444dfd94d4f28d /meta-oe/recipes-extended
parent7967a79c8352daf8065496ff76ad23c8c5609467 (diff)
downloadmeta-openembedded-3c3908a03abb93d901e67ceaedeadc51fdb8eab3.tar.gz
efibootmgr: 0.6.0 -> 0.12
Upgrade efibootmgr from 0.6.0 to 0.12. * update HOMEPAGE * drop obsolete patches that source files have been removed * add dependency efivar * update CFLAGS to fix print wrong version issue Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb27
-rw-r--r--meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb26
-rw-r--r--meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch28
-rw-r--r--meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch26
4 files changed, 27 insertions, 80 deletions
diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb
new file mode 100644
index 000000000..03aaf13a6
--- /dev/null
+++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager."
2SUMMARY = "EFI Boot Manager"
3HOMEPAGE = "https://github.com/rhinstaller/efibootmgr"
4SECTION = "base"
5
6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
8
9DEPENDS = "pciutils zlib efivar"
10
11COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
12
13SRC_URI = "https://github.com/rhinstaller/efibootmgr/releases/download/${BP}/${BP}.tar.bz2 \
14 file://ldflags.patch \
15 "
16
17SRC_URI[md5sum] = "6647f5cd807bc8484135ba74fcbcc39a"
18SRC_URI[sha256sum] = "a66f5850677e86255d93cb1cead04c3c48a823a2b864c579321f2a07f00256e6"
19
20EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar` \
21 -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR)\" '"
22
23do_install () {
24 install -D -p -m0755 src/efibootmgr/efibootmgr ${D}/${sbindir}/efibootmgr
25}
26
27inherit pkgconfig
diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb
deleted file mode 100644
index 501ff2a6e..000000000
--- a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager."
2SUMMARY = "EFI Boot Manager"
3HOMEPAGE = "http://linux.dell.com/efibootmgr/"
4SECTION = "base"
5
6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
8
9DEPENDS = "pciutils zlib"
10
11COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
12
13SRC_URI = "http://linux.dell.com/efibootmgr/permalink/efibootmgr-${PV}.tar.gz \
14 file://ldflags.patch \
15 file://docbook-fixes.patch \
16 file://w-keep-existing-mbr-signature.patch \
17"
18
19SRC_URI[md5sum] = "9e9a31d79e579644de83a14139b66d10"
20SRC_URI[sha256sum] = "5167488b92950e60028d1025942ce6bda04638c6fb5e110abb8c8f687844d155"
21
22EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/lib -I${S}/src/include -fgnu89-inline'"
23
24do_install () {
25 install -D -p -m0755 src/efibootmgr/efibootmgr ${D}/${sbindir}/efibootmgr
26}
diff --git a/meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch b/meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch
deleted file mode 100644
index f2dc83bbe..000000000
--- a/meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status: Pending
2
3Import this patch from meta-linaro.
4
5Signed-off-by: Kai Kang <kai.kang@windriver.com>
6
7diff --git a/src/man/man8/efibootmgr.8.docbook b/src/man/man8/efibootmgr.8.docbook
8index aef4444..eb8f266 100644
9--- a/src/man/man8/efibootmgr.8.docbook
10+++ b/src/man/man8/efibootmgr.8.docbook
11@@ -302,7 +302,7 @@
12 <title>Displaying the current settings (must be root).</title>
13
14 <para>
15- <computeroutput>
16+ <programlisting>
17 [root@localhost ~]# efibootmgr
18 BootCurrent: 0004
19 BootNext: 0003
20@@ -313,7 +313,7 @@
21 Boot0002* Hard Drive(Device:80)/HD(Part1,Sig00112233)
22 Boot0003* PXE Boot: MAC(00D0B7C15D91)
23 Boot0004* Linux
24- </computeroutput>
25+ </programlisting>
26 </para>
27 <para>This shows:</para>
28 <itemizedlist>
diff --git a/meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch b/meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch
deleted file mode 100644
index 58bd13556..000000000
--- a/meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Pending
2
3Import this patch from meta-linaro.
4
5Signed-off-by: Kai Kang <kai.kang@windriver.com>
6---
7Description: Fix -w option to leave an existing unique MBR signature intact
8 This makes the implementation match the documentation.
9Author: Colin Watson <cjwatson@ubuntu.com>
10Bug-Ubuntu: https://bugs.launchpad.net/bugs/1065261
11Forwarded: no
12Last-Update: 2013-02-01
13
14Index: b/src/lib/disk.c
15===================================================================
16--- a/src/lib/disk.c
17+++ b/src/lib/disk.c
18@@ -352,7 +352,7 @@
19 printf("******************************************************\n\n");
20
21 }
22- else if (opts.write_signature) {
23+ else if (!mbr->unique_mbr_signature && opts.write_signature) {
24
25 /* MBR Signatures must be unique for the
26 EFI Boot Manager