[Git-commits] [grml/grml-debootstrap] 7b4bd2: Verify that GRUB configuration points to valid blo...
Michael Prokop
noreply at github.com
Fri May 9 11:41:51 CEST 2025
Branch: refs/heads/mika/valid-grub-target
Home: https://github.com/grml/grml-debootstrap
Commit: 7b4bd2dfd0845efdb7686999dc6db8d082b870bf
https://github.com/grml/grml-debootstrap/commit/7b4bd2dfd0845efdb7686999dc6db8d082b870bf
Author: Michael Prokop <mika at grml.org>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M grml-debootstrap
Log Message:
-----------
Verify that GRUB configuration points to valid block device
One can invoke grml-debootstrap with options like:
--grub /dev/
--grub /dev/fail
and none of those will warn or abort, while it ends up within GRUB's
install_devices debconf configuration.
We also invoke `grub-install --no-floppy --target=i386-pc "${device}"`,
which fails hard with "${device}" being set to /dev or /dev/fail
as mentioned above.
Avoid any such mis-usage, by validating that the GRUB device
at least points to a valid block device.
See https://github.com/grml/grml-debootstrap/issues/339
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