Martin Jansa
da27e5f570
populate_sdk_ext.bbclass: redirect stderr to stdout so that both end in LOGFILE
...
* this in the end doesn't help much, I was debugging warning (about base-files.do_install
signature being different than expected) from:
python3 $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'
this shows the warning on console, but it doesn't end in $LOGFILE, because it
writes only contents of cooker log into the $LOGFILE with:
with open(logfile, 'a') as logf:
logf.write('Preparing SDK for %s...\n' % ', '.join(sdk_targets))
ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet %s' % ' '.join(sdk_targets))
if not ret:
ret = run_command_interruptible('bitbake --quiet build-sysroots')
lastlog = get_last_consolelog()
if lastlog:
with open(lastlog, 'r') as f:
for line in f:
logf.write(line)
if ret:
print('ERROR: SDK preparation failed: error log written to %s' % logfile)
return ret
maybe we could remove whole support for $LOGFILE parameter and just redirect
the output like other commands on this line
(From OE-Core rev: 766c6f7ae72576cfab3654362ae949688f42acce)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com >
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com >
(cherry picked from commit 719f22df160ebde303274ccfc04049cffdb51577)
Signed-off-by: Steve Sakoman <steve@sakoman.com >
2023-05-17 04:07:13 -10:00
..
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-01-12 23:08:58 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-04-01 11:36:26 +01:00
2023-04-06 14:28:59 +01:00
2023-03-16 17:49:38 +00:00
2022-08-12 15:27:17 +01:00
2023-02-17 18:01:01 +00:00
2022-08-12 15:27:17 +01:00
2023-01-26 21:06:57 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-04-06 14:31:42 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-01-26 22:22:53 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-28 08:01:10 +01:00
2022-08-12 15:27:17 +01:00
2022-11-11 13:43:41 +00:00
2022-10-26 12:28:39 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-29 08:05:24 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-14 17:10:00 +00:00
2023-03-22 13:53:29 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-02-09 09:57:24 +00:00
2023-03-01 21:29:31 +00:00
2023-03-22 13:53:29 +00:00
2023-03-01 21:29:31 +00:00
2023-05-10 04:16:51 -10:00
2022-08-12 15:27:17 +01:00
2023-01-12 23:08:58 +00:00
2023-03-01 21:29:31 +00:00
2022-08-12 15:27:17 +01:00
2023-03-01 21:29:31 +00:00
2023-05-10 04:16:51 -10:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-23 22:36:46 +00:00
2023-02-02 09:50:02 +00:00
2022-08-12 15:27:17 +01:00
2023-01-26 22:20:32 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-08 10:21:05 +00:00
2023-03-23 22:36:46 +00:00
2022-12-26 18:49:07 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-01 21:29:31 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-01-26 21:06:57 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-14 17:13:10 +00:00
2022-09-09 12:24:43 +01:00
2022-10-26 12:28:37 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-02-15 10:21:34 +00:00
2023-05-17 04:07:13 -10:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-14 07:17:47 +00:00
2023-03-14 17:10:00 +00:00
2022-10-29 16:28:36 +01:00
2022-08-12 15:27:17 +01:00
2022-12-07 14:56:54 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-01-13 17:32:46 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-01-26 22:22:53 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-28 08:01:10 +01:00
2022-08-12 15:27:17 +01:00
2023-01-12 23:08:58 +00:00
2023-03-23 22:36:46 +00:00
2022-08-12 15:27:17 +01:00
2023-02-04 17:02:10 +00:00
2022-12-07 14:56:54 +00:00
2023-04-04 13:11:50 +01:00
2022-08-12 15:27:17 +01:00
2023-02-04 17:02:10 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-14 17:10:00 +00:00
2022-11-11 13:43:40 +00:00
2023-04-04 13:11:49 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2023-03-11 00:08:41 +00:00
2022-10-26 12:28:40 +01:00
2022-08-12 15:27:17 +01:00
2022-11-20 08:29:08 +00:00
2023-05-10 04:16:51 -10:00
2023-01-12 23:08:58 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00