Test package results on focal: all good.
$ lsb_release -cs focal
Before: ------
$ sudo apt install --yes casper # focal-proposed
$ dpkg -s casper | grep Version: Version: 1.445.2
1) Without fsck.mode=skip: check occurs (OK)
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Checking integrity, this may take some time ^C
2) With fsck.mode=skip last: check occurs (WRONG!)
$ echo "$(cat /proc/cmdline) fsck.mode=skip" >/tmp/cmdline $ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Checking integrity, this may take some time ^C $ sudo umount /proc/cmdline
3) With fsck.mode=skip before last: check skipped (OK; workaround available)
$ echo "$(cat /proc/cmdline) fsck.mode=skip workaround" >/tmp/cmdline $ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip workaround
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Check skipped. ^C $ sudo umount /proc/cmdline
After: -----
$ sudo dpkg -i casper_1.445.3_amd64.deb
$ dpkg -s casper | grep Version: Version: 1.445.3
1) Without fsck.mode=skip: check occurs (OK), and hint is provided
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Checking integrity, this may take some time (or try: fsck.mode=skip) ^C
2) With fsck.mode=skip last: check skipped (OK; FIXED!)
3) With fsck.mode=skip before last: check skipped (OK; no regression)
Test package results on focal: all good.
$ lsb_release -cs
focal
Before:
------
$ sudo apt install --yes casper # focal-proposed
$ dpkg -s casper | grep Version:
Version: 1.445.2
1) Without fsck.mode=skip: check occurs (OK)
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Checking integrity, this may take some time
^C
2) With fsck.mode=skip last: check occurs (WRONG!)
$ echo "$(cat /proc/cmdline) fsck.mode=skip" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Checking integrity, this may take some time
^C
$ sudo umount /proc/cmdline
3) With fsck.mode=skip before last: check skipped (OK; workaround available)
$ echo "$(cat /proc/cmdline) fsck.mode=skip workaround" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip workaround
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Check skipped.
^C
$ sudo umount /proc/cmdline
After:
-----
$ sudo dpkg -i casper_ 1.445.3_ amd64.deb
$ dpkg -s casper | grep Version:
Version: 1.445.3
1) Without fsck.mode=skip: check occurs (OK), and hint is provided
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Checking integrity, this may take some time (or try: fsck.mode=skip)
^C
2) With fsck.mode=skip last: check skipped (OK; FIXED!)
$ echo "$(cat /proc/cmdline) fsck.mode=skip" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Check skipped.
^C
$ sudo umount /proc/cmdline
3) With fsck.mode=skip before last: check skipped (OK; no regression)
$ echo "$(cat /proc/cmdline) fsck.mode=skip workaround" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip workaround
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Check skipped.
^C
$ sudo umount /proc/cmdline