[OE-core] [PATCH 5/6] oeqa/selftest: unit tests for overlayfs-etc

2021-11-18 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- meta/lib/oeqa/selftest/cases/overlayfs.py | 141 ++ 1 file changed, 141 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overlayfs.py index 43415778ce..4623215a47 100644 ---

[OE-core] [PATCH 6/6] overlayfs: update notes on /etc

2021-11-18 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- meta/classes/overlayfs.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/overlayfs.bbclass b/meta/classes/overlayfs.bbclass index 3c0f4dc882..f1b8086ea8 100644 --- a/meta/classes/overlayfs.bbclass +++ b/meta/classes/overlayfs.bbclass @@

[OE-core] [PATCH 4/6] oeqa/selftest: overlayfs helper function

2021-11-18 Thread Vyacheslav Yurkov
Move helper functions out of class scope so they can be used in other tests Signed-off-by: Vyacheslav Yurkov --- meta/lib/oeqa/selftest/cases/overlayfs.py | 32 +++ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py

[OE-core] [PATCH 3/6] image: add overlayfs-etc image feature

2021-11-18 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- meta/classes/image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 6c759fdf70..e198f041b1 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@

[OE-core] [PATCH 2/6] wic: image for overlayfs-etc tests

2021-11-18 Thread Vyacheslav Yurkov
Introduce wic image for overlayfs-etc tests with a dedicated /data partition and configurable kernel parameters Signed-off-by: Vyacheslav Yurkov --- meta-selftest/wic/overlayfs_etc.wks.in | 4 1 file changed, 4 insertions(+) create mode 100644 meta-selftest/wic/overlayfs_etc.wks.in diff

[OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-11-18 Thread Vyacheslav Yurkov
This class provides an image feature that mounts /etc as an overlayfs file system. This is an extension for existing overlayfs class, which doesn't support /etc Signed-off-by: Alfred Schapansky Signed-off-by: Vyacheslav Yurkov --- meta/classes/overlayfs-etc.bbclass | 93

[OE-core] [PATCH 0/6] Pull request (cover letter only)

2021-11-18 Thread Vyacheslav Yurkov
This is a V1 of overlayfs-etc image feature implementation, that allows to setup the whole /etc under overlayfs. Please review and merge if you find it OK The following changes since commit 0d15632f3db787d3f08eb260732567e62f52ffb3: libtasn1: upgrade 4.17.0 -> 4.18.0 (2021-11-16 22:19:47 +)

Re: [OE-core] [hardknott][PATCH] gcc: Fix CVE-2021-35465

2021-11-18 Thread Pgowda
Hi, Gentle ping on this patch. Thanks, pgowda On Mon, Nov 15, 2021 at 5:44 PM Pgowda wrote: > > source : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102035 > > Upstream-Status: > Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3929bca9ca95de9d35e82ae8828b188029e3eb70] >

Re: [OE-core][PATCH] classes/crate-fetch: Ensure crate fetcher is available

2021-11-18 Thread Joshua Watt
On 11/18/21 8:12 PM, Joshua Watt wrote: Reworks the crate fetcher class to have it install the fetcher at recipe finalization so that it is always available before SRC_URI is expanded. In addition, override the value of SRCPV to also install the fetcher when SRCPV is expanded so that AUTOREV

[OE-core][PATCH] classes/crate-fetch: Ensure crate fetcher is available

2021-11-18 Thread Joshua Watt
Reworks the crate fetcher class to have it install the fetcher at recipe finalization so that it is always available before SRC_URI is expanded. In addition, override the value of SRCPV to also install the fetcher when SRCPV is expanded so that AUTOREV works. Signed-off-by: Joshua Watt ---

Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk

2021-11-18 Thread Chen Qi
Hi Luca, If the real useful part is only about systemd-analyze in case of nativesdk/native, I'd suggest adding systemd-analyze-native or nativesdk-systemd-analyze instead of extending the current systemd recipe. This is because systemd has a whole bunch of dependencies which basically make no

[OE-core] [hardknott][PATCH 00/14] Pull request (cover letter only)

2021-11-18 Thread Anuj Mittal
Please merge these changes. Thanks, Anuj The following changes since commit 0ca080a23c2770a15138f702d4c879bbd90ca360: build-appliance-image: Update to hardknott head revision (2021-11-04 11:58:28 +) are available in the Git repository at:

Re: [OE-core] [hardknott][PATCH v2] rust-cross: Replace TARGET_ARCH with TUNE_PKGARCH

2021-11-18 Thread Randy MacLeod
On 2021-11-18 10:30 a.m., Pgowda wrote: Hi, Gentle ping on this patch. It's in master-next but it may not have been this morning. $ pwd .../oe-core.git $ git status On branch master-next Your branch is up to date with 'origin/master-next'. nothing to commit, working tree clean

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-18 Thread Andre McCurdy
On Thu, Nov 18, 2021 at 2:32 AM Alexander Kanavin wrote: > > I double checked, with strace (can't trust the logs as they don't show the > actual linker invocation :) > >

[OE-core][PATCH] classes/meson: Add optional rust definitions

2021-11-18 Thread Joshua Watt
Adds the rust tools to the cross and native files if present so that projects that use both rust and meson can build Signed-off-by: Joshua Watt --- meta/classes/meson.bbclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/classes/meson.bbclass

[OE-core] [PATCH] glibc-tests: Do not set SYSTEMD_SERVICE

2021-11-18 Thread Khem Raj
These are glibc specific which comes from glibc packaging class Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc-tests_2.34.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/glibc/glibc-tests_2.34.bb b/meta/recipes-core/glibc/glibc-tests_2.34.bb index

[OE-core][PATCH] os-release: Add DISTRO_CODENAME as vardeps for do_compile

2021-11-18 Thread Daniel Gomez
DISTRO_CODENAME is part of VERSION variable but not used as dependency for do_compile task. Append it to the vardeps list to rebuild in case it changes. Signed-off-by: Daniel Gomez --- meta/recipes-core/os-release/os-release.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Michael Opdenacker
Hi Robert, On 11/18/21 11:43 AM, Robert P. J. Day wrote: > On Thu, 18 Nov 2021, Martin Jansa wrote: > >> openembedded-core/scripts/sstate-cache-management.sh > i just now found that script, and noticed that it is not documented > anywhere in the YP docs. perhaps we need a short section on >

[OE-core] [PATCH] gstreamer1.0-plugins-base: add support for graphene

2021-11-18 Thread Ulrich Ölmann
Signed-off-by: Ulrich Ölmann --- .../gstreamer/gstreamer1.0-plugins-base_1.18.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb

[OE-core] anyone played with TAS (TCP acceleration service) in OE?

2021-11-18 Thread Robert P. J. Day
colleague just asked me about the viability of TAS in OE: https://tcp-acceleration-service.github.io/documents/tas_slides.pdf i've never even heard of it ... anyone crammed it into an OE build? rdayu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [OE-core] [hardknott][PATCH v2] rust-cross: Replace TARGET_ARCH with TUNE_PKGARCH

2021-11-18 Thread Pgowda
Hi, Gentle ping on this patch. Thanks, pgowda On Mon, Nov 15, 2021 at 7:33 PM Pgowda wrote: > > rust-cross-* imported from meta-rust has incorrect signatures, > depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH > as shown by sstate-diff-machines.sh: > >

[OE-core] Recommended structure of npm recipes

2021-11-18 Thread Stefan Herbrechtsmeier
Hi, I would like to get some opinions from the OE experts regarding the recommended structure of npm recipes. I have test different solutions but need some advice. npm could be used to build a web browser application or a Node.js application: 1) A build of a *web browser application* with

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Robert P. J. Day
On Thu, 18 Nov 2021, Alexander Kanavin wrote: > There is a caveat here. This will touch all sstate that is needed to > construct an image, but won't touch sstate needed to build > components that go into the image. So target packages are guaranteed > to be kept, but native items may be deleted -

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
There is a caveat here. This will touch all sstate that is needed to construct an image, but won't touch sstate needed to build components that go into the image. So target packages are guaranteed to be kept, but native items may be deleted - I've seen this with e.g. java compiler that is used for

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Ross Burton
If you can say that you've touched all the sstate you'll need then the find trick is sufficient. I use it on our CI to prune any sstate that hasn't been touched in a month, for example. The script is more powerful and can selectively save or destroy things, but can potentially be more

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Jacob Kroon
On 11/18/21 11:48, Alexander Kanavin wrote: It would be also nice to confirm that the script is in use by someone, and functions properly. There's a ton of stuff under scripts/  that isn't getting a lot of attention or testing. I use it regularly. /Jacob -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
It would be also nice to confirm that the script is in use by someone, and functions properly. There's a ton of stuff under scripts/ that isn't getting a lot of attention or testing. Alex On Thu, 18 Nov 2021 at 11:43, Robert P. J. Day wrote: > On Thu, 18 Nov 2021, Martin Jansa wrote: > > >

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Robert P. J. Day
On Thu, 18 Nov 2021, Martin Jansa wrote: > openembedded-core/scripts/sstate-cache-management.sh i just now found that script, and noticed that it is not documented anywhere in the YP docs. perhaps we need a short section on sstate-cache management somewhere in the docs. rday

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
Not really, no. It's also important to stop all builds while this is running - sstate artefacts vanishing during a build will cause chaos. Alex On Thu, 18 Nov 2021 at 11:38, Robert P. J. Day wrote: > > assuming my (correct) understanding of sstate-cache is that, as time > goes by, it just

Re: [OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Martin Jansa
openembedded-core/scripts/sstate-cache-management.sh On Thu, Nov 18, 2021 at 11:38 AM Robert P. J. Day wrote: > > assuming my (correct) understanding of sstate-cache is that, as time > goes by, it just gets larger and larger, it will increasingly contain > content that is of little value

[OE-core] how to "prune" dead sstate-cache?

2021-11-18 Thread Robert P. J. Day
assuming my (correct) understanding of sstate-cache is that, as time goes by, it just gets larger and larger, it will increasingly contain content that is of little value anymore, what is the simplest way to purge or prune entries that are no longer involved in any desired builds? i'm

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-18 Thread Alexander Kanavin
I double checked, with strace (can't trust the logs as they don't show the actual linker invocation :) execve("/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc", ["x86_64-poky-linux-gcc",