diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-03 17:01:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-14 14:38:28 +0000 |
commit | 2c494b20909790a2bebc2e7e878c39a3dba92dc7 (patch) | |
tree | 0fe09034041be037cc0f70ee9f92bac276aa31f6 /meta/classes/cross.bbclass | |
parent | 19ecc264f87a0b94b2340fcb3521024f142dff68 (diff) | |
download | poky-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.bbclass | 2 |
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}" | |||
54 | libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}" | 54 | libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}" |
55 | libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}" | 55 | libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}" |
56 | 56 | ||
57 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" | 57 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/" |
58 | 58 | ||
59 | python cross_virtclass_handler () { | 59 | python cross_virtclass_handler () { |
60 | if not isinstance(e, bb.event.RecipePreFinalise): | 60 | if not isinstance(e, bb.event.RecipePreFinalise): |