diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-10-12 14:26:31 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-23 12:53:21 +0200 |
commit | 3c3908a03abb93d901e67ceaedeadc51fdb8eab3 (patch) | |
tree | 45664a8b173cb0e01b1072d3e9444dfd94d4f28d /meta-oe/recipes-extended | |
parent | 7967a79c8352daf8065496ff76ad23c8c5609467 (diff) | |
download | meta-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')
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 0000000000..03aaf13a62 --- /dev/null +++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager." | ||
2 | SUMMARY = "EFI Boot Manager" | ||
3 | HOMEPAGE = "https://github.com/rhinstaller/efibootmgr" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
8 | |||
9 | DEPENDS = "pciutils zlib efivar" | ||
10 | |||
11 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
12 | |||
13 | SRC_URI = "https://github.com/rhinstaller/efibootmgr/releases/download/${BP}/${BP}.tar.bz2 \ | ||
14 | file://ldflags.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "6647f5cd807bc8484135ba74fcbcc39a" | ||
18 | SRC_URI[sha256sum] = "a66f5850677e86255d93cb1cead04c3c48a823a2b864c579321f2a07f00256e6" | ||
19 | |||
20 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar` \ | ||
21 | -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR)\" '" | ||
22 | |||
23 | do_install () { | ||
24 | install -D -p -m0755 src/efibootmgr/efibootmgr ${D}/${sbindir}/efibootmgr | ||
25 | } | ||
26 | |||
27 | inherit 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 501ff2a6e1..0000000000 --- a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager." | ||
2 | SUMMARY = "EFI Boot Manager" | ||
3 | HOMEPAGE = "http://linux.dell.com/efibootmgr/" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
8 | |||
9 | DEPENDS = "pciutils zlib" | ||
10 | |||
11 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
12 | |||
13 | SRC_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 | |||
19 | SRC_URI[md5sum] = "9e9a31d79e579644de83a14139b66d10" | ||
20 | SRC_URI[sha256sum] = "5167488b92950e60028d1025942ce6bda04638c6fb5e110abb8c8f687844d155" | ||
21 | |||
22 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/lib -I${S}/src/include -fgnu89-inline'" | ||
23 | |||
24 | do_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 f2dc83bbe1..0000000000 --- a/meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Import this patch from meta-linaro. | ||
4 | |||
5 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
6 | |||
7 | diff --git a/src/man/man8/efibootmgr.8.docbook b/src/man/man8/efibootmgr.8.docbook | ||
8 | index 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 58bd135564..0000000000 --- a/meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Import this patch from meta-linaro. | ||
4 | |||
5 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
6 | --- | ||
7 | Description: Fix -w option to leave an existing unique MBR signature intact | ||
8 | This makes the implementation match the documentation. | ||
9 | Author: Colin Watson <cjwatson@ubuntu.com> | ||
10 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1065261 | ||
11 | Forwarded: no | ||
12 | Last-Update: 2013-02-01 | ||
13 | |||
14 | Index: 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 | ||