[meta-qt4]
jared_terry@...
How do I get meta-qt4 patches applied? I tried to contact the maintainer listed and the email comes back undeliverable. I have the needed patch but now way to deliver it.
|
|
Re: rebuilding perf fails after cleanall
Bruce Ashfield
On Fri, Oct 22, 2021 at 1:23 PM chuck kamas via lists.yoctoproject.org
<chuckkamas=yahoo.com@...> wrote: What release are you using ? We did have some issues with this in the past, but they should all be accounted for now. I can bitbake perf, bitbake -c cleanall perf; bitbake perf perf makes a copy of the kernel-sharel tools directory (it didn't in the past), so it should be safe for any combinations like that. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
rebuilding perf fails after cleanall
chuck kamas
Hi all,
I am trying to model a new recipe off of perf.bb to compile the usbip helper kernel code. I have been having issues with the work-shared/../kernel-source directory being empty, so I went back to the perf recipie and tried: bitbake perf -c cleanall bitbake perf I get the same error about path does not exist and the work-shared kernel-source directory being empty. Is perf.bb only executable in the context of a global rebuild? Chuck
|
|
[meta-security][PATCH] Parsec service. Update PACKAGECONFIG definitions and README.md
Anton Antonov
Signed-off-by: Anton Antonov <Anton.Antonov@...>
--- meta-parsec/README.md | 23 +++++++++++++++---- .../parsec-service/parsec-service_0.8.1.bb | 10 ++++---- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/meta-parsec/README.md b/meta-parsec/README.md index aeb48a6..c5635d3 100644 --- a/meta-parsec/README.md +++ b/meta-parsec/README.md @@ -1,8 +1,7 @@ meta-parsec layer ============== -This layer contains recipes for the Parsec service with Mbed-Crypto, -Pkcs11 and TPM providers and parsec tools. +This layer contains recipes for the Parsec service and parsec tools. Dependencies ============ @@ -43,9 +42,16 @@ local.conf: IMAGE_INSTALL:append = " parsec-service" - The Parsec service will be deployed into the image built with all the supported -providers and with the default config file from the Parsec repository: + By default the Parsec service will be deployed into the image with +TPM, PKCS11, MBED-CRYPTO and CRYPTOAUTHLIB providers build in +and with the default config file from the Parsec repository: https://github.com/parallaxsecond/parsec/blob/main/config.toml + + You can use PACKAGECONFIG for Parsec servic recipe to define +what providers should be built in. For example, + + PACKAGECONFIG:pn-parsec-service = "TPM" + The default Parsec service config file contains the MbedCrypto provider enabled. The config file needs to be updated to use the Parsec service with other providers like TPM or PKCS11. The required procedures are @@ -80,12 +86,19 @@ manual testing of the Parsec service: to test the Parsec service base functionality: https://www.youtube.com/watch?v=ido0CyUdMHM&list=PLKjl7IFAwc4S7WQqqphCsyy6DPDxJ2Skg&index=4 + The parsec-tool recipe also includes `parsec-cli-tests.sh` script +which runs e2e tests against all providers enabled and configured +in Parsec service. + You can use runqemu to start a VM with a built image file and run manual tests with parsec-tool. +Enabling Parsec providers for manual testing +============================================ + 1. MbedCrypto provider The default Parsec service config file contains the MbedCrypto provider -enabled. No changes required for manual testing. +enabled. No changes required. 2. PKCS11 provider The Software HSM can be used for manual testing of the provider by diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.8.1.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.8.1.bb index b8bfa98..9161872 100644 --- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.8.1.bb +++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.8.1.bb @@ -13,15 +13,15 @@ SRC_URI += "crate://crates.io/parsec-service/${PV} \ DEPENDS = "clang-native" PACKAGECONFIG ??= "TPM PKCS11 MBED-CRYPTO CRYPTOAUTHLIB" -PACKAGECONFIG[ALL] = "all-providers,,tpm2-tss libts,libts" -PACKAGECONFIG[TPM] = "tpm-provider,,tpm2-tss" -PACKAGECONFIG[PKCS11] = "pkcs11-provider," +PACKAGECONFIG[ALL] = "all-providers cryptoki/generate-bindings tss-esapi/generate-bindings,,tpm2-tss libts,libts" +PACKAGECONFIG[TPM] = "tpm-provider tss-esapi/generate-bindings,,tpm2-tss" +PACKAGECONFIG[PKCS11] = "pkcs11-provider cryptoki/generate-bindings," PACKAGECONFIG[MBED-CRYPTO] = "mbed-crypto-provider," PACKAGECONFIG[CRYPTOAUTHLIB] = "cryptoauthlib-provider," PACKAGECONFIG[TS] = "trusted-service-provider,,libts,libts" -PARSEC_PROVIDERS = "${@d.getVar('PACKAGECONFIG_CONFARGS',True).replace(' ', ',')}" -CARGO_BUILD_FLAGS += " --features ${PARSEC_PROVIDERS},cryptoki/generate-bindings,tss-esapi/generate-bindings" +PARSEC_FEATURES = "${@d.getVar('PACKAGECONFIG_CONFARGS',True).strip().replace(' ', ',')}" +CARGO_BUILD_FLAGS += " --features ${PARSEC_FEATURES}" inherit systemd SYSTEMD_SERVICE:${PN} = "parsec.service" -- 2.25.1
|
|
[psplash][PATCH] README: Update mailing list address
Pavel Zhukov
From: Pavel Zhukov <pavel.zhukov@...>
Signed-off-by: Pavel Zhukov <pavel.zhukov@...> --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 8779a38..ff36509 100644 --- a/README +++ b/README @@ -25,4 +25,4 @@ When creating patches, please use something like: git format-patch -M -s --subject-prefix=3D'psplash][PATCH' origin =20 When sending patches, please use something like: - git send-email --to yocto@... <generated patch> + git send-email --to yocto@... <generated patch> --=20 2.31.1
|
|
[psplash][PATCH] Add configure options to disable progress bar
Pavel Zhukov
From: Pavel Zhukov <pavel.zhukov@...>
Progress bar can overlap with products logos, added --disable-progress-bar configure option to disable progress bar completely without patching the code. Default behaviour is to show progress bar Signed-off-by: Pavel Zhukov <pavel.zhukov@...> --- configure.ac | 8 ++++++++ psplash-config.h | 5 +++++ psplash.c | 14 ++++++++++---- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2d836a1..2a7da91 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,14 @@ AS_IF([test x$disable_startup_msg =3D xtrue], [ EXTRA_GCC_FLAGS=3D"$EXTRA_GCC_FLAGS -DPSPLASH_DISABLE_STARTUP_MSG" ]) =20 +AC_ARG_ENABLE([progress-bar], + AS_HELP_STRING([--disable-progress-bar], [Disable progress bar]), + [disable_progress_bar=3Dtrue], + [disable_progress_bar=3Dfalse]) +AS_IF([test x$disable_progress_bar =3D xtrue], [ + EXTRA_GCC_FLAGS=3D"$EXTRA_GCC_FLAGS -DPSPLASH_DISABLE_PROGRESS_BAR" +]) + AC_ARG_ENABLE([img-fullscreen], AS_HELP_STRING([--enable-img-fullscreen], [Enable the logo image in = fullscreen mode)]), [img_fullscreen=3Dtrue], diff --git a/psplash-config.h b/psplash-config.h index 0ba8440..eb90ef3 100644 --- a/psplash-config.h +++ b/psplash-config.h @@ -21,6 +21,11 @@ #define PSPLASH_IMG_FULLSCREEN 0 #endif =20 +/* Bool indicated if the progress bar should be disabled */ +#ifndef PSPLASH_DISABLE_PROGRESS_BAR +#define PSPLASH_SHOW_PROGRESS_BAR 1 +#endif + /* Position of the image split from top edge, numerator of fraction */ #define PSPLASH_IMG_SPLIT_NUMERATOR 5 =20 diff --git a/psplash.c b/psplash.c index 1a56629..ee1af6b 100644 --- a/psplash.c +++ b/psplash.c @@ -61,6 +61,7 @@ psplash_draw_msg (PSplashFB *fb, const char *msg) msg); } =20 +#ifdef PSPLASH_SHOW_PROGRESS_BAR void psplash_draw_progress (PSplashFB *fb, int value) { @@ -95,6 +96,7 @@ psplash_draw_progress (PSplashFB *fb, int value) DBG("value: %i, width: %i, barwidth :%i\n", value,=20 width, barwidth); } +#endif /* PSPLASH_SHOW_PROGRESS_BAR */ =20 static int=20 parse_command (PSplashFB *fb, char *string) @@ -108,20 +110,22 @@ parse_command (PSplashFB *fb, char *string) =20 command =3D strtok(string," "); =20 - if (!strcmp(command,"PROGRESS"))=20 + if (!strcmp(command,"MSG")) { char *arg =3D strtok(NULL, "\0"); =20 if (arg) - psplash_draw_progress (fb, atoi(arg)); + psplash_draw_msg (fb, arg); }=20 - else if (!strcmp(command,"MSG"))=20 + #ifdef PSPLASH_SHOW_PROGRESS_BAR + else if (!strcmp(command,"PROGRESS")) { char *arg =3D strtok(NULL, "\0"); =20 if (arg) - psplash_draw_msg (fb, arg); + psplash_draw_progress (fb, atoi(arg)); }=20 +#endif else if (!strcmp(command,"QUIT"))=20 { return 1; @@ -311,6 +315,7 @@ main (int argc, char** argv) POKY_IMG_ROWSTRIDE, POKY_IMG_RLE_PIXEL_DATA); =20 +#ifdef PSPLASH_SHOW_PROGRESS_BAR /* Draw progress bar border */ psplash_fb_draw_image (fb,=20 (fb->width - BAR_IMG_WIDTH)/2,=20 @@ -322,6 +327,7 @@ main (int argc, char** argv) BAR_IMG_RLE_PIXEL_DATA); =20 psplash_draw_progress (fb, 0); +#endif =20 #ifdef PSPLASH_STARTUP_MSG psplash_draw_msg (fb, PSPLASH_STARTUP_MSG); --=20 2.31.1
|
|
[layerindex-web][PATCH 0/7] Fix layer index parsing issues (cover letter only)
Paul Eggleton <paul.eggleton@...>
Fix layer index parsing issues with master & honister, and complete
the move to Django 2.2 LTS. The following changes since commit 2314fb2811bc3753d9dd4459747d8d30369321ad: Add SPDX license headers to layerindex-web source files (2021-04-21 08:22:51 +1200) are available in the git repository at: git://git.yoctoproject.org/layerindex-web paule/newfixes1 http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=paule/newfixes1 Paul Eggleton (7): requirements.txt: set proper version restriction for Django README.devel: update versions update: fix setup of BBLAYERS utils: ensure we show error messages on server startup rrs: make changes to support Django 2.2 about: add Amber & Tim to contributors list Report charset for text & CSV views README.devel | 9 +++--- layerindex/recipeparse.py | 1 + layerindex/update_layer.py | 6 +++- layerindex/urls.py | 4 +-- layerindex/utils.py | 15 +++++++++- layerindex/views.py | 2 +- requirements.txt | 2 +- rrs/migrations/0001_initial.py | 20 ++++++------- rrs/migrations/0002_maintenanceplan.py | 4 +-- rrs/migrations/0003_release_plan.py | 2 +- rrs/migrations/0005_release_plan_nonnull.py | 2 +- rrs/migrations/0006_maintplan_email.py | 2 +- rrs/migrations/0007_python23.py | 4 +-- rrs/migrations/0009_rmh_layerbranch.py | 2 +- rrs/migrations/0012_reup_layerbranch_field.py | 2 +- rrs/migrations/0014_reup_layerbranch_nonnull.py | 2 +- rrs/migrations/0016_rmh_layerbranch_nonnull.py | 2 +- rrs/models.py | 40 ++++++++++++------------- rrs/tools/rrs_upstream_email.py | 2 +- rrs/views.py | 4 +-- templates/layerindex/about.html | 2 ++ 21 files changed, 74 insertions(+), 55 deletions(-) -- 1.8.3.1
|
|
[layerindex-web][PATCH] import_layer.py: support import layer to non-master branch
Changqing Li
From: Changqing Li <changqing.li@...>
Before this commit, it only support create layer on master branch, support import layer to other branch to fix following issue: For layer A, it only works on NON-MASTER branch. If we import it use this tool, it will by default import it to master branch. In master branch, bitbake is newer, and use new overrides style, but layer A use old style overrides style, which make update.py -b master report error: INFO: Collecting data for layer A on branch master (NON-MASTER) NOTE: Starting bitbake server... ERROR: Variable PREMIRRORS_append contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake. ERROR: Traceback (most recent call last): File "update_layer.py", line 486, in main layer_config_data = layerconfparser.parse_layer(layerdir) File "/path/to/layerindex-web/layerindex/layerconfparse.py", line 47, in parse_layer utils.parse_layer_conf(layerdir, self.config_data_copy, logger=self.logger) File "/path/to/layerindex-web/layerindex/utils.py", line 288, in parse_layer_conf data = parse_conf(conf_file, data) File "/path/to/layerindex-web/layerindex/utils.py", line 273, in parse_conf data = bb.parse.handle(conf_file, d, include=True) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/parse/__init__.py", line 107, in handle return h['handle'](fn, data, include) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 149, in handle statements.eval(data) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/parse/ast.py", line 19, in eval statement.eval(data) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/parse/ast.py", line 145, in eval data.setVar(key, val, parsing=True, **loginfo) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/tinfoil.py", line 97, in remoteCommand ret = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, cmd, args, kwargs) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/tinfoil.py", line 469, in run_command result = self.server_connection.connection.runCommand(commandline) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/server/process.py", line 410, in runCommand raise bb.BBHandledException() Signed-off-by: Changqing Li <changqing.li@...> --- layerindex/tools/import_layer.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py index dfe887c..0c4881f 100755 --- a/layerindex/tools/import_layer.py +++ b/layerindex/tools/import_layer.py @@ -236,6 +236,9 @@ def main(): parser.add_option("-a", "--actual-branch", help = "Set actual branch", action="store", dest="actual_branch") + parser.add_option("-b", "--branch", + help = "Set branch to import", + action="store", dest="branch", default="master") options, args = parser.parse_args(sys.argv) @@ -284,7 +287,7 @@ def main(): if not os.path.exists(fetchdir): os.makedirs(fetchdir) - master_branch = utils.get_branch('master') + master_branch = utils.get_branch(options.branch) core_layer = None try: with transaction.atomic(): @@ -311,7 +314,7 @@ def main(): logger.error("Fetch failed: %s" % str(e)) sys.exit(1) - actual_branch = 'master' + actual_branch = options.branch if (options.actual_branch): actual_branch = options.actual_branch try: @@ -324,7 +327,7 @@ def main(): actual_branch = line.split('-> origin/')[-1] break if not actual_branch: - logger.error("Repository has no master branch nor origin/HEAD") + logger.error("Repository has no %s branch nor origin/HEAD" % options.branch) sys.exit(1) out = utils.runcmd(['git', 'checkout', 'origin/%s' % actual_branch], repodir, logger=logger) @@ -332,7 +335,7 @@ def main(): if options.subdir: layerdir = os.path.join(repodir, options.subdir) if not os.path.exists(layerdir): - logger.error("Subdirectory %s does not exist in repository for master branch" % options.subdir) + logger.error("Subdirectory %s does not exist in repository for %s branch" % (options.subdir, options.branch)) sys.exit(1) if not os.path.exists(os.path.join(layerdir, 'conf/layer.conf')): logger.error("conf/layer.conf not found in subdirectory %s" % options.subdir) -- 2.17.1
|
|
[layerindex-web][PATCH] update.py: add option -s for send mail
Changqing Li
From: Changqing Li <changqing.li@...>
Add option -s to support send mail to admin when update_layer.py return non-zero value. So that admin can find issues ASAP. Signed-off-by: Changqing Li <changqing.li@...> --- layerindex/update.py | 27 ++++++++++++++++++++++++++ templates/layerindex/updatefailure.txt | 11 +++++++++++ 2 files changed, 38 insertions(+) create mode 100644 templates/layerindex/updatefailure.txt diff --git a/layerindex/update.py b/layerindex/update.py index 5a2642b..f66a747 100755 --- a/layerindex/update.py +++ b/layerindex/update.py @@ -35,6 +35,28 @@ except ImportError: logger.error("Please install PythonGit 0.3.1 or later in order to use this script") sys.exit(1) +def send_email(cmd, log): + from django.core.mail import EmailMessage + from django.template.loader import get_template + import settings + + subject = 'Notification: Layer Index Update ERRORS/WARNINGS' + from_email = settings.DEFAULT_FROM_EMAIL + + to_email_list = [] + for a in settings.ADMINS: + to_email_list.append(a[1]) + + d = { + 'cmd': cmd, + 'log': log, + } + + plaintext = get_template('layerindex/updatefailure.txt') + text_content = plaintext.render(d) + + msg = EmailMessage(subject, text_content, from_email, to_email_list) + msg.send() def prepare_update_layer_command(options, branch, layer, initial=False): """Prepare the update_layer.py command line""" @@ -178,6 +200,9 @@ def main(): parser.add_option("", "--keep-temp", help = "Preserve temporary directory at the end instead of deleting it", action="store_true") + parser.add_option("-s", "--send-mail", + help = "Send mail to admin when update layer have errors", + action="store_true", dest="sendmail", default=False) options, args = parser.parse_args(sys.argv) if len(args) > 1: @@ -443,6 +468,8 @@ def main(): layerupdate.retcode = ret if not options.dryrun: layerupdate.save() + if options.sendmail: + send_email(cmd, output) continue col = extract_value('BBFILE_COLLECTIONS', output) diff --git a/templates/layerindex/updatefailure.txt b/templates/layerindex/updatefailure.txt new file mode 100644 index 0000000..ddcb6b9 --- /dev/null +++ b/templates/layerindex/updatefailure.txt @@ -0,0 +1,11 @@ +Hi, Admins + +There are ERRORS/WARNINGS during layer index update, please check it. + +Layer update command: +{{cmd}} + +Details: +{{log | safe}} + +Have a nice day! -- 2.17.1
|
|
Re: Minutes: Yocto Project Weekly Triage Meeting 10/21/2021
On 2021-10-21 11:28 a.m., Trevor
Gamblin wrote:
Done. It too more than an hour (not 10 minutes) since I actuall read through many of the issues to decide if they are M1, M2 and if anyone on the team should be CCed. Phew!
../Randy
-- # Randy MacLeod # Wind River Linux
|
|
Minutes: Yocto Project Weekly Triage Meeting 10/21/2021
Trevor Gamblin
Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage Attendees: Alexandre, Anuj, Bruce, Daiane, Joshua,
Kiran, Michael, Randy, Richard, Ross, Saul, Stephen, Steve, Tim,
Trevor ARs: - Daiane to take ownership 14605 when a Bugzilla
account is sorted out - Randy to move 3.4 AB-INT/Medium+ bugs to 3.5 M2 - Everyone to review Old Milestone bugs and move to 3.5
milestones as necessary Notes:
Medium+ 3.4 Unassigned Enhancements/Bugs: 70 (Last week 68) Medium+ 3.5 Unassigned Enhancements/Bugs: 13 (Last week
12) AB Bugs: 63
(Last week 65)
|
|
[meta-zephyr][PATCH 2/2] zephyr-kernel-src: set default preferred version to 2.7.0
Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@...>
--- recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index 458ff1e..3a2250d 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -22,5 +22,5 @@ SRC_URI = "\ S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "2.6.1" +PREFERRED_VERSION_zephyr-kernel ??= "2.7.0" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.17.1
|
|
[meta-zephyr][PATCH 1/2] zephyr-kernel/2.7.0: update to release tag Zephyr v2.7.0
Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.7.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@...> --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc index e3424d2..a1619a7 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -1,5 +1,5 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "8a97c83040c0257d98c329dde55ae10e68544688" +SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" -- 2.17.1
|
|
[psplash][PATCH] Improve warnings from probing for double buffering
Zach Welch <zach.welch@...>
Adds missing newline characters in output, while clarifying that these
messages are warnings that may be safely ignored. Signed-off-by: Zachary T Welch <zach.welch@...> --- psplash-fb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/psplash-fb.c b/psplash-fb.c index 6603572..2babb5f 100644 --- a/psplash-fb.c +++ b/psplash-fb.c @@ -197,7 +197,8 @@ psplash_fb_new (int angle, int fbdev_id) =20 /* Setup double virtual resolution for double buffering */ if (ioctl(fb->fd, FBIOPAN_DISPLAY, &fb_var) =3D=3D -1) { - fprintf(stderr, "FBIOPAN_DISPLAY not supported, double buffering dis= abled"); + fprintf(stderr, "warning: FBIOPAN_DISPLAY not supported, " + "double buffering disabled\n"); } else { if (fb_var.yres_virtual =3D=3D fb_var.yres * 2) { DBG("Virtual resolution already double"); @@ -205,7 +206,8 @@ psplash_fb_new (int angle, int fbdev_id) } else { fb_var.yres_virtual =3D fb_var.yres * 2; if (ioctl(fb->fd, FBIOPUT_VSCREENINFO, &fb_var) =3D=3D -1) { - fprintf(stderr, "FBIOPUT_VSCREENINFO failed, double buffering di= sabled"); + fprintf(stderr, "warning: FBIOPUT_VSCREENINFO failed, " + "double buffering disabled\n"); } else { if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb_fix) =3D=3D -1) { perror(" Error getting the fixed framebuffer info"); --=20 2.33.1
|
|
[yocto-autobuilder2][dunfell 2/2] config.py: enable debian11 workers for dunfell
Steve Sakoman
Signed-off-by: Steve Sakoman <steve@...>
--- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 8792132..3874f04 100644 --- a/config.py +++ b/config.py @@ -151,7 +151,7 @@ workers_prev_releases = { "gatesgarth" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora30", "fedora31", "fedora32", "opensuse150", "opensuse151", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu1904", "ubuntu2004", "perf-"), "dunfell" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora29", "fedora30", "fedora31", "fedora32", "fedora33", "fedora34", "opensuse150", "opensuse151", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu1904", "ubuntu2004", "perf-"), "zeus" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), - "warrior" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), + "warrior" : ("centos7", "debian8", "debian9", "debian10", "debian11", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), "thud" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), "sumo" : ("centos7", "debian8", "debian9", "fedora28", "ubuntu1604", "ubuntu1804", "perf-") } -- 2.25.1
|
|
[yocto-autobuilder2][dunfell 1/2] config.py: enable fedora34 workers for dunfell
Steve Sakoman
Signed-off-by: Steve Sakoman <steve@...>
--- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index db1b763..8792132 100644 --- a/config.py +++ b/config.py @@ -149,7 +149,7 @@ all_workers = workers + workers_bringup + workers_buildperf + workers_arm workers_prev_releases = { "hardknott" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora31", "fedora32", "fedora33", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu2004", "perf-"), "gatesgarth" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora30", "fedora31", "fedora32", "opensuse150", "opensuse151", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu1904", "ubuntu2004", "perf-"), - "dunfell" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora29", "fedora30", "fedora31", "fedora32", "fedora33", "opensuse150", "opensuse151", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu1904", "ubuntu2004", "perf-"), + "dunfell" : ("centos7", "centos8", "debian8", "debian9", "debian10", "fedora29", "fedora30", "fedora31", "fedora32", "fedora33", "fedora34", "opensuse150", "opensuse151", "opensuse152", "ubuntu1604", "ubuntu1804", "ubuntu1904", "ubuntu2004", "perf-"), "zeus" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), "warrior" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), "thud" : ("centos7", "debian8", "debian9", "debian10", "fedora28", "fedora29", "fedora30", "opensuse150", "opensuse151", "ubuntu1604", "ubuntu1804", "ubuntu1904", "perf-"), -- 2.25.1
|
|
[yocto-autobuilder2][dunfell 0/2] Patch review
Steve Sakoman
This series enables fedora34 and debian11 workers for dunfell.
The following changes since commit 08020902bef43866e3c982422e4fbdace57cd01a: schedulers: Add honister release (2021-10-11 11:12:11 +0100) are available in the Git repository at: git://git.yoctoproject.org/yocto-autobuilder2 contrib/sakoman http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder2/log/?h=contrib/sakoman Steve Sakoman (2): config.py: enable fedora34 workers for dunfell config.py: enable debian11 workers for dunfell config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1
|
|
[meta-zephyr][PATCH] lib/oeqa/controllers: extend search path
Ross Burton <ross@...>
When multiple locations can provide modules in the same package, the
search path needs to be extended with pkgutil.extend_path. Otherwise the search will end early and not iterate through each of the providers. Signed-off-by: Ross Burton <ross.burton@...> --- lib/oeqa/controllers/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/oeqa/controllers/__init__.py b/lib/oeqa/controllers/__in= it__.py index e69de29..df3c142 100644 --- a/lib/oeqa/controllers/__init__.py +++ b/lib/oeqa/controllers/__init__.py @@ -0,0 +1,3 @@ +# This is needed so that multiple locations can provide the same package +from pkgutil import extend_path +__path__ =3D extend_path(__path__, __name__) --=20 2.25.1
|
|
[yocto-autobuilder-helper][dunfell 3/3] config.json: set max load in PARALLEL_MAKE
Steve Sakoman
From: Trevor Gamblin <trevor.gamblin@...>
Add "-l 52" to PARALLEL_MAKE in config.json to limit Make and Ninja builds based on the detected system load. With this option added, if either tool has at least one job running and detects that the system load exceeds the given value, it will wait until either the system load average drops below that limit, or until all other jobs are finished before starting additional jobs. Since most autobuilder machines have 56 cores, this should help keep the system from being overloaded during builds. Reference: https://www.gnu.org/software/make/manual/html_node/Parallel.html Signed-off-by: Trevor Gamblin <trevor.gamblin@...> Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit 5c5fc7bcd221427d34bbac80c9bad315fb6de4df) Signed-off-by: Steve Sakoman <steve@...> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index fa475e3..cbb0f5b 100644 --- a/config.json +++ b/config.json @@ -43,7 +43,7 @@ "PREMIRRORS = ''", "BB_GENERATE_MIRROR_TARBALLS = '1'", "BB_NUMBER_THREADS = '16'", - "PARALLEL_MAKE = '-j 16'", + "PARALLEL_MAKE = '-j 16 -l 52'", "XZ_MEMLIMIT = '5%'", "XZ_THREADS = '8'", "BB_TASK_NICE_LEVEL = '5'", -- 2.25.1
|
|
[yocto-autobuilder-helper][dunfell 2/3] config.json: Ensure BB_HASHSERVE is set in SDKs to auto
Steve Sakoman
From: Richard Purdie <richard.purdie@...>
Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit 4689763b513521fc70cca576b88035de240a3ba6) Signed-off-by: Steve Sakoman <steve@...> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 571ddae..fa475e3 100644 --- a/config.json +++ b/config.json @@ -31,7 +31,7 @@ "DLDIR" : "DL_DIR = '${BASE_SHAREDDIR}/current_sources'", "SSTATEDIR" : ["SSTATE_DIR ?= '${BASE_SHAREDDIR}/pub/sstate-dunfell'"], "SSTATEDIR_RELEASE" : ["SSTATE_MIRRORS += 'file://.* file://${BASE_SHAREDDIR}/pub/sstate-dunfell/PATH'", "SSTATE_DIR ?= '${BASE_PUBLISHDIR}/sstate/@RELEASENUM@'"], - "SDKEXTRAS" : ["SSTATE_MIRRORS += '\\", "file://.* http://sstate.yoctoproject.org/dev/@RELEASENUM@PATH;downloadfilename=PATH'"], + "SDKEXTRAS" : ["SSTATE_MIRRORS += '\\", "file://.* http://sstate.yoctoproject.org/dev/@RELEASENUM@PATH;downloadfilename=PATH'", "BB_HASHSERVE = 'auto'"], "BUILDINFO" : false, "BUILDHISTORY" : false, "BUILDINFOVARS" : ["INHERIT += 'image-buildinfo'", "IMAGE_BUILDINFO_VARS_append = ' IMAGE_BASENAME IMAGE_NAME'"], -- 2.25.1
|
|