summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-04-11 19:49:27 +0000
committerMike Gilbert <floppym@gentoo.org>2012-04-11 19:49:27 +0000
commit059eb6331973fe54a43a5e603ee2a5e7397a2470 (patch)
treeaa8f2144d048530cc1d8c40c706c9277fc88bfe5 /sys-boot
parentFix a resolver assert triggered by recent hwids/usbutils changes (diff)
downloadhistorical-059eb6331973fe54a43a5e603ee2a5e7397a2470.tar.gz
historical-059eb6331973fe54a43a5e603ee2a5e7397a2470.tar.bz2
historical-059eb6331973fe54a43a5e603ee2a5e7397a2470.zip
Adjust patch to use uname -m in place of a shell glob.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/ChangeLog6
-rw-r--r--sys-boot/grub/Manifest11
-rw-r--r--sys-boot/grub/files/grub-2.00-10_linux-genkernel.patch49
3 files changed, 42 insertions, 24 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog
index c966a2580992..9a83845e894d 100644
--- a/sys-boot/grub/ChangeLog
+++ b/sys-boot/grub/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-boot/grub
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.197 2012/04/11 02:41:33 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.198 2012/04/11 19:49:27 floppym Exp $
+
+ 11 Apr 2012; Mike Gilbert <floppym@gentoo.org>
+ files/grub-2.00-10_linux-genkernel.patch:
+ Adjust patch to use uname -m in place of a shell glob.
11 Apr 2012; Mike Gilbert <floppym@gentoo.org>
files/grub-2.00-10_linux-genkernel.patch:
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest
index 7ec5d86c6523..f186262323fa 100644
--- a/sys-boot/grub/Manifest
+++ b/sys-boot/grub/Manifest
@@ -7,7 +7,7 @@ AUX 1.99-improve_devmapper.patch 7134 RMD160 a8dbf91626c607f5fec85235a2042b7e82f
AUX 1.99-stat_root_device_properly-p1.patch 698 RMD160 f28b945c2342a2a95e67357c5387cadf16d8e34f SHA1 3872ccd325e8f4f4693984f0abf26b935c475dae SHA256 1facf84e5195eb98b390e43e0a0d6f791e9500ef678b025e95f96d5a2769da5a
AUX 1.99-stat_root_device_properly-p2.patch 621 RMD160 2b52c8cbddf95def3fcc77ec8a2cb3524891fd1e SHA1 280dafa0d0c93905a850b17e9a9f09cea1357a05 SHA256 431876459562c0aae6e854a97eeaf0cacdad8ceb5477788a4d691e4e6fa613eb
AUX grub-0.97-gpt.patch 10682 RMD160 53dd38d52f2b38fb28dfb670d6fd27e47a562bbb SHA1 6057a076110d469fb63e56e57711d281221f9b42 SHA256 5e38046cfb727420e5b4b19d71c7fb4ddff22cbcc356c9f888763b0c1963d389
-AUX grub-2.00-10_linux-genkernel.patch 899 RMD160 aeda7e522f450da44bc13617deb759d041fd42cf SHA1 3b73548afecb2c64da8a478b5ccfe7fbcdd12c8b SHA256 3d1422bb6bacc3b0ad416658c04aab3dd45e7d6264e0faeedc78852546b70e1d
+AUX grub-2.00-10_linux-genkernel.patch 1230 RMD160 aec271655fdd6b8301509b0d905017953aa72746 SHA1 c941de241cb9a5de05872a24eacae495281951a2 SHA256 40925a74ab63de6d58404eec27d40f06ad0be2de9803bafbf68427bf3185bf5f
AUX grub.conf.gentoo 627 RMD160 d90fb4373bad476f98ec9c5065d6cdfd9e3b706f SHA1 004f2fc04605ec9190de0a87e7df8bbc33daff89 SHA256 914b15af252210a32776196437cd8013e10e57d5780e66877ef3fe9a2b4b9776
AUX grub.default 1254 RMD160 06e05de60133cc1e31769c6106031fe59de46053 SHA1 4fc3138fe313707bfdd307d4538bfc98c14c4cbc SHA256 181bdb7433ebcbde635e7058a1febaf0100e4e9c83ea4fd222d7010c375882d8
DIST grub-0.92-gentoo-0.2.tar.bz2 21727 RMD160 f420e3352d46fdfb77a1121879382265805bc3ef SHA1 1bb1463067679aab909d1bd96996cfa72556de81 SHA256 f579b49b2d24702905c333ce2b6170a554ce26d0232c65478a21a1fd2eb8b8fe
@@ -54,13 +54,12 @@ EBUILD grub-2.00_beta2.ebuild 6476 RMD160 43557ca6eb3e61f66fe4d8c2977d9ac1e4db2d
EBUILD grub-2.00_beta3-r1.ebuild 6548 RMD160 780668a6a07b2cb7d816285e20121540b2c15bfc SHA1 24ff5a9cfc326119a8b0e5f9aea0ca64ee87a431 SHA256 cb7b903bd1f622a7932c81134bfe5dd22b65ca14df45589ae9f1c46d7386a298
EBUILD grub-2.00_beta3.ebuild 6488 RMD160 d0cbccc50d81e7b6e70c27c5309c2faec2ff3b44 SHA1 a2c074dcd6c535fb66a0ffb189dcf00394528772 SHA256 d39abf04dc1d6b4e03511647c3585ab8950b5778ec3a1fe0fe87de615b334477
EBUILD grub-9999.ebuild 6483 RMD160 e78941b0073f0e6b56a20204f6d0a2a4fe4c2dc7 SHA1 4418bed8d78df76cfef1ae589e8e698ae97ae99f SHA256 628e3a6a3b57fdc776dcc4dd40f4c3352915779070810fd326800c23d6702fd4
-MISC ChangeLog 39432 RMD160 52827f64a38678ef9ccd2df0e5b50e94a28a6e8a SHA1 9850edb33f937822190931ab9447e874ab7a408e SHA256 ef4f6c90cc2b82fe0414f66a5638adef5e912a1ee271debee8785091c5550fcb
-MISC grub-9999.ebuild.orig 6471 RMD160 44a6134970c488856e0df8f637e99768bdb00181 SHA1 c3c8c14032951bcc8a2350f97674e2156476c972 SHA256 d7ea52eca2b187d6d256bade46e0ba30def79e7d416c3ced1c63a72f4b308a4b
+MISC ChangeLog 39583 RMD160 cd3a315c9e5a77452649df7a36b8c358d50e8fbf SHA1 742297866b6b8d38044f5480ed3fd38a76da1e24 SHA256 5296014f2370ec728069bcb5f0c67a67240b36f04525c7dd467733c066360b1d
MISC metadata.xml 673 RMD160 2181a768c776eed3e76c3604a2a0c03be360aa06 SHA1 0434ff5fb3b8702ca4a4661240ed08cfb06c529c SHA256 e14e5e46b726a3645b85217a2afbd5b04adb54990c7db837e01a50a8322d81b9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk+E72MACgkQC77qH+pIQ6R/bAD9EzXM/CGDCW6ilstQL2/gfR3Z
-w/6weU2Sbf9ZnC41LTAA/1BVWi/thZofqMiEMAWnNbyc3cb+B3aEgCII6DzvzLJ+
-=/5WZ
+iF4EAREIAAYFAk+F4EwACgkQC77qH+pIQ6TVqAD/VsS+5qmW4sdE7vUFH/oDocgd
+XZsVmymiZoZt8QAPzqIBALPN5B5mjgeotLP5pqeLRsFY3aEcBwGBLcWakWdQSdK2
+=ZIna
-----END PGP SIGNATURE-----
diff --git a/sys-boot/grub/files/grub-2.00-10_linux-genkernel.patch b/sys-boot/grub/files/grub-2.00-10_linux-genkernel.patch
index 92cd72a98107..d2f55761a1b2 100644
--- a/sys-boot/grub/files/grub-2.00-10_linux-genkernel.patch
+++ b/sys-boot/grub/files/grub-2.00-10_linux-genkernel.patch
@@ -1,26 +1,41 @@
---- util/grub.d/10_linux.in
-+++ util/grub.d/10_linux.in
-@@ -182,17 +182,19 @@
- linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
+=== modified file 'util/grub.d/10_linux.in'
+--- util/grub.d/10_linux.in 2012-03-10 14:21:25 +0000
++++ util/grub.d/10_linux.in 2012-04-11 19:26:45 +0000
+@@ -150,7 +150,8 @@
+ EOF
+ }
- initrd=
-+ pushd "${dirname}" > /dev/null
- for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
+-case x`uname -m` in
++machine=`uname -m`
++case "x$machine" in
+ xi?86 | xx86_64)
+ list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
+ if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
+@@ -161,6 +162,15 @@
+ done` ;;
+ esac
+
++if test "x${GENKERNEL_ARCH-unset}" = xunset; then
++ case "$machine" in
++ i?86) GENKERNEL_ARCH="x86" ;;
++ mips|mips64) GENKERNEL_ARCH="mips" ;;
++ arm*) GENKERNEL_ARCH="arm" ;;
++ *) GENKERNEL_ARCH="$machine" ;;
++ esac
++fi
++
+ prepare_boot_cache=
+ prepare_root_cache=
+ boot_device_id=
+@@ -186,8 +196,8 @@
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
- "initramfs-genkernel-${version}" \
- "initramfs-genkernel-${alt_version}"; do
-- if test -e "${dirname}/${i}" ; then
-+ "initramfs-genkernel"*"-${version}" \
-+ "initramfs-genkernel"*"-${alt_version}"; do
-+ if test -e "${i}" ; then
++ "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
++ "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
+ if test -e "${dirname}/${i}" ; then
initrd="$i"
break
- fi
- done
-+ popd > /dev/null
-
- config=
- for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do