openwrtv4/target
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
..
imagebuilder target/imagebuilder: Switch to xz compression instead of bz2 2016-10-15 11:36:51 +02:00
linux target/linux/x86/image: add explicit prefix to grub-mkimage command 2016-12-20 16:24:21 +01:00
sdk docs: remove all refrences in Makefiles/scripts 2016-11-30 10:13:14 +01:00
toolchain target/toolchain: Fix toolchain packaging without package build 2016-09-06 11:40:12 +02:00
Config.in kernel: add plan 9 fs package 2016-08-11 10:45:33 +02:00
Makefile sdk: depend on linux/install 2016-11-04 16:14:51 +01:00