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/native.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/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 6314ba1b1d..1462ffb6d4 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -82,8 +82,8 @@ bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | |||
82 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 82 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
83 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 83 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
84 | 84 | ||
85 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" | 85 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/" |
86 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}" | 86 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}/" |
87 | 87 | ||
88 | # Since we actually install these into situ there is no staging prefix | 88 | # Since we actually install these into situ there is no staging prefix |
89 | STAGING_DIR_HOST = "" | 89 | STAGING_DIR_HOST = "" |