Merge lp:~sergiusens/snappy-hub/refinedGrub into lp:~snappy-dev/snappy-hub/snappy-systems

Proposed by Sergio Schvezov
Status: Merged
Approved by: John Lenton
Approved revision: 6
Merged at revision: 6
Proposed branch: lp:~sergiusens/snappy-hub/refinedGrub
Merge into: lp:~snappy-dev/snappy-hub/snappy-systems
Diff against target: 25 lines (+2/-2)
2 files modified
generic-amd64/grub.cfg (+1/-1)
generic-i386/grub.cfg (+1/-1)
To merge this branch: bzr merge lp:~sergiusens/snappy-hub/refinedGrub
Reviewer Review Type Date Requested Status
John Lenton (community) Approve
Review via email: mp+263729@code.launchpad.net

Commit message

Refine check for snappy-[a|b] kernels

To post a comment you must log in.
Revision history for this message
John Lenton (chipaca) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'generic-amd64/grub.cfg'
--- generic-amd64/grub.cfg 2015-06-30 11:18:37 +0000
+++ generic-amd64/grub.cfg 2015-07-02 23:06:24 +0000
@@ -42,7 +42,7 @@
42set cmdline="root=LABEL=$label ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1"42set cmdline="root=LABEL=$label ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1"
4343
44menuentry "$label" {44menuentry "$label" {
45 if [ -d "$prefix/$snappy_ab" ]; then45 if [ -e "$prefix/$snappy_ab/vmlinuz" ]; then
46 linux $prefix/$snappy_ab/vmlinuz $cmdline46 linux $prefix/$snappy_ab/vmlinuz $cmdline
47 initrd $prefix/$snappy_ab/initrd.img47 initrd $prefix/$snappy_ab/initrd.img
48 else48 else
4949
=== modified file 'generic-i386/grub.cfg'
--- generic-i386/grub.cfg 2015-06-30 11:18:37 +0000
+++ generic-i386/grub.cfg 2015-07-02 23:06:24 +0000
@@ -42,7 +42,7 @@
42set cmdline="root=LABEL=$label ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1"42set cmdline="root=LABEL=$label ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1"
4343
44menuentry "$label" {44menuentry "$label" {
45 if [ -d "$prefix/$snappy_ab" ]; then45 if [ -e "$prefix/$snappy_ab/vmlinuz" ]; then
46 linux $prefix/$snappy_ab/vmlinuz $cmdline46 linux $prefix/$snappy_ab/vmlinuz $cmdline
47 initrd $prefix/$snappy_ab/initrd.img47 initrd $prefix/$snappy_ab/initrd.img
48 else48 else

Subscribers

People subscribed via source and target branches