]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc/gcc/libgcc-initial: Delete do_build tasks for -initial
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 16:27:20 +0000 (17:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:05 +0000 (22:48 +0100)
We've had a lot of users running into RSS issues where -initial recipes
were being installed into sysroots alongside their counterparts and
causing overlapping files issues.

In general this was through do_build dependencies. Such dependencies are
bad in general and I'd encourage people to compare the taskgraphs with
using a more specific dependency like do_populate_sysroot, do_image_complete
or do_deploy as often the more specific dependency will result in a much
cleaner build.

Regardless, we don't want -initial dependencies getting in the way like
this and there are cases a do_build dependency could make sense.

Deleting the do_build task in these cases makes sense since this is not
a build "endpoint" we'd ever want a user to use, its a behind the scenes
piece of bootstrappping.

Unfortunately to make this work, we need a newer bitbake version which
has a bitbake bug fixed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-initial.inc
meta/recipes-devtools/gcc/gcc-cross-initial.inc
meta/recipes-devtools/gcc/libgcc-initial.inc

index f94603c28c6a1d017ef83a43f598efc2f99ae423..b86e2fb2db54154036e0846191161b680b1cab30 100644 (file)
@@ -52,3 +52,6 @@ do_siteconfig () {
 }
 
 inherit nopackages
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build
index 5c0208a3fa528cc75e5b5a7557c6709612e02206..d440d88e537c23ee0ded1fe8aca86bec869ab45a 100644 (file)
@@ -82,3 +82,7 @@ do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_AR
 inherit nopackages
 
 COMPILERINITIAL = "-initial"
+
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build
index 5b4bc3b5a9f237e99a8f9d93151b7455819b74f0..950ad861e7ece5ac294e23061aa534e892536877 100644 (file)
@@ -15,3 +15,6 @@ EXTRA_OECONF += "--disable-shared"
 COMPILERINITIAL = "-initial"
 
 inherit nopackages
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build