diff options
author | Samuli Piippo <samuli.piippo@gmail.com> | 2022-01-03 10:10:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-04 23:14:05 +0000 |
commit | bf07396051c206305f3d8ebba4f206eeb4f5a306 (patch) | |
tree | 95368613773243308b302b421b2298b7f89924cf /meta/recipes-devtools/rpm | |
parent | 1431a6f7f14d3e8d0bc826bf539462a87c4909b7 (diff) | |
download | poky-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.bb | 3 |
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() { | |||
137 | do_install:append:class-target() { | 137 | do_install:append:class-target() { |
138 | rm -rf ${D}/var | 138 | rm -rf ${D}/var |
139 | } | 139 | } |
140 | do_install:append:class-nativesdk() { | ||
141 | rm -rf ${D}${SDKPATHNATIVE}/var | ||
142 | } | ||
140 | 143 | ||
141 | do_install:append () { | 144 | do_install:append () { |
142 | sed -i -e 's:${HOSTTOOLS_DIR}/::g' \ | 145 | sed -i -e 's:${HOSTTOOLS_DIR}/::g' \ |