Bug 8046 - devtool "rewrote" SRC_URI badly
Summary: devtool "rewrote" SRC_URI badly
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-24 13:49 UTC by Ross Burton
Modified: 2015-09-23 10:17 UTC (History)
2 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 Ross Burton 2015-07-24 13:49:02 UTC
I used devtool to add a patch to sudo and this is what it did to SRC_URI:

 SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
-           ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
-          "
+           ${@bb.utils.contains('DISTRO_FEATURES', \
+           'pam', \
+           '${PAM_SRC_URI}', \
+           '', \
+           d)} \
+           file://0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch \
+           "

Probably still parses but it's not pretty!