Bug 6029 - Ignore broken symlink when RM_OLD_IMAGE is enabled
Summary: Ignore broken symlink when RM_OLD_IMAGE is enabled
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: All Multiple
: Low normal
Target Milestone: 1.7
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-24 15:57 UTC by Paul Eggleton
Modified: 2014-03-31 07:06 UTC (History)
3 users (show)

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


Attachments
Failure log (2.36 KB, text/plain)
2014-03-24 15:57 UTC, Paul Eggleton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2014-03-24 15:57:14 UTC
If you have RM_OLD_IMAGE = "1" set and then delete the actual image file but leave the latest symlink in place, the next time you try to build the image do_rootfs will fail with a traceback (see attached). The code should just skip deletion if the target file doesn't exist.
Comment 1 Paul Eggleton 2014-03-24 15:57:42 UTC
Created attachment 1851 [details]
Failure log