]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - grub/patches/grub-1.98-GRUB_DISTRIBUTOR-spaces-fix-1.patch0
kernel: Update to 3.0.4.
[people/stevee/ipfire-3.x.git] / grub / patches / grub-1.98-GRUB_DISTRIBUTOR-spaces-fix-1.patch0
CommitLineData
dcc3c9bd
MT
1=== modified file 'util/grub.d/10_hurd.in'
2--- util/grub.d/10_hurd.in 2010-02-03 00:24:07 +0000
3+++ util/grub.d/10_hurd.in 2010-04-08 09:54:44 +0000
4@@ -27,7 +27,7 @@
5 OS=GNU
6 else
7 OS="${GRUB_DISTRIBUTOR} GNU/Hurd"
8- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]') ${CLASS}"
9+ CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | cut -d' ' -f1) ${CLASS}"
10 fi
11
12 at_least_one=false
13
14=== modified file 'util/grub.d/10_kfreebsd.in'
15--- util/grub.d/10_kfreebsd.in 2010-02-03 00:24:07 +0000
16+++ util/grub.d/10_kfreebsd.in 2010-04-08 09:54:44 +0000
17@@ -30,7 +30,7 @@
18 case "${GRUB_DISTRIBUTOR}" in
19 Debian)
20 OS="${GRUB_DISTRIBUTOR} GNU/kFreeBSD"
21- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]') --class gnu-kfreebsd --class gnu ${CLASS}"
22+ CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | cut -d' ' -f1) --class gnu-kfreebsd --class gnu ${CLASS}"
23 ;;
24 *)
25 OS="FreeBSD"
26
27=== modified file 'util/grub.d/10_linux.in'
28--- util/grub.d/10_linux.in 2010-02-26 13:32:24 +0000
29+++ util/grub.d/10_linux.in 2010-04-08 09:54:44 +0000
30@@ -31,7 +31,7 @@
31 OS=GNU/Linux
32 else
33 OS="${GRUB_DISTRIBUTOR} GNU/Linux"
34- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]') ${CLASS}"
35+ CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | cut -d' ' -f1) ${CLASS}"
36 fi
37
38 # loop-AES arranges things so that /dev/loop/X can be our root device, but
39