Merge lp:~xnox/debian-cd/boot-s390x-live into lp:~ubuntu-cdimage/debian-cd/ubun3

Proposed by Dimitri John Ledkov
Status: Merged
Merge reported by: Dimitri John Ledkov
Merged at revision: not available
Proposed branch: lp:~xnox/debian-cd/boot-s390x-live
Merge into: lp:~ubuntu-cdimage/debian-cd/ubun3
Diff against target: 29 lines (+11/-1)
1 file modified
tools/boot/disco/boot-s390x (+11/-1)
To merge this branch: bzr merge lp:~xnox/debian-cd/boot-s390x-live
Reviewer Review Type Date Requested Status
Ubuntu CD Image Team Pending
Review via email: mp+358659@code.launchpad.net

Commit message

boot-s390x: enable LIVE (casper) boot. Correct El-torito image cmdline.

tested with a local deployment of ubuntu-cdimage+debian-cd; please merge and deploy.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/boot/disco/boot-s390x'
--- tools/boot/disco/boot-s390x 2018-10-30 13:12:35 +0000
+++ tools/boot/disco/boot-s390x 2018-11-12 18:09:16 +0000
@@ -53,6 +53,16 @@
53cp -lf "$DI_DIR/generic/initrd.off" $imagedir53cp -lf "$DI_DIR/generic/initrd.off" $imagedir
54cp -lf "$DI_DIR/generic/initrd.siz" $imagedir54cp -lf "$DI_DIR/generic/initrd.siz" $imagedir
5555
56# For server-live images, use casper's initrd and kernel instead
57if [ "$CDIMAGE_LIVE" = 1 ]; then
58 CMDLINE="boot=casper --- quiet"
59 mv $CDDIR/casper/filesystem.initrd-generic $imagedir/initrd.ubuntu
60 mv $CDDIR/casper/filesystem.kernel-generic $imagedir/kernel.ubuntu
61 perl -e "print pack('N', -s '$imagedir/kernel.ubuntu')" > $imagedir/initrd.siz
62else
63 CMDLINE="''"
64fi
65
56hwedir="boot$N/boot-hwe"66hwedir="boot$N/boot-hwe"
57if [ -d "$DI_DIR/hwe-generic" ]67if [ -d "$DI_DIR/hwe-generic" ]
58then68then
@@ -67,7 +77,7 @@
67 cp -lf "$DI_DIR/hwe-generic/initrd.siz" $hwedir77 cp -lf "$DI_DIR/hwe-generic/initrd.siz" $hwedir
68fi78fi
6979
70$BASEDIR/tools/gen-s390-cd-kernel.pl --initrd=$imagedir/initrd.ubuntu --kernel=$imagedir/kernel.ubuntu --outfile=$imagedir/ubuntu.ikr80$BASEDIR/tools/gen-s390-cd-kernel.pl --initrd=$imagedir/initrd.ubuntu --kernel=$imagedir/kernel.ubuntu --cmdline="$CMDLINE" --outfile=$imagedir/ubuntu.ikr
7181
72cp "$DI_DIR/MANIFEST.udebs" .82cp "$DI_DIR/MANIFEST.udebs" .
73list_kernel_abis $images_S390 | check_kernel_sync83list_kernel_abis $images_S390 | check_kernel_sync

Subscribers

People subscribed via source and target branches