13eaa40e5e
grub2-install has been re-written [1] so isn't always a shell script, so just exec it directly. Also use $() as that follows the rest of the file. [1] http://git.savannah.gnu.org/cgit/grub.git/commit?id=cd46aa6cefabd7b0fcb15cd614577e1ab8c7a841 Change-Id: Ib4fd7c6854fb485c0da6a79babf4a3d45a8a0f2c |
||
---|---|---|
.. | ||
block-device.d | ||
cleanup.d | ||
finalise.d | ||
README.md |
Sets up a partitioned disk (rather than building just one filesystem with no partition table).
By default the disk will have grub[2]-install run on it. In case GRUB2 is not available in the system, a fallback to Extlinux will happen. It's also possible to enforce the use of Extlinux by exporting a DIB_EXTLINUX variable to the environment.