Merge lp:~xnox/debian-cd/drop-boot-casper into lp:~ubuntu-cdimage/debian-cd/ubun3
- drop-boot-casper
- Merge into ubun3
Proposed by
Dimitri John Ledkov
Status: | Merged |
---|---|
Merged at revision: | 2027 |
Proposed branch: | lp:~xnox/debian-cd/drop-boot-casper |
Merge into: | lp:~ubuntu-cdimage/debian-cd/ubun3 |
Diff against target: |
402 lines (+45/-45) 10 files modified
data/eoan/yaboot/yaboot.conf.check-live (+3/-3) data/eoan/yaboot/yaboot.conf.live (+9/-9) tools/boot/eoan/boot-amd64 (+10/-10) tools/boot/eoan/boot-amd64+mac (+6/-6) tools/boot/eoan/boot-arm64 (+7/-7) tools/boot/eoan/boot-armel+dove (+1/-1) tools/boot/eoan/boot-i386 (+6/-6) tools/boot/eoan/boot-ppc64el (+1/-1) tools/boot/eoan/boot-s390x (+1/-1) tools/boot/eoan/post-boot-armel+omap (+1/-1) |
To merge this branch: | bzr merge lp:~xnox/debian-cd/drop-boot-casper |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Approve | ||
Review via email: mp+366448@code.launchpad.net |
Commit message
eoan: drop boot=casper args in all the live images.
When casper initrd is generated with CASPER_
now also generates a conf.d snippet to default to boot=casper if not
otherwise set. This removes boilerplate from all of our default
installer boot entries.
Description of the change
eoan: drop boot=casper args in all the live images.
When casper initrd is generated with CASPER_
now also generates a conf.d snippet to default to boot=casper if not
otherwise set. This removes boilerplate from all of our default
installer boot entries.
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'data/eoan/yaboot/yaboot.conf.check-live' | |||
2 | --- data/eoan/yaboot/yaboot.conf.check-live 2019-04-20 08:07:06 +0000 | |||
3 | +++ data/eoan/yaboot/yaboot.conf.check-live 2019-04-24 11:48:21 +0000 | |||
4 | @@ -4,7 +4,7 @@ | |||
5 | 4 | label=check | 4 | label=check |
6 | 5 | alias=check-powerpc | 5 | alias=check-powerpc |
7 | 6 | initrd=${CASPER_POWERPC_INITRD} | 6 | initrd=${CASPER_POWERPC_INITRD} |
9 | 7 | append="boot=casper integrity-check quiet splash ---" | 7 | append="integrity-check quiet splash ---" |
10 | 8 | initrd-size=1048576 | 8 | initrd-size=1048576 |
11 | 9 | read-only | 9 | read-only |
12 | 10 | 10 | ||
13 | @@ -12,13 +12,13 @@ | |||
14 | 12 | image[macrisc4]=/casper/powerpc64/vmlinux | 12 | image[macrisc4]=/casper/powerpc64/vmlinux |
15 | 13 | label=check | 13 | label=check |
16 | 14 | initrd=${CASPER_POWERPC64_INITRD} | 14 | initrd=${CASPER_POWERPC64_INITRD} |
18 | 15 | append="boot=casper integrity-check quiet splash ---" | 15 | append="integrity-check quiet splash ---" |
19 | 16 | initrd-size=1048576 | 16 | initrd-size=1048576 |
20 | 17 | read-only | 17 | read-only |
21 | 18 | 18 | ||
22 | 19 | image=/casper/powerpc64/vmlinux | 19 | image=/casper/powerpc64/vmlinux |
23 | 20 | label=check-powerpc64 | 20 | label=check-powerpc64 |
24 | 21 | initrd=${CASPER_POWERPC64_INITRD} | 21 | initrd=${CASPER_POWERPC64_INITRD} |
26 | 22 | append="boot=casper integrity-check quiet splash ---" | 22 | append="integrity-check quiet splash ---" |
27 | 23 | initrd-size=1048576 | 23 | initrd-size=1048576 |
28 | 24 | read-only | 24 | read-only |
29 | 25 | 25 | ||
30 | === modified file 'data/eoan/yaboot/yaboot.conf.live' | |||
31 | --- data/eoan/yaboot/yaboot.conf.live 2019-04-20 08:07:06 +0000 | |||
32 | +++ data/eoan/yaboot/yaboot.conf.live 2019-04-24 11:48:21 +0000 | |||
33 | @@ -4,7 +4,7 @@ | |||
34 | 4 | label=live | 4 | label=live |
35 | 5 | alias=live-powerpc | 5 | alias=live-powerpc |
36 | 6 | initrd=${CASPER_POWERPC_INITRD} | 6 | initrd=${CASPER_POWERPC_INITRD} |
38 | 7 | append="${DEFAULT_PRESEED} boot=casper quiet splash ---" | 7 | append="${DEFAULT_PRESEED} quiet splash ---" |
39 | 8 | initrd-size=1048576 | 8 | initrd-size=1048576 |
40 | 9 | read-only | 9 | read-only |
41 | 10 | 10 | ||
42 | @@ -12,7 +12,7 @@ | |||
43 | 12 | label=live-nosplash | 12 | label=live-nosplash |
44 | 13 | alias=live-nosplash-powerpc | 13 | alias=live-nosplash-powerpc |
45 | 14 | initrd=${CASPER_POWERPC_INITRD} | 14 | initrd=${CASPER_POWERPC_INITRD} |
47 | 15 | append="${DEFAULT_PRESEED} boot=casper quiet ---" | 15 | append="${DEFAULT_PRESEED} quiet ---" |
48 | 16 | initrd-size=1048576 | 16 | initrd-size=1048576 |
49 | 17 | read-only | 17 | read-only |
50 | 18 | 18 | ||
51 | @@ -20,7 +20,7 @@ | |||
52 | 20 | label=driverupdates | 20 | label=driverupdates |
53 | 21 | alias=driverupdates-powerpc | 21 | alias=driverupdates-powerpc |
54 | 22 | initrd=${CASPER_POWERPC_INITRD} | 22 | initrd=${CASPER_POWERPC_INITRD} |
56 | 23 | append="${DEFAULT_PRESEED} boot=casper debian-installer/driver-update=true quiet splash ---" | 23 | append="${DEFAULT_PRESEED} debian-installer/driver-update=true quiet splash ---" |
57 | 24 | initrd-size=1048576 | 24 | initrd-size=1048576 |
58 | 25 | read-only | 25 | read-only |
59 | 26 | 26 | ||
60 | @@ -28,41 +28,41 @@ | |||
61 | 28 | image[macrisc4]=/casper/powerpc64/vmlinux | 28 | image[macrisc4]=/casper/powerpc64/vmlinux |
62 | 29 | label=live | 29 | label=live |
63 | 30 | initrd=${CASPER_POWERPC64_INITRD} | 30 | initrd=${CASPER_POWERPC64_INITRD} |
65 | 31 | append="${DEFAULT_PRESEED} boot=casper quiet splash ---" | 31 | append="${DEFAULT_PRESEED} quiet splash ---" |
66 | 32 | initrd-size=1048576 | 32 | initrd-size=1048576 |
67 | 33 | read-only | 33 | read-only |
68 | 34 | 34 | ||
69 | 35 | image[macrisc4]=/casper/powerpc64/vmlinux | 35 | image[macrisc4]=/casper/powerpc64/vmlinux |
70 | 36 | label=live-nosplash | 36 | label=live-nosplash |
71 | 37 | initrd=${CASPER_POWERPC64_INITRD} | 37 | initrd=${CASPER_POWERPC64_INITRD} |
73 | 38 | append="${DEFAULT_PRESEED} boot=casper quiet ---" | 38 | append="${DEFAULT_PRESEED} quiet ---" |
74 | 39 | initrd-size=1048576 | 39 | initrd-size=1048576 |
75 | 40 | read-only | 40 | read-only |
76 | 41 | 41 | ||
77 | 42 | image[macrisc4]=/casper/powerpc64/vmlinux | 42 | image[macrisc4]=/casper/powerpc64/vmlinux |
78 | 43 | label=driverupdates | 43 | label=driverupdates |
79 | 44 | initrd=${CASPER_POWERPC64_INITRD} | 44 | initrd=${CASPER_POWERPC64_INITRD} |
81 | 45 | append="${DEFAULT_PRESEED} boot=casper debian-installer/driver-update=true quiet splash ---" | 45 | append="${DEFAULT_PRESEED} debian-installer/driver-update=true quiet splash ---" |
82 | 46 | initrd-size=1048576 | 46 | initrd-size=1048576 |
83 | 47 | read-only | 47 | read-only |
84 | 48 | 48 | ||
85 | 49 | image=/casper/powerpc64/vmlinux | 49 | image=/casper/powerpc64/vmlinux |
86 | 50 | label=live-powerpc64 | 50 | label=live-powerpc64 |
87 | 51 | initrd=${CASPER_POWERPC64_INITRD} | 51 | initrd=${CASPER_POWERPC64_INITRD} |
89 | 52 | append="${DEFAULT_PRESEED} boot=casper quiet splash ---" | 52 | append="${DEFAULT_PRESEED} quiet splash ---" |
90 | 53 | initrd-size=1048576 | 53 | initrd-size=1048576 |
91 | 54 | read-only | 54 | read-only |
92 | 55 | 55 | ||
93 | 56 | image=/casper/powerpc64/vmlinux | 56 | image=/casper/powerpc64/vmlinux |
94 | 57 | label=live-nosplash-powerpc64 | 57 | label=live-nosplash-powerpc64 |
95 | 58 | initrd=${CASPER_POWERPC64_INITRD} | 58 | initrd=${CASPER_POWERPC64_INITRD} |
97 | 59 | append="${DEFAULT_PRESEED} boot=casper quiet ---" | 59 | append="${DEFAULT_PRESEED} quiet ---" |
98 | 60 | initrd-size=1048576 | 60 | initrd-size=1048576 |
99 | 61 | read-only | 61 | read-only |
100 | 62 | 62 | ||
101 | 63 | image=/casper/powerpc64/vmlinux | 63 | image=/casper/powerpc64/vmlinux |
102 | 64 | label=driverupdates-powerpc64 | 64 | label=driverupdates-powerpc64 |
103 | 65 | initrd=${CASPER_POWERPC64_INITRD} | 65 | initrd=${CASPER_POWERPC64_INITRD} |
105 | 66 | append="${DEFAULT_PRESEED} boot=casper debian-installer/driver-update=true quiet splash ---" | 66 | append="${DEFAULT_PRESEED} debian-installer/driver-update=true quiet splash ---" |
106 | 67 | initrd-size=1048576 | 67 | initrd-size=1048576 |
107 | 68 | read-only | 68 | read-only |
108 | 69 | 69 | ||
109 | === modified file 'tools/boot/eoan/boot-amd64' | |||
110 | --- tools/boot/eoan/boot-amd64 2019-04-20 08:07:06 +0000 | |||
111 | +++ tools/boot/eoan/boot-amd64 2019-04-24 11:48:21 +0000 | |||
112 | @@ -447,7 +447,7 @@ | |||
113 | 447 | label live | 447 | label live |
114 | 448 | menu label $livelabel | 448 | menu label $livelabel |
115 | 449 | kernel $CASPER_KERNEL | 449 | kernel $CASPER_KERNEL |
117 | 450 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams$LAYERFS_PATH_OPT initrd=$CASPER_INITRD $QUIET $SPLASH --- | 450 | append $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams$LAYERFS_PATH_OPT initrd=$CASPER_INITRD $QUIET $SPLASH --- |
118 | 451 | EOF | 451 | EOF |
119 | 452 | for variant in "" " (safe graphics)^ nomodeset"; do | 452 | for variant in "" " (safe graphics)^ nomodeset"; do |
120 | 453 | suffix="${variant%^*}" | 453 | suffix="${variant%^*}" |
121 | @@ -455,7 +455,7 @@ | |||
122 | 455 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 455 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
123 | 456 | menuentry "${livelabel#^}${suffix}" { | 456 | menuentry "${livelabel#^}${suffix}" { |
124 | 457 | set gfxpayload=keep | 457 | set gfxpayload=keep |
126 | 458 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams$LAYERFS_PATH_OPT $QUIET $SPLASH$extra_kopt --- | 458 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams$LAYERFS_PATH_OPT $QUIET $SPLASH$extra_kopt --- |
127 | 459 | initrd $CASPER_INITRD | 459 | initrd $CASPER_INITRD |
128 | 460 | } | 460 | } |
129 | 461 | EOF | 461 | EOF |
130 | @@ -463,7 +463,7 @@ | |||
131 | 463 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 463 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
132 | 464 | menuentry "${livelabel#^}" { | 464 | menuentry "${livelabel#^}" { |
133 | 465 | set gfxpayload=keep | 465 | set gfxpayload=keep |
135 | 466 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams$LAYERFS_PATH_OPT iso-scan/filename=\${iso_path} $QUIET $SPLASH --- | 466 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams$LAYERFS_PATH_OPT iso-scan/filename=\${iso_path} $QUIET $SPLASH --- |
136 | 467 | initrd $CASPER_INITRD | 467 | initrd $CASPER_INITRD |
137 | 468 | } | 468 | } |
138 | 469 | EOF | 469 | EOF |
139 | @@ -472,7 +472,7 @@ | |||
140 | 472 | label live-install | 472 | label live-install |
141 | 473 | menu label ^Install $HUMANPROJECT | 473 | menu label ^Install $HUMANPROJECT |
142 | 474 | kernel $CASPER_KERNEL | 474 | kernel $CASPER_KERNEL |
144 | 475 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity initrd=$CASPER_INITRD $QUIET $SPLASH --- | 475 | append $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity initrd=$CASPER_INITRD $QUIET $SPLASH --- |
145 | 476 | EOF | 476 | EOF |
146 | 477 | for variant in "" " (safe graphics)^ nomodeset"; do | 477 | for variant in "" " (safe graphics)^ nomodeset"; do |
147 | 478 | suffix="${variant%^*}" | 478 | suffix="${variant%^*}" |
148 | @@ -480,14 +480,14 @@ | |||
149 | 480 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 480 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
150 | 481 | menuentry "Install $HUMANPROJECT${suffix}" { | 481 | menuentry "Install $HUMANPROJECT${suffix}" { |
151 | 482 | set gfxpayload=keep | 482 | set gfxpayload=keep |
153 | 483 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity $QUIET $SPLASH$extra_kopt --- | 483 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity $QUIET $SPLASH$extra_kopt --- |
154 | 484 | initrd $CASPER_INITRD | 484 | initrd $CASPER_INITRD |
155 | 485 | } | 485 | } |
156 | 486 | EOF | 486 | EOF |
157 | 487 | done | 487 | done |
158 | 488 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 488 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
159 | 489 | menuentry "Install $HUMANPROJECT" { | 489 | menuentry "Install $HUMANPROJECT" { |
161 | 490 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity iso-scan/filename=\${iso_path} $QUIET $SPLASH --- | 490 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity iso-scan/filename=\${iso_path} $QUIET $SPLASH --- |
162 | 491 | initrd $CASPER_INITRD | 491 | initrd $CASPER_INITRD |
163 | 492 | } | 492 | } |
164 | 493 | EOF | 493 | EOF |
165 | @@ -567,7 +567,7 @@ | |||
166 | 567 | cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF | 567 | cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF |
167 | 568 | menuentry "OEM install (for manufacturers)" { | 568 | menuentry "OEM install (for manufacturers)" { |
168 | 569 | set gfxpayload=keep | 569 | set gfxpayload=keep |
170 | 570 | linux $CASPER_KERNEL $KERNEL_PARAMS ${DEFAULT_PRESEED/$PREFIX_PRESEED/$PREFIX_PRESEED${!kp}} boot=casper$LAYERFS_PATH_OPT only-ubiquity quiet splash oem-config/enable=true --- | 570 | linux $CASPER_KERNEL $KERNEL_PARAMS ${DEFAULT_PRESEED/$PREFIX_PRESEED/$PREFIX_PRESEED${!kp}} $LAYERFS_PATH_OPT only-ubiquity quiet splash oem-config/enable=true --- |
171 | 571 | initrd $CASPER_INITRD | 571 | initrd $CASPER_INITRD |
172 | 572 | } | 572 | } |
173 | 573 | EOF | 573 | EOF |
174 | @@ -651,18 +651,18 @@ | |||
175 | 651 | label check | 651 | label check |
176 | 652 | menu label ^Check disc for defects | 652 | menu label ^Check disc for defects |
177 | 653 | kernel $CASPER_KERNEL | 653 | kernel $CASPER_KERNEL |
179 | 654 | append $KERNEL_PARAMS boot=casper$LAYERFS_PATH_OPT integrity-check initrd=$CASPER_INITRD quiet splash --- | 654 | append $KERNEL_PARAMS $LAYERFS_PATH_OPT integrity-check initrd=$CASPER_INITRD quiet splash --- |
180 | 655 | EOF | 655 | EOF |
181 | 656 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 656 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
182 | 657 | menuentry "Check disc for defects" { | 657 | menuentry "Check disc for defects" { |
183 | 658 | set gfxpayload=keep | 658 | set gfxpayload=keep |
185 | 659 | linux $CASPER_KERNEL $KERNEL_PARAMS boot=casper$LAYERFS_PATH_OPT integrity-check quiet splash --- | 659 | linux $CASPER_KERNEL $KERNEL_PARAMS $LAYERFS_PATH_OPT integrity-check quiet splash --- |
186 | 660 | initrd $CASPER_INITRD | 660 | initrd $CASPER_INITRD |
187 | 661 | } | 661 | } |
188 | 662 | EOF | 662 | EOF |
189 | 663 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 663 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
190 | 664 | menuentry "Check disc for defects" { | 664 | menuentry "Check disc for defects" { |
192 | 665 | linux $CASPER_KERNEL $KERNEL_PARAMS boot=casper$LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash --- | 665 | linux $CASPER_KERNEL $KERNEL_PARAMS $LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash --- |
193 | 666 | initrd $CASPER_INITRD | 666 | initrd $CASPER_INITRD |
194 | 667 | } | 667 | } |
195 | 668 | EOF | 668 | EOF |
196 | 669 | 669 | ||
197 | === modified file 'tools/boot/eoan/boot-amd64+mac' | |||
198 | --- tools/boot/eoan/boot-amd64+mac 2019-04-20 08:07:06 +0000 | |||
199 | +++ tools/boot/eoan/boot-amd64+mac 2019-04-24 11:48:21 +0000 | |||
200 | @@ -365,12 +365,12 @@ | |||
201 | 365 | label live | 365 | label live |
202 | 366 | menu label $livelabel | 366 | menu label $livelabel |
203 | 367 | kernel /casper/vmlinuz | 367 | kernel /casper/vmlinuz |
205 | 368 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams initrd=$CASPER_INITRD quiet splash --- | 368 | append $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams initrd=$CASPER_INITRD quiet splash --- |
206 | 369 | EOF | 369 | EOF |
207 | 370 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 370 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
208 | 371 | menuentry "${livelabel#^}" { | 371 | menuentry "${livelabel#^}" { |
209 | 372 | set gfxpayload=keep | 372 | set gfxpayload=keep |
211 | 373 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams iso-scan/filename=\${iso_path} quiet splash --- | 373 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams iso-scan/filename=\${iso_path} quiet splash --- |
212 | 374 | initrd $CASPER_INITRD | 374 | initrd $CASPER_INITRD |
213 | 375 | } | 375 | } |
214 | 376 | EOF | 376 | EOF |
215 | @@ -379,11 +379,11 @@ | |||
216 | 379 | label live-install | 379 | label live-install |
217 | 380 | menu label ^Install $HUMANPROJECT | 380 | menu label ^Install $HUMANPROJECT |
218 | 381 | kernel /casper/vmlinuz | 381 | kernel /casper/vmlinuz |
220 | 382 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper only-ubiquity initrd=$CASPER_INITRD quiet splash --- | 382 | append $KERNEL_PARAMS $DEFAULT_PRESEED only-ubiquity initrd=$CASPER_INITRD quiet splash --- |
221 | 383 | EOF | 383 | EOF |
222 | 384 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 384 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
223 | 385 | menuentry "Install $HUMANPROJECT" { | 385 | menuentry "Install $HUMANPROJECT" { |
225 | 386 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- | 386 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- |
226 | 387 | initrd $CASPER_INITRD | 387 | initrd $CASPER_INITRD |
227 | 388 | } | 388 | } |
228 | 389 | EOF | 389 | EOF |
229 | @@ -489,11 +489,11 @@ | |||
230 | 489 | label check | 489 | label check |
231 | 490 | menu label ^Check disc for defects | 490 | menu label ^Check disc for defects |
232 | 491 | kernel /casper/vmlinuz | 491 | kernel /casper/vmlinuz |
234 | 492 | append $KERNEL_PARAMS boot=casper integrity-check initrd=$CASPER_INITRD quiet splash --- | 492 | append $KERNEL_PARAMS integrity-check initrd=$CASPER_INITRD quiet splash --- |
235 | 493 | EOF | 493 | EOF |
236 | 494 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 494 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
237 | 495 | menuentry "Check disc for defects" { | 495 | menuentry "Check disc for defects" { |
239 | 496 | linux /casper/vmlinuz $KERNEL_PARAMS boot=casper integrity-check iso-scan/filename=\${iso_path} quiet splash --- | 496 | linux /casper/vmlinuz $KERNEL_PARAMS integrity-check iso-scan/filename=\${iso_path} quiet splash --- |
240 | 497 | initrd $CASPER_INITRD | 497 | initrd $CASPER_INITRD |
241 | 498 | } | 498 | } |
242 | 499 | EOF | 499 | EOF |
243 | 500 | 500 | ||
244 | === modified file 'tools/boot/eoan/boot-arm64' | |||
245 | --- tools/boot/eoan/boot-arm64 2019-04-20 08:07:06 +0000 | |||
246 | +++ tools/boot/eoan/boot-arm64 2019-04-24 11:48:21 +0000 | |||
247 | @@ -176,14 +176,14 @@ | |||
248 | 176 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 176 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
249 | 177 | menuentry "${livelabel#^}" { | 177 | menuentry "${livelabel#^}" { |
250 | 178 | set gfxpayload=keep | 178 | set gfxpayload=keep |
252 | 179 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams$LAYERFS_PATH_OPT quiet splash --- | 179 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams$LAYERFS_PATH_OPT quiet splash --- |
253 | 180 | initrd $CASPER_INITRD | 180 | initrd $CASPER_INITRD |
254 | 181 | } | 181 | } |
255 | 182 | EOF | 182 | EOF |
256 | 183 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 183 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
257 | 184 | menuentry "${livelabel#^}" { | 184 | menuentry "${livelabel#^}" { |
258 | 185 | set gfxpayload=keep | 185 | set gfxpayload=keep |
260 | 186 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams$LAYERFS_PATH_OPT iso-scan/filename=\${iso_path} quiet splash --- | 186 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams$LAYERFS_PATH_OPT iso-scan/filename=\${iso_path} quiet splash --- |
261 | 187 | initrd $CASPER_INITRD | 187 | initrd $CASPER_INITRD |
262 | 188 | } | 188 | } |
263 | 189 | EOF | 189 | EOF |
264 | @@ -191,13 +191,13 @@ | |||
265 | 191 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 191 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
266 | 192 | menuentry "Install $HUMANPROJECT" { | 192 | menuentry "Install $HUMANPROJECT" { |
267 | 193 | set gfxpayload=keep | 193 | set gfxpayload=keep |
269 | 194 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity quiet splash --- | 194 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity quiet splash --- |
270 | 195 | initrd $CASPER_INITRD | 195 | initrd $CASPER_INITRD |
271 | 196 | } | 196 | } |
272 | 197 | EOF | 197 | EOF |
273 | 198 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 198 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
274 | 199 | menuentry "Install $HUMANPROJECT" { | 199 | menuentry "Install $HUMANPROJECT" { |
276 | 200 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- | 200 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- |
277 | 201 | initrd $CASPER_INITRD | 201 | initrd $CASPER_INITRD |
278 | 202 | } | 202 | } |
279 | 203 | EOF | 203 | EOF |
280 | @@ -232,7 +232,7 @@ | |||
281 | 232 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 232 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
282 | 233 | menuentry "OEM install (for manufacturers)" { | 233 | menuentry "OEM install (for manufacturers)" { |
283 | 234 | set gfxpayload=keep | 234 | set gfxpayload=keep |
285 | 235 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$LAYERFS_PATH_OPT only-ubiquity quiet splash oem-config/enable=true --- | 235 | linux $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED $LAYERFS_PATH_OPT only-ubiquity quiet splash oem-config/enable=true --- |
286 | 236 | initrd $CASPER_INITRD | 236 | initrd $CASPER_INITRD |
287 | 237 | } | 237 | } |
288 | 238 | EOF | 238 | EOF |
289 | @@ -270,13 +270,13 @@ | |||
290 | 270 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF | 270 | cat >> $CDDIR/boot/grub/grub.cfg <<EOF |
291 | 271 | menuentry "Check disc for defects" { | 271 | menuentry "Check disc for defects" { |
292 | 272 | set gfxpayload=keep | 272 | set gfxpayload=keep |
294 | 273 | linux $CASPER_KERNEL $KERNEL_PARAMS boot=casper$LAYERFS_PATH_OPT integrity-check quiet splash --- | 273 | linux $CASPER_KERNEL $KERNEL_PARAMS $LAYERFS_PATH_OPT integrity-check quiet splash --- |
295 | 274 | initrd $CASPER_INITRD | 274 | initrd $CASPER_INITRD |
296 | 275 | } | 275 | } |
297 | 276 | EOF | 276 | EOF |
298 | 277 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 277 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
299 | 278 | menuentry "Check disc for defects" { | 278 | menuentry "Check disc for defects" { |
301 | 279 | linux $CASPER_KERNEL $KERNEL_PARAMS boot=casper$LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash --- | 279 | linux $CASPER_KERNEL $KERNEL_PARAMS $LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash --- |
302 | 280 | initrd $CASPER_INITRD | 280 | initrd $CASPER_INITRD |
303 | 281 | } | 281 | } |
304 | 282 | EOF | 282 | EOF |
305 | 283 | 283 | ||
306 | === modified file 'tools/boot/eoan/boot-armel+dove' | |||
307 | --- tools/boot/eoan/boot-armel+dove 2019-04-20 08:07:06 +0000 | |||
308 | +++ tools/boot/eoan/boot-armel+dove 2019-04-24 11:48:21 +0000 | |||
309 | @@ -120,7 +120,7 @@ | |||
310 | 120 | uboot_input_initrd="$CDDIR/casper/filesystem.initrd-$FLAVOUR" | 120 | uboot_input_initrd="$CDDIR/casper/filesystem.initrd-$FLAVOUR" |
311 | 121 | uboot_kernel="/casper/uImage" | 121 | uboot_kernel="/casper/uImage" |
312 | 122 | uboot_initrd="/casper/uInitrd" | 122 | uboot_initrd="/casper/uInitrd" |
314 | 123 | uboot_extra_cmdline=" --- boot=casper" | 123 | uboot_extra_cmdline=" --- " |
315 | 124 | fi | 124 | fi |
316 | 125 | 125 | ||
317 | 126 | if [ "$do_uboot" ]; then | 126 | if [ "$do_uboot" ]; then |
318 | 127 | 127 | ||
319 | === modified file 'tools/boot/eoan/boot-i386' | |||
320 | --- tools/boot/eoan/boot-i386 2019-04-20 08:07:06 +0000 | |||
321 | +++ tools/boot/eoan/boot-i386 2019-04-24 11:48:21 +0000 | |||
322 | @@ -404,11 +404,11 @@ | |||
323 | 404 | label live | 404 | label live |
324 | 405 | menu label $livelabel | 405 | menu label $livelabel |
325 | 406 | kernel /casper/vmlinuz | 406 | kernel /casper/vmlinuz |
327 | 407 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams initrd=$CASPER_INITRD quiet splash --- | 407 | append $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams initrd=$CASPER_INITRD quiet splash --- |
328 | 408 | EOF | 408 | EOF |
329 | 409 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 409 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
330 | 410 | menuentry "${livelabel#^}" { | 410 | menuentry "${livelabel#^}" { |
332 | 411 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams iso-scan/filename=\${iso_path} quiet splash --- | 411 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED $liveparams iso-scan/filename=\${iso_path} quiet splash --- |
333 | 412 | initrd $CASPER_INITRD | 412 | initrd $CASPER_INITRD |
334 | 413 | } | 413 | } |
335 | 414 | EOF | 414 | EOF |
336 | @@ -417,11 +417,11 @@ | |||
337 | 417 | label live-install | 417 | label live-install |
338 | 418 | menu label ^Install $HUMANPROJECT | 418 | menu label ^Install $HUMANPROJECT |
339 | 419 | kernel /casper/vmlinuz | 419 | kernel /casper/vmlinuz |
341 | 420 | append $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper only-ubiquity initrd=$CASPER_INITRD quiet splash --- | 420 | append $KERNEL_PARAMS $DEFAULT_PRESEED only-ubiquity initrd=$CASPER_INITRD quiet splash --- |
342 | 421 | EOF | 421 | EOF |
343 | 422 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 422 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
344 | 423 | menuentry "Install $HUMANPROJECT" { | 423 | menuentry "Install $HUMANPROJECT" { |
346 | 424 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- | 424 | linux /casper/vmlinuz $KERNEL_PARAMS $DEFAULT_PRESEED only-ubiquity iso-scan/filename=\${iso_path} quiet splash --- |
347 | 425 | initrd $CASPER_INITRD | 425 | initrd $CASPER_INITRD |
348 | 426 | } | 426 | } |
349 | 427 | EOF | 427 | EOF |
350 | @@ -533,11 +533,11 @@ | |||
351 | 533 | label check | 533 | label check |
352 | 534 | menu label ^Check disc for defects | 534 | menu label ^Check disc for defects |
353 | 535 | kernel /casper/vmlinuz | 535 | kernel /casper/vmlinuz |
355 | 536 | append $KERNEL_PARAMS boot=casper integrity-check initrd=$CASPER_INITRD quiet splash --- | 536 | append $KERNEL_PARAMS integrity-check initrd=$CASPER_INITRD quiet splash --- |
356 | 537 | EOF | 537 | EOF |
357 | 538 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF | 538 | cat >> $CDDIR/boot/grub/loopback.cfg <<EOF |
358 | 539 | menuentry "Check disc for defects" { | 539 | menuentry "Check disc for defects" { |
360 | 540 | linux /casper/vmlinuz $KERNEL_PARAMS boot=casper integrity-check iso-scan/filename=\${iso_path} quiet splash --- | 540 | linux /casper/vmlinuz $KERNEL_PARAMS integrity-check iso-scan/filename=\${iso_path} quiet splash --- |
361 | 541 | initrd $CASPER_INITRD | 541 | initrd $CASPER_INITRD |
362 | 542 | } | 542 | } |
363 | 543 | EOF | 543 | EOF |
364 | 544 | 544 | ||
365 | === modified file 'tools/boot/eoan/boot-ppc64el' | |||
366 | --- tools/boot/eoan/boot-ppc64el 2019-04-20 08:07:06 +0000 | |||
367 | +++ tools/boot/eoan/boot-ppc64el 2019-04-24 11:48:21 +0000 | |||
368 | @@ -128,7 +128,7 @@ | |||
369 | 128 | cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF | 128 | cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF |
370 | 129 | menuentry "Install $HUMANPROJECT${!kp:+ (HWE)}" { | 129 | menuentry "Install $HUMANPROJECT${!kp:+ (HWE)}" { |
371 | 130 | set gfxpayload=keep | 130 | set gfxpayload=keep |
373 | 131 | linux /casper/${!kp}vmlinux $KERNEL_PARAMS boot=casper quiet --- | 131 | linux /casper/${!kp}vmlinux $KERNEL_PARAMS quiet --- |
374 | 132 | initrd /casper/${!kp}initrd.gz | 132 | initrd /casper/${!kp}initrd.gz |
375 | 133 | } | 133 | } |
376 | 134 | EOF | 134 | EOF |
377 | 135 | 135 | ||
378 | === modified file 'tools/boot/eoan/boot-s390x' | |||
379 | --- tools/boot/eoan/boot-s390x 2019-04-20 08:07:06 +0000 | |||
380 | +++ tools/boot/eoan/boot-s390x 2019-04-24 11:48:21 +0000 | |||
381 | @@ -57,7 +57,7 @@ | |||
382 | 57 | 57 | ||
383 | 58 | # For server-live images, use casper's initrd and kernel instead | 58 | # For server-live images, use casper's initrd and kernel instead |
384 | 59 | if [ "$CDIMAGE_LIVE" = 1 ]; then | 59 | if [ "$CDIMAGE_LIVE" = 1 ]; then |
386 | 60 | CMDLINE="boot=casper$LAYERFS_PATH_OPT --- quiet" | 60 | CMDLINE="$LAYERFS_PATH_OPT --- quiet" |
387 | 61 | mv $CDDIR/casper/filesystem.initrd-generic $imagedir/initrd.ubuntu | 61 | mv $CDDIR/casper/filesystem.initrd-generic $imagedir/initrd.ubuntu |
388 | 62 | mv $CDDIR/casper/filesystem.kernel-generic $imagedir/kernel.ubuntu | 62 | mv $CDDIR/casper/filesystem.kernel-generic $imagedir/kernel.ubuntu |
389 | 63 | echo "$CMDLINE" > $imagedir/parmfile.ubuntu | 63 | echo "$CMDLINE" > $imagedir/parmfile.ubuntu |
390 | 64 | 64 | ||
391 | === modified file 'tools/boot/eoan/post-boot-armel+omap' | |||
392 | --- tools/boot/eoan/post-boot-armel+omap 2019-04-20 08:07:06 +0000 | |||
393 | +++ tools/boot/eoan/post-boot-armel+omap 2019-04-24 11:48:21 +0000 | |||
394 | @@ -139,7 +139,7 @@ | |||
395 | 139 | uboot_desc="Ubuntu LiveCD" | 139 | uboot_desc="Ubuntu LiveCD" |
396 | 140 | uboot_input_kernel="$CDDIR/casper/filesystem.kernel-$SUBARCH" | 140 | uboot_input_kernel="$CDDIR/casper/filesystem.kernel-$SUBARCH" |
397 | 141 | uboot_input_initrd="$CDDIR/casper/filesystem.initrd-$SUBARCH" | 141 | uboot_input_initrd="$CDDIR/casper/filesystem.initrd-$SUBARCH" |
399 | 142 | uboot_extra_cmdline=" fixrtc quiet splash -- boot=casper only-ubiquity" | 142 | uboot_extra_cmdline=" fixrtc quiet splash -- only-ubiquity" |
400 | 143 | fi | 143 | fi |
401 | 144 | 144 | ||
402 | 145 | if [ "$CDIMAGE_PREINSTALLED" = 1 ]; then | 145 | if [ "$CDIMAGE_PREINSTALLED" = 1 ]; then |
The corresponding casper change is
http:// launchpadlibrar ian.net/ 420743378/ casper_ 1.405_1. 406.diff. gz
And today's dailies do boot to the live system, only-ubiquity, maybe-ubiquity even when one edits the kernel command line to drop boot=casper arg.