Re: [yocto] EXTRA_USERS_PARAMS doesn't work to generate password for root and add new users

2023-08-23 Thread Khem Raj
On Wed, Aug 23, 2023 at 10:11 PM Jeffrey Simons wrote: > > On Wed, Aug 23, 2023 at 03:50 PM, Crane wrote: > > > > > On Wed, Aug 23, 2023 at 03:45 AM, Mauro wrote: > > > > > > > > You can put the encrypted password (the result of the "openssl passwd -6 > > > root" command) directly in the

Re: [yocto] EXTRA_USERS_PARAMS doesn't work to generate password for root and add new users

2023-08-23 Thread Jeffrey Simons
On Wed, Aug 23, 2023 at 03:50 PM, Crane wrote: > > On Wed, Aug 23, 2023 at 03:45 AM, Mauro wrote: > > > > > You can put the encrypted password (the result of the "openssl passwd -6 > > root" command) directly in the variable, taking care to put a "\" before > > the three "$" contained in the

Re: [yocto] [meta-virtualization] nerdctl broken in kirkstone

2023-08-23 Thread Khem Raj
which task is failing ? On Wed, Aug 23, 2023 at 2:31 PM Marek Belisko wrote: > > Hi, > > I'm trying to add nerdctl to an image using kirkstone release for > meta-virtualization. > I've added bbappend with following fix: > > SRC_URI = >

[yocto] [meta-virtualization] nerdctl broken in kirkstone

2023-08-23 Thread Marek Belisko
Hi, I'm trying to add nerdctl to an image using kirkstone release for meta-virtualization. I've added bbappend with following fix: SRC_URI = "git:// github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https" (branch name in original recipe is master but main is required) but

[yocto] [meta-lts-mixins][PATCH 4/4] Fix RISC-V support

2023-08-23 Thread Scott Murray
Building Rust projects for RISC-V platforms was failing due to the layer not including a copy of lib/oe/rust.py to get all the changes from oe-core commit 1cfb9c8a ("rust-target-config: match riscv target names with what rust expects"). Reverting the changes from that commit seems likely to make

[yocto] [meta-lts-mixins][PATCH 3/4] librsvg: upgrade to 2.54.6

2023-08-23 Thread Scott Murray
From: Chee Yang Lee update include fix for CVE-2023-38633. Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman Signed-off-by: Scott Murray --- recipes-gnome/librsvg/{librsvg_2.54.5.bb => librsvg_2.54.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[yocto] [meta-lts-mixins][PATCH 2/4] rust-common.bbclass: move musl-specific linking fix from rust-source.inc

2023-08-23 Thread Scott Murray
From: Alexander Kanavin This needs to be done for any item that is linked under rustc, and not just rust itself. Latest python-cryptography exposes the issue. (From OE-Core rev: 967d847a9815df43d0c92ca61cc544e1fe5dcc03) Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni

[yocto] [meta-lts-mixins][PATCH 1/4] cargo.bbclass: set up cargo environment in common do_compile

2023-08-23 Thread Scott Murray
From: Alexander Kanavin cargo_do_compile runs only if the recipe is built using cargo as the top level tool. Some recipes hide usage of cargo inside setuptools (or autoconf) and use do_compile definitions specific to those, and so the environment isn't properly set up. This was exposed by

[yocto] [meta-lts-mixins][PATCH 0/4] kirkstone/rust-1.68 branch updates

2023-08-23 Thread Scott Murray
Pull in a couple of recent fixes that were backported to Mickledore, a librsvg update that Steve has queued in mickledore-nut, and a fix for building for RISC-V platforms. Alexander Kanavin (2): cargo.bbclass: set up cargo environment in common do_compile rust-common.bbclass: move

[yocto] [meta-selinux][PATCH 3/3] linux-yocto: drop CONFIG_SECURITY_SELINUX_DISABLE

2023-08-23 Thread Yi Zhao
CONFIG_SECURITY_SELINUX_DISABLE has been removed since kernel 6.4[1][2]. [1] https://github.com/SELinuxProject/selinux-kernel/wiki/DEPRECATE-runtime-disable [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f22f9aaf6c3d92ebd5ad9e67acc03afebaaeb289 Signed-off-by:

[yocto] [meta-selinux][PATCH 2/3] libselinux-python: fix build with musl

2023-08-23 Thread Yi Zhao
libselinux-python also requires the patch which provided by [1] to fix build with musl. [1] https://git.yoctoproject.org/meta-selinux/commit/?id=23d8e2d86317170c0a3c155640c71b83329ff726 Signed-off-by: Yi Zhao --- recipes-security/selinux/libselinux-python_3.5.bb | 1 + 1 file changed, 1

[yocto] [meta-selinux][PATCH 1/3] selinux-python: add python3-distro and binutils to RDEPENDS

2023-08-23 Thread Yi Zhao
Add python3-distro and binutils to RDEPENDS for sepolicy to fix runtime error: $ sepolicy -h Traceback (most recent call last): File "/usr/bin/sepolicy", line 690, in gen_manpage_args(subparsers) File "/usr/bin/sepolicy", line 375, in gen_manpage_args man.add_argument("-o", "--os",

Re: [yocto] SDK build generally broken?

2023-08-23 Thread David Daniel
Thanks a lot for your answers and your time! It turned out that the only problem was the following: TOOLCHAIN_HOST_TASK += "nativesdk-cmake" When I remove this, I still get the CMake Toolchain file but the error is gone. I must have missed something, it seems this is done by default. At least

Re: [yocto] EXTRA_USERS_PARAMS doesn't work to generate password for root and add new users

2023-08-23 Thread Crane
On Wed, Aug 23, 2023 at 03:45 AM, Mauro wrote: > > You can put the encrypted password (the result of the "openssl passwd -6 > root" command) directly in the variable, taking care to put a "\" before > the three "$" contained in the string. Something like this: > > EXTRA_USERS_PARAMS=" usermod

[linux-yocto][yocto-kernel-cache yocto-6.1][PATCH] nxp-imx8: Enable PHY_FSL_IMX8Q_PCIE for imx8qm pci

2023-08-23 Thread Xiaolei Wang via lists.yoctoproject.org
nxp-imx8 has been updated to version 6.1.22, PHY_FSL_IMX8Q_PCIE is necessary for imx8qm, so enable it. Signed-off-by: Xiaolei Wang --- bsp/nxp-imx8/nxp-imx8.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg index 9ba3ee88..918df233

[yocto] CFP for YPS 2023.11 now open!

2023-08-23 Thread Josef Holzmayr
Its sunny, it is summer, you're just back from vacation? Nothing better to get into the flow again than writing a proposal for the 2023.11 edition of the Yocto Project Summit! We love to hear about all your Yocto things. What you made, what you broke, what you learned, what you created. The CFP

Re: [yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-23 Thread Konstantin Kletschke via lists.yoctoproject.org
On Sat, Aug 19, 2023 at 12:07:08PM +0200, Alexander Kanavin wrote: > I think the easiest would be to run a shell script prior to starting > bitbake, which would check what jar needs to be used, and write the > SRC_URI with the name and the checksum into a .inc file in the > meta-layer. Then

Re: [yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-23 Thread Konstantin Kletschke via lists.yoctoproject.org
On Fri, Aug 18, 2023 at 08:48:46PM +, Darcy Watkins wrote: > Then make use of the GIT AUTOREV facility to fetch from that GIT repo. Interesting idea which I will track in the future, thank you very much! Regards Konstantin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [yocto] EXTRA_USERS_PARAMS doesn't work to generate password for root and add new users

2023-08-23 Thread Mauro
On 22/08/23 18:00, Crane wrote: On Tue, Aug 22, 2023 at 11:36 AM, Mauro wrote: Try with this: EXTRA_USERS_PARAMS=" usermod -p '$(openssl passwd -6 root)' root; useradd -p '$(openssl passwd -6 2023)' crane; " Uh, I'm using this one successfully, on a Yocto Warrior. Not working.

[linux-yocto][yocto-kernel-cache][yocto-6.1][PATCH] nxp-lx2xxx: add Inphi IN112525 Retimer and Lynx 28G PHYs support

2023-08-23 Thread Xulin Sun via lists.yoctoproject.org
Enable these two configs to add support for Inphi IN112525 S03 Retimer PHY and the Lynx SerDes 28G PHY as found on NXP's Layerscape platforms such as LX2160A. Signed-off-by: Xulin Sun --- bsp/nxp-lx2xxx/nxp-lx2xxx.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git