summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2017-12-01 21:53:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:41:41 +0000
commitecad98a0ffe41d8cc8890d16be09e4b604a1e192 (patch)
treedfd3f1306689b817df608d17da940df0b2a9578b /meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
parent54e739485faba8d80f5af15407905aaeda4767f4 (diff)
downloadopenembedded-core-contrib-ecad98a0ffe41d8cc8890d16be09e4b604a1e192.tar.gz
openembedded-core-contrib-ecad98a0ffe41d8cc8890d16be09e4b604a1e192.tar.bz2
openembedded-core-contrib-ecad98a0ffe41d8cc8890d16be09e4b604a1e192.zip
initramfs-module-install: Remove allarch and FILESEXTRAPATHS
* files is already included in default FILESPATH * it cannot inherit allarch as it RDEPENDS on bunch of TUNE_PKGARCH packages * use the same COMPATIBLE_HOST restrictions as grub has to prevent ERRORs in 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 arm-oe-linux-gnueabi (not in COMPATIBLE_HOST) grub was skipped: incompatible with host arm-oe-linux-gnueabi (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. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
index ce7f165bfe..02b69f37a4 100644
--- a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
@@ -3,11 +3,13 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid"
-PR = "r1"
+# The same restriction as grub
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
+COMPATIBLE_HOST_armv7a = 'null'
+COMPATIBLE_HOST_armv7ve = 'null'
-inherit allarch
+PR = "r1"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = "file://init-install.sh"
S = "${WORKDIR}"