]> code.ossystems Code Review - openembedded-core.git/commit
test-dependencies.sh: remove /sysroots* between component builds
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 25 Apr 2018 14:06:48 +0000 (14:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 10:00:31 +0000 (11:00 +0100)
commit386c183971929e5440cb3fa957d3ce8a93943b4f
tree9756d0c3a2a7e1803141bc60e0e161daa4225c1e
parentd75c28fc0b4b16eb75e9c68d9d6224a0d782607e
test-dependencies.sh: remove /sysroots* between component builds

* glibc is now the only component in morty release which is using TMPDIR/sysroots-components (normally used only after RSS):
  oe-core$ git grep "\${STAGING_DIR}-components"
  meta/recipes-core/glibc/glibc-locale.inc:LOCALETREESRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
  meta/recipes-core/glibc/glibc-mtrace.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
  meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
  meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-fixmedir] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
  meta/recipes-core/glibc/glibc-scripts.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"

  test-dependencies selective pruning of TMPDIR, deletes sysroots, but not sysroots-components

  which leaves TMPDIR/sysroots-components files from qlibc.do_stash_locale behind and when next build started in the same workspace it failed, because it was trying to overwrite files already there.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/test-dependencies.sh