[oe-commits] [openembedded-core] branch master updated: meta-estsdk-toolchain: use WORKDIR instead of D to hold locked-sigs

git at git.openembedded.org git at git.openembedded.org
Thu Mar 2 14:21:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
     new 9705601  meta-estsdk-toolchain: use WORKDIR instead of D to hold locked-sigs
9705601 is described below

commit 97056011c17f343e697aa9f0d418f6487b9f7465
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Mar 2 14:16:05 2017 +0000

    meta-estsdk-toolchain: use WORKDIR instead of D to hold locked-sigs
    
    do_locked_sigs() uses ${D} to hold a file as input to the sstate staging code.
    Generally this isn't a problem as it happens after packaging, but sometimes (if
    the recipe is rebuild, perhaps) do_package() will see the file inside ${D} and
    fail because there is an uninstalled file.
    
    Solve this by using a directory under ${WORKDIR} so it can't be packaged.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/meta/meta-extsdk-toolchain.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/meta/meta-extsdk-toolchain.bb b/meta/recipes-core/meta/meta-extsdk-toolchain.bb
index 0b8fcf0..235d6ec 100644
--- a/meta/recipes-core/meta/meta-extsdk-toolchain.bb
+++ b/meta/recipes-core/meta/meta-extsdk-toolchain.bb
@@ -10,7 +10,7 @@ do_populate_sysroot[deptask] = "do_populate_sysroot"
 # within sstate.bbclass, so if you copy or rename this and expect the same
 # functionality you'll need to modify that as well.
 
-LOCKED_SIGS_INDIR = "${D}/locked-sigs"
+LOCKED_SIGS_INDIR = "${WORKDIR}/locked-sigs"
 
 addtask do_locked_sigs after do_populate_sysroot
 SSTATETASKS += "do_locked_sigs"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list