Option --rw-blockdev: ensure to set device to rw between grub-install runs + don...
authorMichael Prokop <mika@grml.org>
Wed, 24 May 2017 13:31:21 +0000 (15:31 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 24 May 2017 13:45:55 +0000 (15:45 +0200)
commit463068976531bda91d3fe79246bd58bc3f88031d
tree1fc20d0b5acbcc51343971a949d0e6f45141f3e5
parente4a774796aafe18d465cc9d1891d56c3e8be5409
Option --rw-blockdev: ensure to set device to rw between grub-install runs + don't set rw on source

If we're invoking set_rw on the source device this probably
points to the source ISO which will fail.

On the other side we invoke grub-intall with and without --force
in a loop and have to unblock the underlying block device in
between as well, otherwise failing to install.
grml2usb