You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/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>
8 years ago
..
imagebuilder target/imagebuilder: Switch to xz compression instead of bz2 8 years ago
linux target/linux/x86/image: add explicit prefix to grub-mkimage command 8 years ago
sdk docs: remove all refrences in Makefiles/scripts 8 years ago
toolchain target/toolchain: Fix toolchain packaging without package build 8 years ago
Config.in kernel: add plan 9 fs package 8 years ago
Makefile sdk: depend on linux/install 8 years ago