mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Due to initramfs-module-install runtime depend on grub, and grub did not support loongarch64, remove loongarch64 from COMPATIBLE_HOST $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world |ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/ initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it) |grub was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) |NOTE: Runtime target 'grub' is unbuildable, removing... |Missing or unbuildable dependency chain was: ['grub'] |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'initramfs-module-install', 'grub'] (From OE-Core rev: 6440e1010ade2b4207879a2e8cd288bcd714a445) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
750 B
BlitzBasic
24 lines
750 B
BlitzBasic
SUMMARY = "initramfs-framework module for installation option"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
RDEPENDS:${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
|
RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
|
|
|
# The same restriction as grub
|
|
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
|
COMPATIBLE_HOST:armv7a = 'null'
|
|
COMPATIBLE_HOST:armv7ve = 'null'
|
|
|
|
|
|
SRC_URI = "file://init-install.sh"
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
do_install() {
|
|
install -d ${D}/init.d
|
|
install -m 0755 ${S}/init-install.sh ${D}/init.d/install.sh
|
|
}
|
|
|
|
FILES:${PN} = "/init.d/install.sh"
|