Hello community, here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2013-01-07 15:17:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2 (Old) and /work/SRC/openSUSE:Factory/.grub2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2012-11-28 10:34:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.grub2.new/grub2.changes 2013-01-07 15:17:22.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Jan 4 10:29:58 UTC 2013 - [email protected] + +- add support for chainloading another UEFI bootloader to + 30_os-prober (bnc#775610) + +------------------------------------------------------------------- New: ---- 30_os-prober_UEFI_support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grub2.spec ++++++ --- /var/tmp/diff_new_pack.qgB4wv/_old 2013-01-07 15:17:24.000000000 +0100 +++ /var/tmp/diff_new_pack.qgB4wv/_new 2013-01-07 15:17:24.000000000 +0100 @@ -131,6 +131,7 @@ Patch22: grub2-secureboot-use-linuxefi-on-uefi.patch Patch23: grub2-secureboot-no-insmod-on-sb.patch Patch24: grub2-secureboot-provide-linuxefi-config.patch +Patch25: 30_os-prober_UEFI_support.patch PreReq: perl-Bootloader Requires: gettext-runtime %if 0%{?suse_version} >= 1140 @@ -242,6 +243,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p1 cd .. # README.openSUSE ++++++ 30_os-prober_UEFI_support.patch ++++++ From: Andrey Borzenkov <[email protected]> Date: Fri Jan 4 09:46:56 UTC 2013 Subject: properly quote translated strings in grub.cfg References: bnc#775610 Patch-Mainline: no Add support for chainloading another bootloader on UEFI systems. This requires additional os-prober support to be actually useful. Index: grub-2.00/util/grub.d/30_os-prober.in =================================================================== --- grub-2.00.orig/util/grub.d/30_os-prober.in +++ grub-2.00/util/grub.d/30_os-prober.in @@ -144,6 +144,22 @@ EOF } EOF ;; + efi) + + EFIPATH=${DEVICE#*@} + DEVICE=${DEVICE%@*} + onstr="$(gettext_printf "(on %s)" "${DEVICE}")" + cat << EOF +menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class windows --class os \$menuentry_id_option 'osprober-efi-$(grub_get_device_id "${DEVICE}")' { +EOF + save_default_entry | sed -e "s/^/\t/" + prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/" + + cat <<EOF + chainloader ${EFIPATH} +} +EOF + ;; linux) LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`" prepare_boot_cache= -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
