[grub2] fix a copy-paste error in patch 0154.

Peter Jones pjones at fedoraproject.org
Fri Nov 7 20:27:54 UTC 2014


commit dea2713c9232fa409ec43cbd04c1e7b03458719f
Author: Peter Jones <pjones at redhat.com>
Date:   Fri Nov 7 15:26:44 2014 -0500

    fix a copy-paste error in patch 0154.
    
      Resolves: rhbz#964828
    
    Signed-off-by: Peter Jones <pjones at redhat.com>

 ...-linux16-initrd16-and-linuxefi-initrdefi-.patch |    7 ++++---
 grub2.spec                                         |   13 ++++++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/0154-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch b/0154-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch
index 66e04a8..baaa69f 100644
--- a/0154-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch
+++ b/0154-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch
@@ -15,13 +15,14 @@ diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
 index 9f955ab..908a09d 100644
 --- a/util/grub.d/30_os-prober.in
 +++ b/util/grub.d/30_os-prober.in
-@@ -135,6 +135,28 @@ for OS in ${OSPROBED} ; do
+@@ -135,6 +135,29 @@ for OS in ${OSPROBED} ; do
      LONGNAME="${LABEL}"
    fi
  
 +  sixteenbit=""
 +  linuxefi="linux"
 +  initrdefi="initrd"
++  machine=`uname -m`
 +  case "$machine" in
 +    i?86|x86_64)
 +      sixteenbit="16"
@@ -44,7 +45,7 @@ index 9f955ab..908a09d 100644
    gettext_printf "Found %s on %s\n" "${LONGNAME}" "${DEVICE}" >&2
  
    case ${BOOT} in
-@@ -235,11 +257,11 @@ EOF
+@@ -235,11 +258,11 @@ EOF
  	    save_default_entry | grub_add_tab
  	    printf '%s\n' "${prepare_boot_cache}"
  	    cat <<  EOF
@@ -58,7 +59,7 @@ index 9f955ab..908a09d 100644
  EOF
              fi
          cat << EOF
-@@ -255,11 +277,11 @@ EOF
+@@ -255,11 +278,11 @@ EOF
  	save_default_entry | sed -e "s/^/$grub_tab$grub_tab/"
  	printf '%s\n' "${prepare_boot_cache}" | grub_add_tab
  	cat <<  EOF
diff --git a/grub2.spec b/grub2.spec
index 53f5efb..92b7246 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -47,7 +47,7 @@
 Name:           grub2
 Epoch:          1
 Version:        2.02
-Release:        0.10%{?dist}
+Release:        0.11%{?dist}
 Summary:        Bootloader with support for Linux, Multiboot and more
 
 Group:          System Environment/Base
@@ -328,11 +328,14 @@ cd grub-%{tarversion}
 cp %{SOURCE4} unifont.pcf.gz
 cp %{SOURCE6} .gitignore
 git init
-git config user.email "grub2-owner at fedoraproject.org"
+git config user.email "%{name}-owner at fedoraproject.org"
 git config user.name "Fedora Ninjas"
+git config gc.auto 0
 git add .
 git commit -a -q -m "%{tarversion} baseline."
-git am %{patches}
+git am %{patches} </dev/null
+git config --unset user.email
+git config --unset user.name
 %endif
 
 %build
@@ -647,6 +650,10 @@ fi
 %{_datarootdir}/grub/themes/
 
 %changelog
+* Fri Nov 07 2014 Peter Jones <pjones at redhat.com> - 2.02-0.11
+- fix a copy-paste error in patch 0154.
+  Resolves: rhbz#964828
+
 * Mon Oct 27 2014 Peter Jones <pjones at redhat.com> - 2.02-0.10
 - Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
   in 30_os-prober.


More information about the scm-commits mailing list