mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
initramfs-live-install: add support for grub2
grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. (From OE-Core rev: c67d03eb3684acab89e5972609e397087727e74e) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
978f48b7e2
commit
bcd1bca880
@@ -1,9 +1,9 @@
|
||||
DESCRIPTION = "A live image init script"
|
||||
DESCRIPTION = "A live image init script for grub"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
SRC_URI = "file://init-install.sh"
|
||||
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
RDEPENDS="grub parted e2fsprogs-mke2fs"
|
||||
|
||||
@@ -19,6 +19,4 @@ INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
FILES_${PN} = " /install.sh "
|
||||
|
||||
# Alternatives to grub need adding for other arch support
|
||||
# consistent with grub 0.97
|
||||
COMPATIBLE_HOST = "i.86.*-linux"
|
||||
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
||||
|
||||
Reference in New Issue
Block a user