Bug 6497

Summary: redundant directory "/install" in rootfs
Product: [Runtime] General Runtime Reporter: Yi Zhao <yi.zhao>
Component: General RuntimeAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, ke.zou, yi.zhao
Version: 1.7   
Target Milestone: 1.7   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2014-07-01 08:04:40 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1/

Git rev: master/68824d9b8f6e290da078383316b3f4b732585f2b

There is an empty directory /install/tmp in / for all qemu and BSPs rootfs. Looks like it is useless and need to be removed.
Comment 1 Saul Wold 2014-07-03 16:51:05 UTC
Which image did this occur in?  I looked at a core-image-minimal and did not 
see this issue,can you be more specific on which image type this failied
Comment 2 Yi Zhao 2014-07-04 02:35:24 UTC
(In reply to comment #1)
> Which image did this occur in?  I looked at a core-image-minimal and did not 
> see this issue,can you be more specific on which image type this failied

I found it in a sato-sdk image. And I thought this issue should exist in all rpm-based images. I greped the "install/tmp" in poky source:

$ grep "install/tmp" ./* -rnIi
./meta/lib/oe/package_manager.py:822:        cmd = 'config --set rpm-extra-macros._tmppath=/install/tmp'
./meta/lib/oe/package_manager.py:951:            cmd += "--define='_tmppath /install/tmp' %s" % ' '.join(pkgs)
Comment 4 Yi Zhao 2014-08-28 08:14:00 UTC
Verified with 20140826-2 build
git rev: master/52b788c6df9201764130ab744bf67b770b24b896