aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@gmail.com>2022-01-03 10:10:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-04 23:13:32 +0000
commit28dd1e1a0965646c5736e3de91aad830311a797b (patch)
treea6e6ea832de29593c998da555925428354b6468e /meta/recipes-devtools
parentbb554d14142f93c39fd1516a31757006531c348f (diff)
downloadopenembedded-core-contrib-28dd1e1a0965646c5736e3de91aad830311a797b.tar.gz
openembedded-core-contrib-28dd1e1a0965646c5736e3de91aad830311a797b.tar.bz2
openembedded-core-contrib-28dd1e1a0965646c5736e3de91aad830311a797b.zip
rpm: remove tmp folder created during install
nativesdk-rpm build is also affected by the stray /var/tmp created during the rpm install. Remove it to fix QA Issue: nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs] Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.17.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.17.0.bb b/meta/recipes-devtools/rpm/rpm_4.17.0.bb
index 11d720cf87..0e852d04e0 100644
--- a/meta/recipes-devtools/rpm/rpm_4.17.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.17.0.bb
@@ -137,6 +137,9 @@ do_install:append:class-nativesdk() {
do_install:append:class-target() {
rm -rf ${D}/var
}
+do_install:append:class-nativesdk() {
+ rm -rf ${D}${SDKPATHNATIVE}/var
+}
do_install:append () {
sed -i -e 's:${HOSTTOOLS_DIR}/::g' \