Patchwork rootfs: Remove the extraneous install directory

login
register
mail settings
Submitter Saul Wold
Date July 17, 2014, 8:34 p.m.
Message ID <1405629249-1294-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/75953/
State Accepted
Commit 4d2ac6f6df2b3ef98699dd4f7afadb2d994222bb
Headers show

Comments

Saul Wold - July 17, 2014, 8:34 p.m.
[YOCTO #6497]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/lib/oe/rootfs.py | 1 +
 1 file changed, 1 insertion(+)
Paul Eggleton - July 18, 2014, 9:56 a.m.
Hi Saul,

On Thursday 17 July 2014 13:34:09 Saul Wold wrote:
> [YOCTO #6497]
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---

Could you please add a proper commit message? How this directory gets created 
would be a good thing to mention.

Thanks,
Paul

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