[Git-commits] [grml/grml-debootstrap] 7ef324: interactive mode: ignore failures when identifying...
Michael Prokop
noreply at github.com
Fri Nov 29 14:26:41 CET 2024
Branch: refs/heads/mika/ventoy
Home: https://github.com/grml/grml-debootstrap
Commit: 7ef3249e1cc6cb5a711de55a32d8ac5ffed686b4
https://github.com/grml/grml-debootstrap/commit/7ef3249e1cc6cb5a711de55a32d8ac5ffed686b4
Author: Michael Prokop <mika at grml.org>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M grml-debootstrap
Log Message:
-----------
interactive mode: ignore failures when identifying file system fails
When booting Grml from a YUMI device (see https://yumiusb.com/) which
was built with Ventoy, then executing `blkid -s TYPE -o value /dev/dm-0p1` might fail, if ventoy is behind the /dev/dm-0p1:
| root at grml:~# dmsetup ls
| ventoy (253:0)
Fixes:
++ for i in $AVAILABLE_PARTITIONS
+++ blkid -s TYPE -o value /dev/dm-0p1
++++ error_handler
++++ last_exit_code=2
++++ last_bash_command='blkid -s TYPE -o value "$i" 2> /dev/null'
++++ echo 'Unexpected non-zero exit code 2 in /usr/sbin/grml-debootstrap /usr/sbin/grml-debootstrap /usr/sbin/grml-debootstrap /usr/sbin/grml-debootstrap at line 744 1151 1166 0 detected!
last bash command: blkid -s TYPE -o value "$i" 2> /dev/null'
++++ '[' -r /mnt/debootstrap.5465/debootstrap/debootstrap.log ']'
Thanks to klatls for the bug report
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-debootstrap/settings/notifications
More information about the Git-commits
mailing list