From 35ae01ce6c126140439f271ee944efe69a184132 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Thu, 23 Jul 2015 16:00:53 +0800 Subject: efibootmgr: add recipe Add efibootmgr recipe from layer meta-linaro and upgrade from 0.5.4 to 0.6.0. efibootmgr is a linux user-space application to modify the EFI Boot Manager which is useful for us to manage boot on EFI boards. Signed-off-by: Kai Kang Signed-off-by: Martin Jansa --- .../files/w-keep-existing-mbr-signature.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch (limited to 'meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch') 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 new file mode 100644 index 0000000000..58bd135564 --- /dev/null +++ b/meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch @@ -0,0 +1,26 @@ +Upstream-Status: Pending + +Import this patch from meta-linaro. + +Signed-off-by: Kai Kang +--- +Description: Fix -w option to leave an existing unique MBR signature intact + This makes the implementation match the documentation. +Author: Colin Watson +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1065261 +Forwarded: no +Last-Update: 2013-02-01 + +Index: b/src/lib/disk.c +=================================================================== +--- a/src/lib/disk.c ++++ b/src/lib/disk.c +@@ -352,7 +352,7 @@ + printf("******************************************************\n\n"); + + } +- else if (opts.write_signature) { ++ else if (!mbr->unique_mbr_signature && opts.write_signature) { + + /* MBR Signatures must be unique for the + EFI Boot Manager -- cgit 1.2.3-korg