Sync filesystems before returning from MBR installation
authorMichael Prokop <mika@grml.org>
Wed, 25 Feb 2015 11:28:57 +0000 (12:28 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 25 Feb 2015 11:32:51 +0000 (12:32 +0100)
We need to make sure the device/filesystem is synced, otherwise
syslinux installation might fail with:

| [...]
| 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?)

fsync-ing via dd isn't enough, so we need to make it
a full sync.

Closes: #779193


No differences found