[Git-commits] [grml/grml-debootstrap] 7ef324: interactive mode: ignore failures when identifying...
Michael Prokop
noreply at github.com
Tue Dec 3 12:08:37 CET 2024
Branch: refs/heads/master
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
Commit: 770eaa35630d7769a456e981e7d5f2a6edd3c905
https://github.com/grml/grml-debootstrap/commit/770eaa35630d7769a456e981e7d5f2a6edd3c905
Author: Michael Prokop <115592+mika at users.noreply.github.com>
Date: 2024-12-03 (Tue, 03 Dec 2024)
Changed paths:
M grml-debootstrap
Log Message:
-----------
Merge pull request #296 from grml/mika/ventoy
interactive mode: ignore failures when identifying file system fails
Compare: https://github.com/grml/grml-debootstrap/compare/1bb816f08d4c...770eaa35630d
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