Bug 7715

Summary: devtool: SRC_URI in .inc causes incorrect recipe update
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Markus Lehtonen <markus.lehtonen>
Component: devtools / tool chainAssignee: Markus Lehtonen <markus.lehtonen>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bluelightning, bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 1.8   
Target Milestone: 2.0   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Markus Lehtonen 2015-05-04 14:03:57 UTC
Devtool / recipeutils cannot properly handle update of recipes where an include (.inc) file contains SRC_URI definitions (e.g. in udev). What happens is that the .inc file is completely ignored (in the update) and the "full" value of SRC_URI gets set in the .bb file. SRC_URI definition in the .inc file is untouched, effectively causing double definitions (in .inc and in .bb).

Devtool should update SRC_URI in the file where it is defined.

Same problem most probably exists with .bbappends having SRC_URI definitions.
Comment 2 Bogdan Alexandru Voiculescu 2015-11-17 13:46:58 UTC
Verified on master fc45deac89ef63ca1c44e763c38ced7dfd72cbe1 and adding 'udev' package from git source.