Bug 7715 - devtool: SRC_URI in .inc causes incorrect recipe update
Summary: devtool: SRC_URI in .inc causes incorrect recipe update
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.0
Assignee: Markus Lehtonen
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-04 14:03 UTC by Markus Lehtonen
Modified: 2015-11-17 13:46 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 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.