Bug 7353

Summary: Directory within image named /install gets deleted
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.8 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2015-02-24 15:17:57 UTC
If you create a recipe that installs files into a /install directory within the root directory, and then add the resulting package to an image, and are using the RPM backend, then that /install directory never makes it into the image - the fix for bug 6497 means it simply gets deleted towards the end of do_rootfs. This has already resulted in breakage in one user's setup:

https://lists.yoctoproject.org/pipermail/yocto/2015-February/023721.html

I would suggest we rename the temporary directory we are creating to something less generic so that there is no chance of any clashes with something the user has set up.