Julien Stephan
834e91ce53
devtool: standard: throws appropriate error if source is in detached HEAD
...
If source is in detached HEAD, we get the following error when using
detvool finish command:
[...]
File "<...>/poky/scripts/lib/devtool/standard.py", line 1938, in _update_recipe
bb.process.run('git checkout %s' % startbranch, cwd=srctree)
File "<...>/poky/bitbake/lib/bb/process.py", line 189, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout (HEAD detached at 9bbf87e)' failed with exit code 2:
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `git checkout (HEAD detached at 9bbf87e)'
Check this and throws an appropriate error in this case
(From OE-Core rev: d9c686b5ff9f591ec6b928ed539084c02df4c8a5)
Signed-off-by: Julien Stephan <jstephan@baylibre.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2024-04-12 17:27:53 +01:00
..
2024-02-13 13:51:41 +00:00
2021-11-26 17:01:08 +00:00
2023-11-05 08:44:06 +00:00
2024-04-12 17:27:53 +01:00
2021-11-26 17:01:08 +00:00
2023-09-08 22:59:47 +01:00
2023-12-08 16:58:34 +00:00
2023-09-09 22:14:41 +01:00
2020-05-09 18:57:21 +01:00
2024-02-19 11:47:53 +00:00
2022-08-12 11:58:01 +01:00
2023-10-09 15:58:47 +01:00
2023-01-29 19:24:22 +00:00
2020-04-24 14:10:08 +01:00
2021-08-26 22:09:44 +01:00
2022-01-04 23:14:05 +00:00
2023-05-05 11:07:26 +01:00
2023-05-05 11:07:26 +01:00
2024-02-13 13:51:41 +00:00
2022-08-12 11:58:01 +01:00
2015-03-20 11:21:24 +00:00
2022-08-12 11:58:01 +01:00
2023-08-14 12:51:21 +01:00
2022-03-02 18:43:24 +00:00
2024-02-02 10:38:28 +00:00
2022-08-12 11:58:01 +01:00
2019-05-09 16:31:55 +01:00
2022-08-12 11:58:01 +01:00
2022-10-25 13:42:02 +01:00
2020-05-18 06:33:36 +01:00
2020-10-10 13:37:56 +01:00
2019-12-15 09:10:46 +00:00
2023-08-21 16:15:35 +01:00
2024-02-13 13:51:41 +00:00
2022-08-12 11:58:01 +01:00
2023-09-02 18:23:05 +01:00
2023-09-07 07:53:51 +01:00
2019-05-09 16:31:55 +01:00
2019-09-16 23:02:44 +01:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2020-01-10 21:18:22 +00:00
2024-02-13 13:51:41 +00:00
2021-09-23 13:49:11 +01:00
2022-08-12 11:58:01 +01:00
2021-01-15 13:39:25 +00:00
2019-09-06 08:15:45 +01:00
2024-02-19 11:47:53 +00:00
2024-02-19 11:47:53 +00:00
2024-02-19 11:47:53 +00:00
2024-02-19 11:34:33 +00:00
2019-05-09 16:31:55 +01:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2024-02-13 13:51:41 +00:00
2024-02-24 16:10:23 +00:00
2024-02-13 13:51:41 +00:00
2023-10-17 22:53:30 +01:00
2024-02-16 15:14:26 +00:00
2023-10-17 22:53:30 +01:00
2024-02-06 15:01:16 +00:00
2022-08-12 11:58:01 +01:00
2011-04-21 12:56:16 +01:00
2019-05-09 16:31:55 +01:00
2022-08-08 15:44:21 +01:00
2019-05-09 16:31:55 +01:00
2010-07-24 00:46:57 +01:00
2023-06-21 18:38:25 +01:00
2024-01-04 23:47:51 +00:00
2022-05-15 08:57:15 +01:00
2022-11-29 10:29:58 +00:00
2022-11-29 10:29:58 +00:00
2023-06-24 12:21:48 +01:00
2023-06-28 07:56:34 +01:00
2023-06-28 07:56:34 +01:00
2022-08-31 12:25:44 +01:00
2019-05-09 16:31:55 +01:00
2019-05-09 16:31:55 +01:00
2024-02-17 18:19:19 +00:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2022-08-12 11:58:01 +01:00
2019-05-09 16:31:55 +01:00
2019-05-09 16:31:55 +01:00
2022-08-12 11:58:01 +01:00
2022-06-22 22:40:28 +01:00
2023-10-23 10:49:19 +01:00
2022-12-09 13:18:41 +00:00
2019-05-09 16:31:55 +01:00