Skip to content
Snippets Groups Projects
Select Git revision
  • d8a257d2c18b4a4726f1b37b86c65d10ce970f75
  • master default protected
  • master-next
  • scarthgap
  • kirkstone
  • walnascar-next
  • walnascar
  • styhead
  • dunfell
  • nanbield
  • mickledore
  • langdale
  • honister
  • gatesgarth
  • hardknott
  • thud
  • warrior
  • zeus
  • pyro
  • sumo
  • rocko
  • yocto-5.0.9
  • scarthgap-5.0.9
  • yocto-4.0.26
  • kirkstone-4.0.26
  • yocto-5.1.4
  • styhead-5.1.4
  • yocto-5.0.8
  • scarthgap-5.0.8
  • 5.2_M3
  • yocto-5.1.3
  • styhead-5.1.3
  • yocto-4.0.25
  • kirkstone-4.0.25
  • yocto-5.0.7
  • scarthgap-5.0.7
  • 5.2_M2
  • yocto-4.0.24
  • kirkstone-4.0.24
  • yocto-5.1.2
  • styhead-5.1.2
41 results

poky

Forked from opensource / poky
Source project has a limited visibility.
user avatar
Julien Stephan authored and Steve Sakoman committed
When specifying --mode / -m srcrev with devtool finish/update-recipe on
recipes that are not fetched from a SCM repository we get the following
error:

  Traceback (most recent call last):
  [..]
    File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd
    raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, stderr))
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch --no-signature --no-numbered INVALID -o /tmp/oepatchbj7pfmzj -- .'' exited with 0  Output:
stdout:
stderr: fatal: bad revision 'INVALID'

Fix this by adding a check and abort with a proper error message.

(From OE-Core rev: 9254b08fbfba3734d5bc717a382d909595833db1)

Signed-off-by: default avatarJulien Stephan <jstephan@baylibre.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b77f60e85d07921ae5e808daa1fd7d8c3dc40ea)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
d8a257d2
History
Name Last commit Last update