aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/sign_rpm.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-11-07 17:15:56 +0800
committerRobert Yang <liezhi.yang@windriver.com>2017-11-22 11:03:32 +0800
commit56f81087fbf4f98ae3a3bd314deab532e5809c8e (patch)
tree032ae09fbe3ef20e2fdbf1f5160f8799a9e7d659 /meta/classes/sign_rpm.bbclass
parent8fcb0aae9be25248319e29a9a1338afc167a9ed9 (diff)
downloadopenembedded-core-contrib-56f81087fbf4f98ae3a3bd314deab532e5809c8e.tar.gz
populate_sdk_ext.bbclass: disable for multilib image
The following build doesn't work: MACHINE ?= "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake lib32-core-image-minimal -cpopulate_sdk_ext [snip] Exception: FileExistsError: [Errno 17] File exists: '/buildarea/lyang1/test_q64/tmp/sysroots-components/core2-64/openssl/sysroot-providers/openssl10' -> '/buildarea/lyang1/test_q64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/sysroot-providers/openssl10' [snip] The problem is populate_sdk_ext installs all multilib variants, and extend_recipe_sysroot() handles foo-image depends lib32-foo-image, but doesn't handle lib32-foo-image depends foo-image, we can use a lot of trick ways to make it work: 1) Get foo-image's RECIPE_SYSROOT when build lib32-foo-image 2) Handle conflicts with foo-image.do_rootfs 3) Handle conflicts when "bitbake lib32-foo-image foo-image -cpopulate_sdk_ext" And maybe other potential problems, this looks painful, fortunately, we don't have to do that since "bitbake foo-image -cpopulate_sdk_ext" generate the same eSDK as "bitbake lib32-foo-image -cpopulate_sdk_ext" in theory. So just disable the build and print hint messages. [YOCTO #12210] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
0 files changed, 0 insertions, 0 deletions