Bug 7353 - Directory within image named /install gets deleted
Summary: Directory within image named /install gets deleted
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium normal
Target Milestone: 1.8 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-24 15:17 UTC by Paul Eggleton
Modified: 2015-03-21 23:24 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.