Bug 6029

Summary: Ignore broken symlink when RM_OLD_IMAGE is enabled
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.6   
Target Milestone: 1.7   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Failure log none

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