]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: ignore pn- overrides when determining SRC_URI overrides
authorPaul Eggleton <paul.eggleton@microsoft.com>
Tue, 12 Jul 2022 04:06:56 +0000 (21:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jul 2022 22:54:22 +0000 (23:54 +0100)
commit3f2a812ade42ece0bb59b2d303125a91b29936dd
tree27ac642947b3881f0da309f446304e3d6c797f78
parentb56dc9009ba93174de6bf4c01e17808ef249dc5c
devtool: ignore pn- overrides when determining SRC_URI overrides

If (perhaps foolishly) at your configuration level you have e.g.

  SRC_URI_append_pn-recipename = " file://patchname.patch"

and then run devtool modify on a different recipe, an error occurs:

  INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
  ...
  ERROR: [Errno 2] No such file or directory: '/path/to/downloads/patchname.patch'

pn- overrides would not constitute an alternative configuration that we
should handle in this context, so just ignore them to avoid the issue.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py