Merge lp:~xnox/ubuntu/precise/grub2/fix-978464 into lp:~ubuntu-core-dev/ubuntu/precise/grub2/precise

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 2238
Proposed branch: lp:~xnox/ubuntu/precise/grub2/fix-978464
Merge into: lp:~ubuntu-core-dev/ubuntu/precise/grub2/precise
Diff against target: 50 lines (+10/-4)
3 files modified
debian/changelog (+6/-0)
debian/patches/ubuntu_gfxpayload_filter.patch (+2/-2)
debian/patches/ubuntu_vt_handoff.patch (+2/-2)
To merge this branch: bzr merge lp:~xnox/ubuntu/precise/grub2/fix-978464
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+105844@code.launchpad.net

Description of the change

* Switch to backwards compatible ${} syntax for grub.cfg (LP: #978464)

To post a comment you must log in.
2238. By Dimitri John Ledkov

Switch to backwards compatible ${} syntax for grub.cfg (LP: #978464)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-04-17 15:14:46 +0000
3+++ debian/changelog 2012-05-15 15:27:21 +0000
4@@ -1,3 +1,9 @@
5+grub2 (1.99-21ubuntu3.1) UNRELEASED; urgency=low
6+
7+ * Switch to backwards compatible ${} syntax for grub.cfg (LP: #978464)
8+
9+ -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Tue, 15 May 2012 12:49:46 +0100
10+
11 grub2 (1.99-21ubuntu3) precise; urgency=low
12
13 * Backport several upstream EFI device discovery patches to fix boot
14
15=== modified file 'debian/patches/ubuntu_gfxpayload_filter.patch'
16--- debian/patches/ubuntu_gfxpayload_filter.patch 2011-09-15 15:18:07 +0000
17+++ debian/patches/ubuntu_gfxpayload_filter.patch 2012-05-15 15:27:21 +0000
18@@ -208,7 +208,7 @@
19 + echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
20 +else
21 + cat << EOF
22-+if [ \${recordfail} != 1 ]; then
23++if [ "\${recordfail}" != 1 ]; then
24 + if [ -e \${prefix}/gfxblacklist.txt ]; then
25 + if hwmatch \${prefix}/gfxblacklist.txt 3; then
26 + if [ \${match} = 0 ]; then
27@@ -229,7 +229,7 @@
28 +fi
29 +cat << EOF
30 +export linux_gfx_mode
31-+if [ "\$linux_gfx_mode" != "text" ]; then load_video; fi
32++if [ "\${linux_gfx_mode}" != "text" ]; then load_video; fi
33 +EOF
34 +
35 while [ "x$list" != "x" ] ; do
36
37=== modified file 'debian/patches/ubuntu_vt_handoff.patch'
38--- debian/patches/ubuntu_vt_handoff.patch 2012-04-05 09:49:54 +0000
39+++ debian/patches/ubuntu_vt_handoff.patch 2012-05-15 15:27:21 +0000
40@@ -40,8 +40,8 @@
41
42 +cat << 'EOF'
43 +function gfxmode {
44-+ set gfxpayload="$1"
45-+ if [ "$1" = "keep" ]; then
46++ set gfxpayload="${1}"
47++ if [ "${1}" = "keep" ]; then
48 + set vt_handoff=vt.handoff=7
49 + else
50 + set vt_handoff=

Subscribers

People subscribed via source and target branches