generic-poky/meta/lib/oe
Paul Eggleton 8353557193 devtool: update-recipe: handle where SRC_URI is appended to with +=
If a recipe sets SRC_URI and then appends more items to it with +=
(such as the current rpm recipe in OE-Core), the code in
patch_recipe_file() was failing with a traceback. Work around the
problem for now by dropping the existing lines if we understand the
operation, else just set the value outright at the end. This leaves
something to be desired as it either doesn't respect the existing
structure or leaves a mess but it's better than the current
breakage.

We'll need to come up with a better solution later. Part of the problem
is the existing code structure doesn't allow for patch_recipe_file() to
know what's being added or removed - it only knows the final value that
the caller wants set.

Fixes [YOCTO #9458].

(From OE-Core rev: da5cd84794e1ab5c4efcd6250d3b93a46f610744)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15 06:59:43 +01:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py classes/buildhistory: add additional variables to image information 2013-12-03 17:45:50 +00:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend: Fix nativesdk double name mapping 2015-07-31 10:32:36 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
copy_buildsystem.py devtool: don't copy .git when building the eSDK 2016-04-14 10:58:34 +01:00
data.py classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
distro_check.py lib/oe/distro_check: don't set empty proxy keys 2015-11-24 15:55:41 +00:00
gpg_sign.py gpg_sign.py: get rid of pexpect 2016-03-25 10:29:14 +00:00
license.py license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation 2015-05-09 22:28:14 +01:00
lsb.py lib/oe/lsb: sanitise the distro identifier 2016-04-13 10:12:52 +01:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
manifest.py populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation 2014-06-25 13:51:47 +01:00
package.py npm.bbclass: Stop packagenames containing underscores from being generated 2016-04-14 10:58:33 +01:00
package_manager.py package_manager.py: better error handling in opkg's package listing 2016-04-05 14:33:58 +01:00
packagedata.py lib/oe/packagedata: Add import os 2016-04-01 07:14:30 +01:00
packagegroup.py classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
patch.py oe/patch: print cleaner error message when patch fails to apply 2016-04-03 15:51:36 +01:00
path.py lib/oe: drop custom implementation of oe.path.relative 2014-03-07 14:58:44 +00:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py lib/oe/qa: add method to check if static or dynamic linked 2016-03-26 07:34:58 +00:00
recipeutils.py devtool: update-recipe: handle where SRC_URI is appended to with += 2016-04-15 06:59:43 +01:00
rootfs.py rootfs.py: apply ROOTFS_POSTINSTALL_COMMAND to all package formats 2016-04-14 10:58:33 +01:00
sdk.py lib/oe/sdk: Partially revert "sdk.py: fix conflicts of packages" 2016-01-24 09:40:34 +00:00
sstatesig.py sstatesig.py: Add a method to "unlock" recipes 2016-04-09 23:00:43 +01:00
terminal.py lib/oe/terminal: set workdir for konsole terminal 2016-02-14 11:42:19 +00:00
types.py oe.types: add 'path' type 2013-08-26 11:47:18 +01:00
utils.py insane/prelink: Handle nonstandard library paths 2016-03-07 00:11:39 +00:00