Package: grml2usb
Version: 0.14.10
Severity: grave
There seems to be a regression when executing grml2usb on
systems being Debian/jessie or newer, quite often causing syslinux
to fail its execution:
| [...]
| Installing default MBR
| Installing syslinux as bootloader
| syslinux: /dev/sdb1: No such file or directory
| Fatal: Error executing syslinux (either try --fat16 or use grub?)
The installation of the MBR causes pending writes not being finished
before syslinux is executed.
This simple change fixes the problem:
,---- [ pending fix ]
| --- a/grml2usb
| +++ b/grml2usb
| @@ -645,6 +645,10 @@ def install_mbr(mbrtemplate, device, partition,
ismirbsdmbr=True):
| raise Exception("error executing dd (third run)")
| del tmpf
|
| + # make sure we sync filesystems before returning
| + proc = subprocess.Popen(["sync"])
| + proc.wait()
| +
|
| def is_writeable(device):
| """Check if the device is writeable for the current user
`----
grml2usb shouldn't be released with Debian/jessie without this
change, I'm planning to upload a grml2usb package to unstable
including this fix and will submit an unblock request.
regards,
-mika-
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]