Merge lp:~xnox/debian-cd/drop-integrity-check-menu-entry into lp:~ubuntu-cdimage/debian-cd/ubun3

Proposed by Dimitri John Ledkov
Status: Merged
Approved by: Iain Lane
Approved revision: 2048
Merged at revision: 2051
Proposed branch: lp:~xnox/debian-cd/drop-integrity-check-menu-entry
Merge into: lp:~ubuntu-cdimage/debian-cd/ubun3
Diff against target: 59 lines (+2/-36)
2 files modified
tools/boot/focal/boot-amd64 (+1/-21)
tools/boot/focal/boot-arm64 (+1/-15)
To merge this branch: bzr merge lp:~xnox/debian-cd/drop-integrity-check-menu-entry
Reviewer Review Type Date Requested Status
Iain Lane Approve
Review via email: mp+381966@code.launchpad.net

Commit message

focal: drop casper integrity-check menu-entry, it is now performed on every boot

Description of the change

focal: drop casper integrity-check menu-entry, it is now performed on every boot

To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

https://launchpad.net/ubuntu/+source/casper/1.440 and up do integrity check by default, later uploads fixed integration with different plymouth themes.

Revision history for this message
Iain Lane (laney) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/boot/focal/boot-amd64'
--- tools/boot/focal/boot-amd64 2020-04-01 10:28:48 +0000
+++ tools/boot/focal/boot-amd64 2020-04-08 22:37:25 +0000
@@ -644,27 +644,7 @@
644applies ltsp=install644applies ltsp=install
645EOF645EOF
646fi646fi
647if [ "$CDIMAGE_LIVE" = 1 ]; then647if [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
648 cat >> boot$N/isolinux/txt.cfg <<EOF
649label check
650 menu label ^Check disc for defects
651 kernel $CASPER_KERNEL
652 append $KERNEL_PARAMS$LAYERFS_PATH_OPT integrity-check initrd=$CASPER_INITRD quiet splash ---
653EOF
654 cat >> $CDDIR/boot/grub/grub.cfg <<EOF
655menuentry "Check disc for defects" {
656 set gfxpayload=keep
657 linux $CASPER_KERNEL\$casper_flavour $KERNEL_PARAMS$LAYERFS_PATH_OPT integrity-check quiet splash ---
658 initrd $CASPER_INITRD\$casper_flavour
659}
660EOF
661 cat >> $CDDIR/boot/grub/loopback.cfg <<EOF
662menuentry "Check disc for defects" {
663 linux $CASPER_KERNEL\$casper_flavour $KERNEL_PARAMS$LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash ---
664 initrd $CASPER_INITRD\$casper_flavour
665}
666EOF
667elif [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
668 cat >> boot$N/isolinux/txt.cfg <<EOF648 cat >> boot$N/isolinux/txt.cfg <<EOF
669label check649label check
670 menu label ^Check disc for defects650 menu label ^Check disc for defects
671651
=== modified file 'tools/boot/focal/boot-arm64'
--- tools/boot/focal/boot-arm64 2020-02-18 17:37:38 +0000
+++ tools/boot/focal/boot-arm64 2020-04-08 22:37:25 +0000
@@ -247,21 +247,7 @@
247EOF247EOF
248 done248 done
249fi249fi
250if [ "$CDIMAGE_LIVE" = 1 ]; then250if [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
251 cat >> $CDDIR/boot/grub/grub.cfg <<EOF
252menuentry "Check disc for defects" {
253 set gfxpayload=keep
254 linux $CASPER_KERNEL $KERNEL_PARAMS$LAYERFS_PATH_OPT integrity-check quiet splash ---
255 initrd $CASPER_INITRD
256}
257EOF
258 cat >> $CDDIR/boot/grub/loopback.cfg <<EOF
259menuentry "Check disc for defects" {
260 linux $CASPER_KERNEL $KERNEL_PARAMS$LAYERFS_PATH_OPT integrity-check iso-scan/filename=\${iso_path} quiet splash ---
261 initrd $CASPER_INITRD
262}
263EOF
264elif [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
265 for kp in $KERNEL_PREFIXES; do251 for kp in $KERNEL_PREFIXES; do
266 cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF252 cat >> $CDDIR/boot/grub/${!kp}grub.cfg <<EOF
267menuentry "Check disc for defects" {253menuentry "Check disc for defects" {

Subscribers

People subscribed via source and target branches