Reread partition table after installing MBR to ensure devices exist
authorMichael Prokop <mika@grml.org>
Wed, 3 Jun 2020 11:45:54 +0000 (13:45 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 3 Jun 2020 12:03:59 +0000 (14:03 +0200)
commitfcf63b74e77193db1cc5e797e79f20736de23222
tree158b5722143ced6903db1e2add613babf1ab0ae8
parentaed7d831e1c9616cfeb4a2206d9e18bf7c8be24b
Reread partition table after installing MBR to ensure devices exist

We need to execute blockdev after installing the MBR, otherwise
the devices might not exist yet as expected and executing syslinux
can fail therefore.

While at it remove duplicate mbrtemplate python docstring in install_mbr

Closes: grml/grml2usb#33
Thanks: Darshaka Pathirana for debugging
grml2usb