diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-25 14:25:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-26 10:44:27 +0000 |
commit | 7fb3c6a40adb0f6c3032b0a5628c8a56b0e7bd4a (patch) | |
tree | 5e7c1a8599a22662ec3374acdd6bee032b7f2ba7 /meta/classes | |
parent | 7c55daec93754349b0c4bac1f788db80a88804f8 (diff) | |
download | poky-7fb3c6a40adb0f6c3032b0a5628c8a56b0e7bd4a.tar.gz |
image/packagegroup/populate_sdk: Drop do_populate_sysroot task properly
Setting do_populate_sysroot as noexec means the code keeps thinking it can find
a manifest file for it. It also complicates sstate installtion since the code
would believe there is an sstate object there it should look for.
Instead, delete the task. This causes sdk failures as the dependencies are wrong
so fix those as well.
(From OE-Core rev: bd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/packagegroup.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index fb0cce35c5..76146c92cd 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -96,10 +96,6 @@ LDCONFIGDEPEND_libc-musl = "" | |||
96 | # don't want this dependency, which is causing dependency loop | 96 | # don't want this dependency, which is causing dependency loop |
97 | KERNELDEPMODDEPEND ?= "virtual/kernel:do_packagedata" | 97 | KERNELDEPMODDEPEND ?= "virtual/kernel:do_packagedata" |
98 | 98 | ||
99 | # POPULATESYSROOTDEPS fails to expand correctly with multilibs since overrides aren't set for image.bbclass | ||
100 | # we don't need these depends so just clear them | ||
101 | do_populate_sysroot[depends] = "" | ||
102 | |||
103 | do_rootfs[depends] += " \ | 99 | do_rootfs[depends] += " \ |
104 | makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \ | 100 | makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \ |
105 | virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \ | 101 | virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \ |
@@ -625,7 +621,7 @@ do_patch[noexec] = "1" | |||
625 | do_configure[noexec] = "1" | 621 | do_configure[noexec] = "1" |
626 | do_compile[noexec] = "1" | 622 | do_compile[noexec] = "1" |
627 | do_install[noexec] = "1" | 623 | do_install[noexec] = "1" |
628 | do_populate_sysroot[noexec] = "1" | 624 | deltask do_populate_sysroot |
629 | do_package[noexec] = "1" | 625 | do_package[noexec] = "1" |
630 | do_package_qa[noexec] = "1" | 626 | do_package_qa[noexec] = "1" |
631 | do_packagedata[noexec] = "1" | 627 | do_packagedata[noexec] = "1" |
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index a60a52b6d4..ad6c8b0e35 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass | |||
@@ -46,7 +46,7 @@ do_patch[noexec] = "1" | |||
46 | do_configure[noexec] = "1" | 46 | do_configure[noexec] = "1" |
47 | do_compile[noexec] = "1" | 47 | do_compile[noexec] = "1" |
48 | do_install[noexec] = "1" | 48 | do_install[noexec] = "1" |
49 | do_populate_sysroot[noexec] = "1" | 49 | deltask do_populate_sysroot |
50 | 50 | ||
51 | python () { | 51 | python () { |
52 | initman = d.getVar("VIRTUAL-RUNTIME_init_manager") | 52 | initman = d.getVar("VIRTUAL-RUNTIME_init_manager") |
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 5ad08c68e3..2246eb3f1f 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -273,6 +273,6 @@ do_populate_sdk[file-checksums] += "${COREBASE}/meta/files/toolchain-shar-reloca | |||
273 | 273 | ||
274 | do_populate_sdk[dirs] = "${PKGDATA_DIR} ${TOPDIR}" | 274 | do_populate_sdk[dirs] = "${PKGDATA_DIR} ${TOPDIR}" |
275 | do_populate_sdk[depends] += "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS').split()])} ${@d.getVarFlag('do_rootfs', 'depends', False)}" | 275 | do_populate_sdk[depends] += "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS').split()])} ${@d.getVarFlag('do_rootfs', 'depends', False)}" |
276 | do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS').split()])}" | 276 | do_populate_sdk[rdepends] = "${@' '.join([x + ':do_package_write_${IMAGE_PKGTYPE} ' + x + ':do_packagedata' for x in d.getVar('SDK_RDEPENDS').split()])}" |
277 | do_populate_sdk[recrdeptask] += "do_packagedata do_package_write_rpm do_package_write_ipk do_package_write_deb" | 277 | do_populate_sdk[recrdeptask] += "do_packagedata do_package_write_rpm do_package_write_ipk do_package_write_deb" |
278 | addtask populate_sdk | 278 | addtask populate_sdk |