[packages/grub2] adapt initial configuration to PLD
draenog
draenog at pld-linux.org
Sun Nov 10 20:30:11 CET 2013
commit c92412d6ac0b3b53cd015f53999797d7d9beb6d9
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Sun Nov 10 19:27:40 2013 +0000
adapt initial configuration to PLD
grub2-cfg.patch | 13 +++++++++++++
grub2.spec | 4 +++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/grub2.spec b/grub2.spec
index 4251b3c..9754839 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -46,7 +46,7 @@ Summary(pl.UTF-8): GRUB2 - bootloader dla x86 i ppc
Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2
Name: grub2
Version: 2.00
-Release: 2
+Release: 3
License: GPL v2
Group: Base
Source0: http://ftp.gnu.org/gnu/grub/grub-%{version}.tar.xz
@@ -76,6 +76,7 @@ Patch18: Issue-separate-DNS-queries-for-ipv4-and-ipv6.patch
Patch19: search-for-specific-config-file-for-netboot.patch
Patch20: ignore-kernel-symlinks.patch
Patch21: choose-preferred-initrd.patch
+Patch22: %{name}-cfg.patch
URL: http://www.gnu.org/software/grub/
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.11.1-1
@@ -304,6 +305,7 @@ Motyw starfield dla GRUB-a.
%patch19 -p1
%patch20 -p1
%patch21 -p1
+%patch22 -p0
%build
# if gold is used then grub doesn't even boot
diff --git a/grub2-cfg.patch b/grub2-cfg.patch
new file mode 100644
index 0000000..23ce97b
--- /dev/null
+++ b/grub2-cfg.patch
@@ -0,0 +1,13 @@
+--- docs/grub.cfg.orig 2013-11-10 19:25:04.959888566 +0000
++++ docs/grub.cfg 2013-11-10 19:25:10.260104712 +0000
+@@ -14,8 +14,8 @@
+ # For booting GNU/Linux
+ menuentry "GNU/Linux" --id gnulinux {
+ set root=(hd0,msdos1)
+- linux /vmlinuz root=/dev/sda1
+- initrd /initrd.img
++ linux /boot/vmlinuz root=/dev/sda1
++ initrd /boot/initrd
+ }
+
+ # For booting GNU/Hurd
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/c92412d6ac0b3b53cd015f53999797d7d9beb6d9
More information about the pld-cvs-commit
mailing list