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]

(From OE-Core rev: d4f4ad5edd8914e696722c1a1c3ba7de091d4c19)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2014-07-18 10:05:14 -07:00 committed by Richard Purdie
parent bcadbb66ec
commit 4d2ac6f6df
1 changed files with 1 additions and 0 deletions

View File

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