~xnox/debian-cd/drop-dead-groovy

« back to all changes in this revision

Viewing changes to tools/boot/focal/boot-amd64

  • Committer: Iain Lane
  • Date: 2020-04-15 12:15:16 UTC
  • mfrom: (2047.1.1 debian-cd)
  • Revision ID: iain.lane@canonical.com-20200415121516-7lze0u4q9oexmaom
mergeĀ lp:~xnox/debian-cd/drop-integrity-check-menu-entry

Show diffs side-by-side

added added

removed removed

Lines of Context:
644
644
applies ltsp=install
645
645
EOF
646
646
fi
647
 
if [ "$CDIMAGE_LIVE" = 1 ]; then
648
 
    cat >> boot$N/isolinux/txt.cfg <<EOF
649
 
label 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 ---
653
 
EOF
654
 
    cat >> $CDDIR/boot/grub/grub.cfg <<EOF
655
 
menuentry "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
 
}
660
 
EOF
661
 
    cat >> $CDDIR/boot/grub/loopback.cfg <<EOF
662
 
menuentry "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
 
}
666
 
EOF
667
 
elif [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
 
647
if [ "$CDIMAGE_INSTALL_BASE" = 1 ]; then
668
648
    cat >> boot$N/isolinux/txt.cfg <<EOF
669
649
label check
670
650
  menu label ^Check disc for defects