diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-12-13 10:45:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-02 17:24:37 +0000 |
commit | e18b7e77ed717c2248ab1d10dc6faf6f2d3d4b5d (patch) | |
tree | 0f2223bff91ad15d5f37be5201e1d1a84b3b1563 /meta/recipes-core/images | |
parent | 31fae5fa7bb7ddbd9d2251ff54439838a9559b18 (diff) | |
download | poky-e18b7e77ed717c2248ab1d10dc6faf6f2d3d4b5d.tar.gz |
image-live.bbclass: add MLPREFIX to core-image-minimal-initramfs
The 32bit core-image-minimal-initramfs should be built when build lib32-iso, e.g.:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_FSTYPES += "iso"
$ bitbake lib32-core-image-minimal
Exception: FileExistsError: [Errno 17] File exists: '/path/to/tmp/sysroots-components/core2-64/qemuwrapper-cross/usr/bin/crossscripts/qemuwrapper' -> '/path/to/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/usr/bin/crossscripts/qemuwrapper'
This was because:
lib32-core-image-minimal -> core-image-minimal-initramfs
core-image-minimal-initramfs -> qemuwrapper-cross
lib32-core-image-minimal -> lib32-qemuwrapper-cross
So we got the error, build lib32-core-image-minimal-initramfs can fix the problem.
(From OE-Core rev: eee3ec805cf150f1c701427a2d182a537a67e8f5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r-- | meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb index 5794a25952..c446e87bd1 100644 --- a/meta/recipes-core/images/core-image-minimal-initramfs.bb +++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb | |||
@@ -8,7 +8,7 @@ PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install initramfs-live-ins | |||
8 | # Do not pollute the initrd image with rootfs features | 8 | # Do not pollute the initrd image with rootfs features |
9 | IMAGE_FEATURES = "" | 9 | IMAGE_FEATURES = "" |
10 | 10 | ||
11 | export IMAGE_BASENAME = "core-image-minimal-initramfs" | 11 | export IMAGE_BASENAME = "${MLPREFIX}core-image-minimal-initramfs" |
12 | IMAGE_LINGUAS = "" | 12 | IMAGE_LINGUAS = "" |
13 | 13 | ||
14 | LICENSE = "MIT" | 14 | LICENSE = "MIT" |