summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
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:14:05 +0000
commitbf07396051c206305f3d8ebba4f206eeb4f5a306 (patch)
tree95368613773243308b302b421b2298b7f89924cf /meta/recipes-devtools/rpm
parent1431a6f7f14d3e8d0bc826bf539462a87c4909b7 (diff)
downloadpoky-bf07396051c206305f3d8ebba4f206eeb4f5a306.tar.gz
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] (From OE-Core rev: 28dd1e1a0965646c5736e3de91aad830311a797b) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-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() {
137do_install:append:class-target() { 137do_install:append:class-target() {
138 rm -rf ${D}/var 138 rm -rf ${D}/var
139} 139}
140do_install:append:class-nativesdk() {
141 rm -rf ${D}${SDKPATHNATIVE}/var
142}
140 143
141do_install:append () { 144do_install:append () {
142 sed -i -e 's:${HOSTTOOLS_DIR}/::g' \ 145 sed -i -e 's:${HOSTTOOLS_DIR}/::g' \