openwrt/target/linux/x86/image
Alexandru Ardelean 81a2f9d6f8 target/linux/x86/image: add explicit prefix to grub-mkimage command
In the latest version of grub-mkimage, the prefix option is mandatory.
Not supplying it fails with:
```
Prefix not specified (use the -p option).
```

In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined
in `include/grub/osdep/hostfile_unix.h` as:
```
 #if defined (__NetBSD__)
 /* NetBSD uses /boot for its boot block.  */
 # define DEFAULT_DIRECTORY  "/"GRUB_DIR_NAME
 #else
 # define DEFAULT_DIRECTORY  "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME
 #endif
```

Where:
* GRUB_BOOT_DIR_NAME == boot
* GRUB_DIR_NAME == grub

This was used if the -p option was omitted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-20 16:24:21 +01:00
..
gen_image_generic.sh all: replace genext2fs with make_ext4fs 2015-04-20 13:57:43 +00:00
grub-early.cfg
grub-iso.cfg branding: add LEDE branding 2016-03-24 22:40:13 +01:00
grub.cfg x86: fix GRUB_ROOT for Xen subtarget 2016-11-19 11:45:29 +01:00
Makefile target/linux/x86/image: add explicit prefix to grub-mkimage command 2016-12-20 16:24:21 +01:00