[yocto] [meta-selinux][PATCH] layer.conf: update LAYERSERIES_COMPAT for nanbield

2023-09-21 Thread Yi Zhao
oe-core has switched to nanbield in: https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6 Signed-off-by: Yi Zhao --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 8bdc3de..

[yocto] [meta-rockchip][PATCH] rock5b: add

2023-09-21 Thread Trevor Woerner
Add support for the Radxa Rock 5B https://wiki.radxa.com/Rock5/5b The device-tree for this board is better in the 6.5 (and later) kernels, therefore set the kernel to linux-yocto-dev for now (eventually this won't be needed as linux-yocto moves forward). The Trusted Firmware A project (TF-A git:/

Re: [yocto] [meta-rockchip][PATCH v2] nanopi-r4s: add

2023-09-21 Thread Trevor Woerner
On Tue 2023-09-19 @ 09:01:15 AM, Trevor Woerner wrote: > Add a MACHINE definition for the FriendlyElec NanoPi R4S > https://www.friendlyelec.com/index.php?route=product/product&product_id=284 > > Include a device-tree patch to enable the 2nd PCIe ethernet. > > Signed-off-by: Trevor Woerner > ---

[yocto] [meta-selinux][PATCH 3/3] README: update

2023-09-21 Thread Yi Zhao
Add how to enable labeling on first boot. Signed-off-by: Yi Zhao --- README | 8 1 file changed, 8 insertions(+) diff --git a/README b/README index 77b6253..67708f7 100644 --- a/README +++ b/README @@ -75,6 +75,14 @@ VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_BACKFILL_CO

[yocto] [meta-selinux][PATCH 1/3] selinux-image.bbclass: refactor bbclass

2023-09-21 Thread Yi Zhao
The selinux_set_labels function should run as late as possible. To guarantee that, we append it to IMAGE_PREPROCESS_COMMAND in RecipePreFinalise event handler, this ensures it is the last function in IMAGE_PREPROCESS_COMMAND. After refactoring, system using systemd can also label selinux contexts

[yocto] [meta-selinux][PATCH 2/3] selinux-autorelabel: enable labeling during build

2023-09-21 Thread Yi Zhao
Previously, system using systemd would label selinux contexts on first boot. While system using sysvinit would label during build. Add a variable FIRST_BOOT_RELABEL as a switch to control labeling to make the behavior of sysvinit and systemd consistent. Set FIRST_BOOT_RELABEL to 1 in local.conf to

Re: [yocto] [Openembedded-architecture] Core workflow: sstate for all, bblock/bbunlock, tools for why is sstate not being reused?

2023-09-21 Thread Chris Laplante via lists.yoctoproject.org
> On Thu, 14 Sept 2023 at 21:54, Richard Purdie > wrote: > > The tools are already supposed to support doing this with local file > > sstate sources, they just do a bad job at getting the diffs right. One > > intent of this work item was to try and understand why they don't work > > and address th

[yocto] Minutes: Yocto Project Weekly Triage Meeting 21/09/2023

2023-09-21 Thread sakib.sajal via lists.yoctoproject.org
*Wiki: *https://wiki.yoctoproject.org/wiki/Bug_Triage *Attendees: *Richard Purdie, Steve Sakoman, Stephen Jolley, Bruce Ashfield, Tim Orling, Joshua Watt, Ross Burton, Trevor Gamblin, Alexandre Belloni, Michael Opdenacker, Antonio, Yoann Congal, Pavel Zhukov, Edi Feschiyan *ARs:** * *Notes:

Re: [yocto] following from bitbake virtual/kernel -c menuconfig

2023-09-21 Thread kevincathcart
You can use that generated full .config file as documented at the start of: https://docs.yoctoproject.org/singleindex.html#changing-the-configuration However, often the better option is to run `-c menuconfig`, let it save as .config, and then run `-c diffconfig`. This produces a small configurati

Re: [yocto] [RFC] recipetool create to support pypi project

2023-09-21 Thread Julien Stephan
Le mer. 20 sept. 2023 à 22:37, Richard Purdie a écrit : > > On Wed, 2023-09-20 at 18:48 +0200, Julien Stephan wrote: > > Hi all, > > > > In the scope of the RFQ, I am currently looking at bug #14737 (adding > > support of PEP-517 in recipetool/devtool). > > > > I am quite new to the recipetool/dev

Re: [yocto] Core workflow: sstate for all, bblock/bbunlock, tools for why is sstate not being reused?

2023-09-21 Thread Alexander Kanavin
On Thu, 14 Sept 2023 at 21:54, Richard Purdie wrote: > The tools are already supposed to support doing this with local file > sstate sources, they just do a bad job at getting the diffs right. One > intent of this work item was to try and understand why they don't work > and address that so at lea

[yocto] [ANNOUNCEMENT] Milestone 3 for Yocto Project 4.3 (yocto-4.3_M3) Now Available

2023-09-21 Thread Lee Chee Yang
Hi We are pleased to announce the third milestone release for Yocto Project 4.3 (yocto-4.3_M3) is now available for download. Download: http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-4.3_M3 bitbake: 033896da8daaff69df3c2adb4ad5fee29121e831 meta-agl: e654a050a3a2f2e780b35f90e