[oe-commits] Saul Wold : rootfs: Remove the extraneous install directory

git at git.openembedded.org git at git.openembedded.org
Fri Jul 18 23:18:35 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: d4f4ad5edd8914e696722c1a1c3ba7de091d4c19
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d4f4ad5edd8914e696722c1a1c3ba7de091d4c19

Author: Saul Wold <sgw at linux.intel.com>
Date:   Fri Jul 18 10:05:14 2014 -0700

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]

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/rootfs.py | 1 +
 1 file changed, 1 insertion(+)

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):



More information about the Openembedded-commits mailing list