Re: [yocto] On managing debug and production builds

2022-02-28 Thread tomzy
Hi Vinayak I believe that the best way to prepare debug and prod images is to create include file (.inc) with base set of packages and features and then add two .bb recipes, one for prod and one for debug - every of this recipes will need to include the `.inc` file. You could name them

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
Hello Raj, yes, you are right, {B} works too, and looks more logical. Thanks for adapting my patch accordingly. Many greetings, Matthias -Ursprüngliche Nachricht- Von: Khem Raj Gesendet: Montag, 28. Februar 2022 18:08 An: Konrad Weihmann Cc: Matthias Klein ;

Re: [yocto] Custom Image Type

2022-02-28 Thread Rudolf J Streif
Thanks, Khem. On 2/28/22 8:54 PM, Khem Raj wrote: On Mon, Feb 28, 2022 at 8:32 PM Rudolf J Streif wrote: I ran into a problem with a custom image type class. I called the class image_types_ota.bbclass. When I try to use it I am getting these error messages for two predefined image recipes

[yocto] Custom Image Type

2022-02-28 Thread Rudolf J Streif
I ran into a problem with a custom image type class. I called the class image_types_ota.bbclass. When I try to use it I am getting these error messages for two predefined image recipes (but only for these two, for any other image recipe it is fine): ERROR:

Re: [yocto] QA notification for completed autobuilder build (yocto-3.3.5.rc1)

2022-02-28 Thread Teoh, Jay Shen
Hi Everyone, This is the full report for yocto-3.3.5.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. No new issue found. Thanks, Jay > -Original Message- > From:

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Khem Raj
On Mon, Feb 28, 2022 at 5:10 AM Konrad Weihmann wrote: > > Hi Matthias, > > you're right :( > > PYPA_WHEEL = "${S}/py-smbus/dist/smbus-*-*.whl" this should be B instead I think > > finally does it > > @Tim @Richard > PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH, which might be another >

[yocto] [meta-security][PATCH 1/2] layer.conf: enable apparmor for qemu machine

2022-02-28 Thread Armin Kuster
Signed-off-by: Armin Kuster --- conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 1f83593..21f03d1 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -16,3 +16,6 @@ LAYERDEPENDS_security = "core openembedded-layer perl-layer

[yocto] [meta-security][PATCH 2/2] parsec-service: Only enable TPM is layer and DISTRO_FEATURE is defined.

2022-02-28 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../recipes-parsec/parsec-service/parsec-service_0.8.1.bb | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.8.1.bb

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
Hello Konrad, Thank you very much! The package is now building. I have sent a corresponding patch. Many greetings, Matthias -Ursprüngliche Nachricht- Von: Konrad Weihmann Gesendet: Montag, 28. Februar 2022 14:11 An: Matthias Klein ; yocto@lists.yoctoproject.org; Tim Orling ; Richard

[yocto] [yocto-autobuilder-helper][hardknott 3/3] shared-repos: Use tar instead of rsync for speed

2022-02-28 Thread Anuj Mittal
From: Richard Purdie The rysnc of 20,000 files (650MB) onto the nas is slow taking ~3 minutes at idle and worse at load. This is due to the number of files which is a pain point for NFS. This piece of the build is also a bottleneck since the rest of a build depends on it happening. If we switch

[yocto] [yocto-autobuilder-helper][hardknott 2/3] prepare-shared-repos: Make it clear when rsync starts in logs

2022-02-28 Thread Anuj Mittal
From: Richard Purdie Signed-off-by: Richard Purdie (cherry picked from commit 8e996a95a8902b40380dd477ecb606cc969cdee9) Signed-off-by: Anuj Mittal --- scripts/prepare-shared-repos | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos

[yocto] [yocto-autobuilder-helper][hardknott 1/3] scripts/prepare-shared-repos: Use tmpfs for speed

2022-02-28 Thread Anuj Mittal
From: Richard Purdie Signed-off-by: Richard Purdie (cherry picked from commit 298a10575851d501204fe1ee0d1dcbcec37a66cd) Signed-off-by: Anuj Mittal --- scripts/prepare-shared-repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare-shared-repos

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Konrad Weihmann
Hi Matthias, you're right :( PYPA_WHEEL = "${S}/py-smbus/dist/smbus-*-*.whl" finally does it @Tim @Richard PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH, which might be another issue to fix BR Konrad On 28.02.22 14:04, Matthias Klein wrote: Hello Konrad, unfortunately it still does

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
Hello Konrad, unfortunately it still does not build: ERROR: smbus-*-*.whl is not a valid wheel filename. Best regards, Matthias -Ursprüngliche Nachricht- Von: Konrad Weihmann Gesendet: Montag, 28. Februar 2022 13:59 An: Matthias Klein ; yocto@lists.yoctoproject.org Betreff: Re: AW:

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
ERROR: smbus-*-*.whl is not a valid wheel filename. -Ursprüngliche Nachricht- Von: Konrad Weihmann Gesendet: Montag, 28. Februar 2022 13:59 An: Matthias Klein ; yocto@lists.yoctoproject.org Betreff: Re: AW: [yocto] python3-smbus no longer builds - Does anyone have an idea? On

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Konrad Weihmann
On 28.02.22 13:56, Matthias Klein wrote: Hello Konrad, Thanks for the quick feedback. Have you been able to build the package with the change? I get a similar error with it: Dang - that's the second issue being open in this series... ERROR: smbus-4.3-*.whl is not a valid wheel filename.

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
Hello Konrad, Thanks for the quick feedback. Have you been able to build the package with the change? I get a similar error with it: ERROR: smbus-4.3-*.whl is not a valid wheel filename. Best reagrds, Matthias -Ursprüngliche Nachricht- Von: Konrad Weihmann Gesendet: Montag, 28.

Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Konrad Weihmann
Hi Matthias, this is cause by merged PEP-517 changes. To make it build again just inject PIP_INSTALL_PACKAGE = "smbus" into the recipe or a bbappend. Mainly the python3-prefix of the recipe, makes the name guessing fail, I suspect patches to be incoming soon BR Konrad On 28.02.22 13:45,

[yocto] python3-smbus no longer builds - Does anyone have an idea?

2022-02-28 Thread Matthias Klein
Hello, the python3-smbus package no longer builds. The install step ends with the following error message: ERROR: python3_smbus-4.3-*.whl is not a valid wheel filename. Does anyone have an idea what is the cause? Many greetings, Matthias -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [yocto] Correspondance between Qt5 components and meta-qt5 recipes

2022-02-28 Thread Michael Ho via lists.yoctoproject.org
Hi Perceval, Just a rough guess, I think you want qtsvg in DEPENDS for svg support and/or qtbase in DEPENDS for gif support. I don't know of any mapping but the recipes seem to align quite clearly with the components. And I think you can ignore setting RDEPENDS manually. Typically the RDEPENDS

Re: [yocto] extract several source tree with devtool

2022-02-28 Thread Alexander Kanavin
You probably need to fix devtool as it is not designed to handle this, patches welcome. Alex On Mon, 28 Feb 2022 at 09:11, Julien STEPHAN wrote: > > Hi all, > > Any ideas? > > Thanks > Julien > > Le lun. 21 févr. 2022 à 18:24, Julien STEPHAN via lists.yoctoproject.org > a écrit : >> >> Hi

Re: [yocto] extract several source tree with devtool

2022-02-28 Thread Julien STEPHAN
Hi all, Any ideas? Thanks Julien Le lun. 21 févr. 2022 à 18:24, Julien STEPHAN via lists.yoctoproject.org a écrit : > Hi all, > > I am wondering if it is possible to extract both a git repo and a tarball > using devtool modify? > Example: > I am trying to use devtool modify on tensorflow-lite