[oe-commits] [openembedded-core] 65/69: populate_sdk_ext: Make populate_sdk_ext nostamp
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 7 22:12:55 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 4b5de07e23c115f495df2163f168a1cccc72dd9e
Author: Randy Witt <randy.e.witt at linux.intel.com>
AuthorDate: Tue Mar 1 10:08:21 2016 -0800
populate_sdk_ext: Make populate_sdk_ext nostamp
Since the metadata for multiple layers will be put into the sdk, anytime
those layers change the sdk needs to be rebuilt. Ideally, this would use
checksums to only rebuild when necessary.
However, since this feature needs to be in the release, opt for a less
intrusive change by setting the task to nostamp. Unnecessary rebuilds
may occur, but it's better than a user wondering why their changes
didn't get added.
Signed-off-by: Randy Witt <randy.e.witt at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/populate_sdk_ext.bbclass | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index e1dbea9..00181aa 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -440,8 +440,9 @@ do_populate_sdk_ext[rdepends] += "${@' '.join([x + ':do_build' for x in d.getVar
do_populate_sdk_ext[vardeps] += "copy_buildsystem \
sdk_ext_postinst"
-do_populate_sdk_ext[file-checksums] += "${COREBASE}/meta/files/toolchain-shar-relocate.sh:True \
- ${COREBASE}/meta/files/toolchain-shar-extract.sh:True \
- ${COREBASE}/scripts/gen-lockedsig-cache:True"
+# Since any change in the metadata of any layer should cause a rebuild of the
+# sdk(since the layers are put in the sdk) set the task to nostamp so it
+# always runs.
+do_populate_sdk_ext[nostamp] = "1"
addtask populate_sdk_ext after do_sdk_depends
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list