Re: [yocto] How can I create a truly minimal distribution that runs entirely from RAM?

2021-03-12 Thread Zoran
> 1. have Yocto generate an initramfs.cpio.xz.uboot file > instead of just an initramfs.cpio.xz file and to I assume this is not too hard to achieve. Somewhere in some bitbake config file this should be added, but either me do not know that. So, we'll both wait for this info, maybe some new

[yocto] [meta-selinux][PATCH 16/16] setools: upgrade 4.3.0 -> 4.4.0

2021-03-12 Thread Yi Zhao
Signed-off-by: Yi Zhao --- .../setools/{setools_4.3.0.bb => setools_4.4.0.bb} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) rename recipes-security/setools/{setools_4.3.0.bb => setools_4.4.0.bb} (89%) diff --git a/recipes-security/setools/setools_4.3.0.bb

[yocto] [meta-selinux][PATCH 13/16] selinux-gui: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-gui_3.1.bb| 7 --- .../selinux/{selinux-gui.inc => selinux-gui_3.2.bb}| 6 +- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 15/16] semodule-utils: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/semodule-utils_3.1.bb | 7 --- .../selinux/{semodule-utils.inc => semodule-utils_3.2.bb} | 7 ++- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 14/16] selinux-sandbox: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-sandbox_3.1.bb | 7 --- .../{selinux-sandbox.inc => selinux-sandbox_3.2.bb} | 9 ++--- 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 12/16] selinux-dbus: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-dbus_3.1.bb | 7 --- .../selinux/{selinux-dbus.inc => selinux-dbus_3.2.bb} | 6 +- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 10/16] restorecond: update to 3.2

2021-03-12 Thread Yi Zhao
* Merge inc file into bb file. * Drop obsolete patches: policycoreutils-make-O_CLOEXEC-optional.patch Signed-off-by: Yi Zhao --- ...icycoreutils-make-O_CLOEXEC-optional.patch | 48 --- recipes-security/selinux/restorecond_3.1.bb | 7 --- .../{restorecond.inc =>

[yocto] [meta-selinux][PATCH 11/16] selinux-python: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- .../selinux/selinux-python_3.1.bb | 7 --- ...linux-python.inc => selinux-python_3.2.bb} | 20 +++ 2 files changed, 12 insertions(+), 15 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 09/16] mcstrans: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/mcstrans_3.1.bb| 7 --- .../selinux/{mcstrans.inc => mcstrans_3.2.bb} | 13 + 2 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 08/16] policycoreutils: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- .../selinux/policycoreutils_3.1.bb| 7 - ...cycoreutils.inc => policycoreutils_3.2.bb} | 145 +- 2 files changed, 75 insertions(+), 77 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 07/16] secilc: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/secilc_3.1.bb | 7 --- recipes-security/selinux/{secilc.inc => secilc_3.2.bb} | 6 +- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 06/16] checkpolicy: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/checkpolicy_3.1.bb| 7 --- .../selinux/{checkpolicy.inc => checkpolicy_3.2.bb}| 10 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 04/16] libselinux-python: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- .../selinux/libselinux-python_3.1.bb | 26 --- ...ux-python.inc => libselinux-python_3.2.bb} | 25 -- 2 files changed, 17 insertions(+), 34 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 05/16] libsemanage: update to 3.2

2021-03-12 Thread Yi Zhao
* Merge inc file into bb file. * Drop obsolete patches: libsemanage-define-FD_CLOEXEC-as-necessary.patch Signed-off-by: Yi Zhao --- ...anage-define-FD_CLOEXEC-as-necessary.patch | 35 --- recipes-security/selinux/libsemanage_3.1.bb | 14 .../{libsemanage.inc =>

[yocto] [meta-selinux][PATCH 03/16] libselinux: update to 3.2

2021-03-12 Thread Yi Zhao
* Merge inc file into bb file. * Drop obsolete patches: 0001-libselinux-do-not-define-gettid-for-musl.patch libselinux-define-FD_CLOEXEC-as-necessary.patch libselinux-make-O_CLOEXEC-optional.patch libselinux-make-SOCK_CLOEXEC-optional.patch Signed-off-by: Yi Zhao ---

[yocto] [meta-selinux][PATCH 00/16] selinux: update 3.1 -> 3.2

2021-03-12 Thread Yi Zhao
Yi Zhao (16): selinux: update inc file to 3.2 libsepol: update to 3.2 libselinux: update to 3.2 libselinux-python: update to 3.2 libsemanage: update to 3.2 checkpolicy: update to 3.2 secilc: update to 3.2 policycoreutils: update to 3.2 mcstrans: update to 3.2 restorecond:

[yocto] [meta-selinux][PATCH 02/16] libsepol: update to 3.2

2021-03-12 Thread Yi Zhao
Merge inc file into bb file. Signed-off-by: Yi Zhao --- recipes-security/selinux/libsepol_3.1.bb | 8 .../selinux/{libsepol.inc => libsepol_3.2.bb} | 5 + 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 01/16] selinux: update inc file to 3.2

2021-03-12 Thread Yi Zhao
* Drop selinux_DATE.inc since upstream now uses X.Y version instead of date for release tag[1]. Move its content to selinux_common.inc. * Switch to git repo in SRC_URI, then all selinux recipes can use unified source. [1]

Re: [yocto] Failing to patch u-boot .dts

2021-03-12 Thread Jonas Vautherin
Finally understood how to do it properly, and hence explaining here for the record. In my machine configuration, I have this line (that I overlooked): ``` IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-pocketbeagle.dtb" ``` Which says that it should use the `am335x-pocketbeagle`

Re: [yocto] How can I create a truly minimal distribution that runs entirely from RAM?

2021-03-12 Thread p32 via lists.yoctoproject.org
Thank you very much for your help on the second issue! I was unaware of the fact that another mkimage call is necessary. After taking a look at the the references you provided, I was able to boot the system from an initramfs. However, my current approach requires two manual steps after running

Re: [yocto] debug symbols and INHIBIT_PACKAGE_STRIP = "1"

2021-03-12 Thread Khem Raj
check the build logs for the binary, see if there is some sort of symbol stripping happening. Perhaps its using install -s ? On 3/12/21 3:17 AM, AFraser wrote: Hi, I'm using bitbake to build an application and I'd like to troubleshoot some segfaults that are taking place. I've set up

Re: [yocto] [meta-selinux][PATCH] openssh: don't overwrite sshd_config unconditionally

2021-03-12 Thread Joe MacDonald
Hi Purushottam, [Re: [yocto] [meta-selinux][PATCH] openssh: don't overwrite sshd_config unconditionally] On 21.03.12 (Fri 12:05) Purushottam choudhary wrote: > Hi, > > Please let me know if there any update on this change > & the tentative week when this change is going to merge in the code.

[linux-yocto] [kernel-cache yocto-5.10][PATCH] features/numa: Remove NODES_SPAN_OTHER_NODES option

2021-03-12 Thread Daniel Dragomir
Remove obsolete NODES_SPAN_OTHER_NODES kernel option which was removed from kernel starting with v5.7.0, commit acd3f5c441e9 ("mm: remove early_pfn_in_nid() and CONFIG_NODES_SPAN_OTHER_NODES"). Signed-off-by: Daniel Dragomir --- features/numa/numa.cfg | 1 - 1 file changed, 1 deletion(-) diff

[yocto] debug symbols and INHIBIT_PACKAGE_STRIP = "1"

2021-03-12 Thread AFraser
Hi, I'm using bitbake to build an application and I'd like to troubleshoot some segfaults that are taking place. I've set up gdbserver on a virtual machine running the application and can connect. My problem is that I cannot seem to get the image to build my binaries without stripping the symbol

[yocto] avahi_0.8 issue with latest version

2021-03-12 Thread sateesh m
Hi Guys, I  have installed avahi_0.8 version using gatesgreath version.  its compiled successfully .but  i am facing issue  with  pid is remove automatically when i restart my service. avahi configuration : hostname,domain name, allow ipv4, allow eth0,reflector =yes i did all this

[yocto] [meta-security][PATCH] ima-evm-keys: add file-checksums to IMA_EVM_X509

2021-03-12 Thread Ming Liu
From: Ming Liu This ensures when a end user change the IMA_EVM_X509 key file, ima-evm-keys recipe will be rebuilt. Signed-off-by: Ming Liu --- meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[yocto] [RFC PATCH 5/6] config.json: pam is required when weston starts under systemd

2021-03-12 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index cf6165a..75bf4e2 100644 --- a/config.json +++ b/config.json @@ -937,7 +937,7 @@ "BBTARGETS" : "core-image-weston",

[yocto] [RFC PATCH 6/6] config.json: add a target to test standalone X11 image

2021-03-12 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 5 + 1 file changed, 5 insertions(+) diff --git a/config.json b/config.json index 75bf4e2..b9c493a 100644 --- a/config.json +++ b/config.json @@ -729,6 +729,11 @@ ] } }, +"only-x11" : { +

[yocto] [RFC PATCH 4/6] config.json: replace core-image-sato with core-image-weston

2021-03-12 Thread Alexander Kanavin
I believe the time has come for YP to be defaulting to Wayland and not X11. X11 is effectively deprecated technology at this point with only minimal maintenance; standalone X server will not be developed any further, and all attention currently is towards making X apps work well under Wayland.

[yocto] [RFC PATCH 2/6] config.json: drop core-image-sato-dev from builds

2021-03-12 Thread Alexander Kanavin
core-image-sato-sdk is a superset, and a much more useful one. Signed-off-by: Alexander Kanavin --- config.json | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config.json b/config.json index d6e7df8..66b76ed 100644 --- a/config.json +++ b/config.json

[yocto] [RFC PATCH 3/6] config.json: transition ptests to weston-based images

2021-03-12 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index 66b76ed..b0fc363 100644 --- a/config.json +++ b/config.json @@ -88,16 +88,16 @@ }, "ptest-qemu" : {

[yocto] [RFC PATCH 1/6] config.json: add a systemd no-x11 build

2021-03-12 Thread Alexander Kanavin
Particularly the weston image has now regressed twice under systemd, so I think there should be a quality gate for it. Signed-off-by: Alexander Kanavin --- config.json | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index