Patchwork rootfs: Remove the extraneous install directory

login
register
mail settings
Submitter Saul Wold
Date July 18, 2014, 5:05 p.m.
Message ID <1405703114-29239-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/76083/
State New
Headers show

Comments

Saul Wold - July 18, 2014, 5:05 p.m.
The /install/tmp diectory is created during installation by
the smart package manager, we need to clean it up here

[YOCTO #6497]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/lib/oe/rootfs.py | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index bc2524f..b34856c 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -379,6 +379,7 @@  class RpmRootfs(Rootfs):
         # __db.00* (Berkeley DB files that hold locks, rpm specific environment
         # settings, etc.), that should not get into the final rootfs
         self.pm.unlock_rpm_db()
+        bb.utils.remove(self.image_rootfs + "/install", True)
 
 
 class DpkgRootfs(Rootfs):