Skip to contentSkip to conversation

rootfs: Remove the extraneous install directory

PATCH New Saul Wold 1 participant 1 message Jul 18, 2014

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 rootfs: Remove the extraneous install directory

The /install/tmp diectory is created during installation by the smart package manager, we need to clean it up here

[YOCTO #6497]

---
 meta/lib/oe/rootfs.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oe/rootfs.py +1 -0
index bc2524f..b34856c 100644
@@ -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):
Signature · 1 line
1.8.3.1