summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-03 17:01:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-14 14:38:28 +0000
commit2c494b20909790a2bebc2e7e878c39a3dba92dc7 (patch)
tree0fe09034041be037cc0f70ee9f92bac276aa31f6 /meta/classes/cross.bbclass
parent19ecc264f87a0b94b2340fcb3521024f142dff68 (diff)
downloadpoky-2c494b20909790a2bebc2e7e878c39a3dba92dc7.tar.gz
classes: Be consistent about sstate-inputdirs/outputdirs ending with '/'
If sstate-inputdirs and sstate-outputdirs don't match with ending '/' characters, the manifest file can end up corrupted. This change ensures the metadata is consistent in ending do_populate_root tasks with this character to avoid manifest file corruption. (From OE-Core rev: 3910eaf88d14904eef85b9e391387547df7fc54e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 735f6d263f..b57e523465 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -54,7 +54,7 @@ base_sbindir = "${bindir}"
54libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}" 54libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}"
55libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}" 55libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}"
56 56
57do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" 57do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/"
58 58
59python cross_virtclass_handler () { 59python cross_virtclass_handler () {
60 if not isinstance(e, bb.event.RecipePreFinalise): 60 if not isinstance(e, bb.event.RecipePreFinalise):