diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-24 20:56:27 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 10:18:32 +0200 |
commit | 91df32a7901c64164fb70bf4f070579f75c71397 (patch) | |
tree | caa8e73dfe88e2dc22ea9e6f44580d988b29473e | |
parent | 0d71705498e559c8fa45d41ffc4e0c7d2eed2db0 (diff) | |
download | meta-openembedded-91df32a7901c64164fb70bf4f070579f75c71397.tar.gz |
efibootmgr: Upgrade to 0.15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch | 49 | ||||
-rw-r--r-- | meta-oe/recipes-extended/efibootmgr/efibootmgr_0.15.bb (renamed from meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb) | 13 |
2 files changed, 6 insertions, 56 deletions
diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch b/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch deleted file mode 100644 index b6211c28a..000000000 --- a/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From a9f8d414972b0b7c963d7efe38b5cfdcb6413c46 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Jones <pjones@redhat.com> | ||
3 | Date: Mon, 6 Feb 2017 16:34:54 -0500 | ||
4 | Subject: [PATCH] Remove extra const keywords gcc 7 gripes about. | ||
5 | |||
6 | Signed-off-by: Peter Jones <pjones@redhat.com> | ||
7 | --- | ||
8 | src/efibootdump.c | 2 +- | ||
9 | src/efibootmgr.c | 4 ++-- | ||
10 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/src/efibootdump.c b/src/efibootdump.c | ||
13 | index 3e448c2..5a9b681 100644 | ||
14 | --- a/src/efibootdump.c | ||
15 | +++ b/src/efibootdump.c | ||
16 | @@ -36,7 +36,7 @@ print_boot_entry(efi_load_option *loadopt, size_t data_size) | ||
17 | uint8_t *optional_data = NULL; | ||
18 | size_t optional_data_len = 0; | ||
19 | uint16_t pathlen; | ||
20 | - const unsigned char const *desc; | ||
21 | + const unsigned char *desc; | ||
22 | char *raw; | ||
23 | size_t raw_len; | ||
24 | |||
25 | diff --git a/src/efibootmgr.c b/src/efibootmgr.c | ||
26 | index baefa68..683623b 100644 | ||
27 | --- a/src/efibootmgr.c | ||
28 | +++ b/src/efibootmgr.c | ||
29 | @@ -214,7 +214,7 @@ warn_duplicate_name(list_t *boot_list) | ||
30 | list_t *pos; | ||
31 | var_entry_t *boot; | ||
32 | efi_load_option *load_option; | ||
33 | - const unsigned char const *desc; | ||
34 | + const unsigned char *desc; | ||
35 | |||
36 | list_for_each(pos, boot_list) { | ||
37 | boot = list_entry(pos, var_entry_t, list); | ||
38 | @@ -821,7 +821,7 @@ show_boot_vars() | ||
39 | { | ||
40 | list_t *pos; | ||
41 | var_entry_t *boot; | ||
42 | - const unsigned char const *description; | ||
43 | + const unsigned char *description; | ||
44 | efi_load_option *load_option; | ||
45 | efidp dp = NULL; | ||
46 | unsigned char *optional_data = NULL; | ||
47 | -- | ||
48 | 2.12.2 | ||
49 | |||
diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.15.bb index 193150bb9..9cc62a959 100644 --- a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb +++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.15.bb | |||
@@ -10,19 +10,18 @@ DEPENDS = "pciutils zlib efivar" | |||
10 | 10 | ||
11 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | 11 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" |
12 | 12 | ||
13 | SRCREV = "75d25807ba81cb724964c989012611272c8f1f5d" | 13 | SRCREV = "5c14da22802576a99ebb854f7aa174f796f7b031" |
14 | SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ | 14 | SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ |
15 | file://0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch \ | ||
16 | " | 15 | " |
17 | |||
18 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
19 | 17 | ||
20 | |||
21 | inherit pkgconfig | 18 | inherit pkgconfig |
22 | 19 | ||
23 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar` \ | 20 | EXTRA_OEMAKE = "'EFIDIR=/' 'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar`'" |
24 | -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR)\" '" | ||
25 | 21 | ||
22 | CFLAGS_append_toolchain-clang = " -Wno-error" | ||
26 | do_install () { | 23 | do_install () { |
27 | install -D -p -m0755 src/efibootmgr ${D}/${sbindir}/efibootmgr | 24 | install -D -p -m0755 ${B}/src/efibootmgr ${D}/${sbindir}/efibootmgr |
28 | } | 25 | } |
26 | |||
27 | CLEANBROKEN = "1" | ||