[OE-core] [PATCH 1/2] socat: 1.7.4.4 -> 1.8.0.0

2023-12-06 Thread hongxu
From: Hongxu Jia 1. No chagne on license [1], original md5 is not right because beginline=241 does not match 2. Fix two compile and one install failures [1] https://repo.or.cz/socat.git/blobdiff/c9ff62744f4140418f4edce7e395d1a30e9161b1..2da070164d454971d5c970b5278e645051f0d0f7:/README

[OE-core] [PATCH 2/2] man-db: 2.11.2 -> 2.12.0

2023-12-06 Thread hongxu
From: Hongxu Jia Drop obsolete autoconf-2.73.patch Signed-off-by: Hongxu Jia --- .../man-db/files/autoconf-2.73.patch | 24 --- .../{man-db_2.11.2.bb => man-db_2.12.0.bb}| 4 ++-- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 meta/reci

[OE-core] [kirkstone][PATCH] pkgconf: fix CVE-2023-24056

2023-03-15 Thread hongxu
Backport from https://gitea.treehouse.systems/ariadne/pkgconf/commit/628b2b2bafa5d3a2017193ddf375093e70666059 Signed-off-by: Hongxu Jia --- ...nd-stop-string-processing-on-truncat.patch | 75 +++ .../recipes-devtools/pkgconf/pkgconf_1.8.0.bb | 1 + 2 files changed, 76

Re: [OE-core] [PATCH v3 1/3] glibc: Upgrade to 2.35 (RFC)

2022-02-16 Thread hongxu
d Fedora 35 in Docker – Pascal Roeleven<https://pascalroeleven.nl/2021/09/09/ubuntu-21-10-and-fedora-35-in-docker/> Here I am, back again with another post which I think the internet needs. It took me days to figure it out and I can’t imagine there aren’t more people who are runn

[OE-core] [PATCH] glibc: fix create thread failed in unprivileged process

2022-02-15 Thread hongxu
/clone3.2.html So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could fix the issue. Signed-off-by: Hongxu Jia --- ...d-failed-in-unprivileged-process-BZ-.patch | 88 +++ meta/recipes-core/glibc/glibc_2.35.bb | 1 + 2 files changed, 89 insertions

Re: [OE-core] [PATCH v3 1/3] glibc: Upgrade to 2.35 (RFC)

2022-02-15 Thread hongxu
So when runc receives the con... github.com  [2]https://sourceware.org/pipermail/libc-alpha/2021-August/130590.html //Hongxu From: Khem Raj Sent: Wednesday, February 16, 2022 12:17 AM To: Jia, Hongxu Cc: openembedded-core@lists.openembedded.org ; Richard Purdie

Re: [OE-core] [PATCH v3 1/3] glibc: Upgrade to 2.35 (RFC)

2022-02-15 Thread hongxu
--- a/meta/recipes-core/glibc/glibc/0001-fix-create-thread-failed-in-unprivileged-process-BZ-.patch +++ /dev/null @@ -1,79 +0,0 @@ -From a8bc44936202692edcd82a48c07d7cf27d6ed8ee Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <mailto:hongxu@windriver.com> -Date: Sun, 29 Aug 2021 20:49:16

Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package manager database

2022-01-20 Thread hongxu
"Removing $d with $dirsize KiB" rm -rf ${IMAGE_ROOTFS}$d/* done } Yes, it helps, thank you very much //Hongxu I hope this helps -- Diego Santa Cruz, PhD Technology Architect spinetix.com<https://urldefense.com/v3/__http://spinetix.com__;!!AjveYdw8EvQ!P_Qo8UNa9oH3Xr8z3HrU_xtzK

Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package manager database

2022-01-19 Thread hongxu
not in IMAGE_FEATURES, the pkg data will be removed before ROOTFS_POSTPROCESS_COMMAND, that's why this commit are trying to resolve The root cause maybe dnf is too heavy for disk sensitive device //Hongxu From: Alexander Kanavin Sent: Wednesday, January 19, 2022 6:15

[OE-core] [PATCH] package_manager/rpm: conditional remove package manager database

2022-01-18 Thread hongxu
p dnf and remove rpm, so this commit does not consider the scenario Signed-off-by: Hongxu Jia --- meta/lib/oe/package_manager/rpm/__init__.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/package_manager/rpm/__init__.py b/meta/lib/oe/package_manager/r

Re: [OE-core] [PATCH] native/cross: make ar wrapper support to read options from file

2021-12-02 Thread hongxu
On 12/2/21 4:49 PM, Jacob Kroon wrote: > [Please note: This e-mail is from an EXTERNAL e-mail address] > > On 12/2/21 09:37, Hongxu Jia wrote: >> If ar input params starts with @, it means to read options from file >> $ ar -h >> ... >>@ - read options fro

[OE-core] [PATCH] native/cross: make ar wrapper support to read options from file

2021-12-02 Thread hongxu
-by: Hongxu Jia --- scripts/native-intercept/ar | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/native-intercept/ar b/scripts/native-intercept/ar index dcc623e3ed..32f45171d6 100755 --- a/scripts/native-intercept/ar +++ b/scripts/native-intercept/ar @@ -19,6 +19,8 @@ argv = sys.argv

[OE-core] [PATCH] libcap: fix nativesdk-libcap relocate failure

2021-10-14 Thread hongxu
/?id=ee3b25c0a877fa74d1aec88f325ac45b09963c82 [2] meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch Signed-off-by: Hongxu Jia --- ...-Raise-the-size-of-arrays-containing.patch | 36 +++ meta/recipes-support/libcap/libcap_2.54.bb| 3

Re: [OE-core] [hardknott][PATCH] Revert "sdk: fix relocate symlink failed"

2021-09-07 Thread hongxu
On 9/7/21 6:39 PM, Andrey Zhizhikin wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] Hello Hongxu, On Tue, Sep 7, 2021 at 8:26 AM hongxu wrote: The commit [7e71acd265 sdk: fix relocate symlink failed] is used to fix regression issue caused by commit [bc4ee54535 sdk

[OE-core] [hardknott][PATCH] Revert "sdk: fix relocate symlink failed"

2021-09-07 Thread hongxu
it caused other regression issue. This reverts commit 7e71acd265637d54d5bf149ea36cefa581f60992. Signed-off-by: Hongxu Jia --- meta/files/toolchain-shar-relocate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar

Re: [OE-core] [PATCH V3] glibc: fix create thread failed in old unprivileged docker

2021-08-31 Thread hongxu
On 9/1/21 4:11 AM, Richard Purdie wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On Sun, 2021-08-29 at 19:20 -0700, Hongxu Jia wrote: # Changed in V3: add missing Upstream-Status tag Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3

[OE-core] Upgrade uninative to fix multiple native build failures in old unprivileged docker

2021-08-30 Thread hongxu
thread implementation ... After applying the glibc fix, I built a uninative tarball on my local project to replace uninative 3.3. Then repeat above steps, no above failures any more //Hongxu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1555

[OE-core] [PATCH V3] glibc: fix create thread failed in old unprivileged docker

2021-08-29 Thread hongxu
work by removing macro definition of HAVE_CLONE3_WRAPPER [1] https://github.com/moby/moby/commit/9f6b562dd12ef7b1f9e2f8e6f2ab6477790a6594 [2] https://sourceware.org/pipermail/libc-alpha/2021-August/130591.html Signed-off-by: Hongxu Jia --- ...hread-failed-in-unprivileged-process.patch | 94

[OE-core] [PATCH V2] glibc: fix create thread failed in old unprivileged docker

2021-08-29 Thread hongxu
of HAVE_CLONE3_WRAPPER [1] https://github.com/moby/moby/commit/9f6b562dd12ef7b1f9e2f8e6f2ab6477790a6594 [2] https://sourceware.org/pipermail/libc-alpha/2021-August/130591.html Signed-off-by: Hongxu Jia --- ...hread-failed-in-unprivileged-process.patch | 92 +++ meta/recipes-core/glibc

Re: [OE-core] [PATCH] glibc: fix create thread failed in unprivileged process

2021-08-29 Thread hongxu
On 8/30/21 12:18 AM, Khem Raj wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On 8/29/21 6:52 AM, hongxu wrote: Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3] applied, start a unprivileged container (docker run without --privileged

[OE-core] [PATCH] glibc: fix create thread failed in unprivileged process

2021-08-29 Thread hongxu
/clone3.2.html So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could fix the issue. Signed-off-by: Hongxu Jia --- ...d-failed-in-unprivileged-process-BZ-.patch | 79 +++ meta/recipes-core/glibc/glibc_2.34.bb | 1 + 2 files changed, 80 insertions

[OE-core] [PATCH] nativesdk-pseudo: Fix to work with glibc 2.34 systems

2021-08-25 Thread hongxu
' 0x0001 (NEEDED) Shared library: [libdl.so.2] 0x0001 (NEEDED) Shared library:[libpthread.so.0] 0x0001 (NEEDED) Shared library: [libc.so.6] ... Signed-off-by: Hongxu Jia --- .../pseudo/files/older-glibc-symbols.patch| 38

[OE-core] [PATCH] sdk: fix relocate symlink failed

2021-08-10 Thread hongxu
_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat ... Signed-off-by: Hongxu Jia --- meta/files/toolchain-shar-relocate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/fi

[OE-core] [PATCH] createrepo-c: fix createrepo-c failed in nativesdk

2021-08-04 Thread hongxu
createrepo-c: set path to magic database for native and nativesdk] applied, the MAGIC is incorrectly assigned. The variable datadir will be expanded automatically for nativesdk, do not need to add prefix ${SDKPATHNATIVE} to MAGIC Signed-off-by: Hongxu Jia --- meta/recipes-devtools/createrepo-c

[OE-core] [PATCH] nativesdk-libdnf: fix installed and not shipped files

2021-05-31 Thread hongxu
-packages ... Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not necessary to call FindPythonInstDir.cmake which will override Yocto setting [1] https://github.com/rpm-software-management/libdnf/commit/f1cffbfb9f338da827e233c2d8ac3a25a6a59a69 Signed-off-by: Hongxu Jia --- .../0001-drop

[OE-core] [PATCH] gdk-pixbuf: fix nativesdk do_configure failed

2021-05-21 Thread hongxu
called 'full_path' Signed-off-by: Hongxu Jia --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb index f171464f4d..50d58ef807 100644

[OE-core] [PATCH] deb: apply postinstall on sdk

2021-04-08 Thread hongxu
$ which chroot path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot $ which chroot.coreutils path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils Signed-off-by: Hongxu Jia --- meta/lib/oe/package_manager/deb/sdk.py | 4 1 file changed, 4 insertions(+) diff --git

[OE-core] [PATCH V2] deb: do not insert feed uris if apt not installed

2021-01-15 Thread hongxu
: ... WARNING: The following packages cannot be authenticated! ... - Also trust the inserted deb package repository from PACKAGE_FEED_URIS Signed-off-by: Hongxu Jia --- meta/lib/oe/package_manager/deb/__init__.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/meta

[OE-core] [PATCH V2] dpkg: add nativesdk support

2021-01-15 Thread hongxu
From: hongxu - Add nativesdk support and override EXTRA_OECONF and PROV for nativesdk - Replace ${bindir} with ${STAGING_BINDIR_NATIVE} for perl-native shebang to fix QA error of shebang too long in nativesdk build - Conditionally (except musl) add ldconfig to runtime depends to fix

Re: [OE-core] [PATCH 1/3] dpkg: add nativesdk support

2021-01-15 Thread hongxu
On 1/16/21 6:15 AM, Richard Purdie wrote: [Please note this e-mail is from an EXTERNAL e-mail address] On Fri, 2021-01-15 at 17:45 +0800, hongxu wrote: - Add nativesdk support and override EXTRA_OECONF and PROV for nativesdk - Replace ${bindir} with ${STAGING_BINDIR_NATIVE} for perl-native

Re: [OE-core] [PATCH 2/3] apt: add nativesdk support

2021-01-15 Thread hongxu
On 1/16/21 12:51 AM, Richard Purdie wrote: [Please note this e-mail is from an EXTERNAL e-mail address] On Fri, 2021-01-15 at 11:26 +, Richard Purdie via lists.openembedded.org wrote: On Fri, 2021-01-15 at 17:45 +0800, hongxu wrote: -inherit cmake perlnative bash-completion upstream

Re: [OE-core] [PATCH 3/3] deb: do not insert feed uris if apt not installed

2021-01-15 Thread hongxu
! ... I will try to fix the warning //Hongxu Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146863): https://lists.openembedded.org/g/openembedded-core/message/146863 Mute This Topic: https://lists.openembedded.org/mt/79698226

[OE-core] [PATCH 3/3] deb: do not insert feed uris if apt not installed

2021-01-15 Thread hongxu
- The dir /etc/apt was created in package apt, if package apt was not installed, there is no need to insert package feed. Otherwise, it will fail with no such dir - Output the result of apt install Signed-off-by: Hongxu Jia --- meta/lib/oe/package_manager/deb/__init__.py | 7 ++- 1

[OE-core] [PATCH 1/3] dpkg: add nativesdk support

2021-01-15 Thread hongxu
: warning: 'ldconfig' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and/sbin E: Sub-process /usr/bin/dpkg returned an error code (2) [snip] Signed-off-by: Hongxu Jia --- meta

[OE-core] [PATCH 2/3] apt: add nativesdk support

2021-01-15 Thread hongxu
1. Add nativesdk support - Apply the same patches of native - Generate the same apt.conf.sample of native 2. Create user '_apt' to fix apt runtime warning [snip] $ apt update ... W: No sandbox user '_apt' on the system, can not drop privileges [snip] Signed-off-by: Hongxu Jia --- meta/recipes

[oe-core][PATCH 3/4] archive: fix racing between do_ar_patched and do_kernel_configme

2020-09-25 Thread hongxu
rebuilds] Signed-off-by: Hongxu Jia --- meta/classes/archiver.bbclass | 8 ++-- meta/lib/oe/sstatesig.py | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index aff1f9dbb0..efab438ebd 100644 --- a/meta

[oe-core][PATCH 4/4] alsa-state: run alsactl store in pkg_postinst

2020-09-25 Thread hongxu
a-state-0.2.0-r5.0.cortexa72): waitpid(823) rc 823 status 6300 warning: %post(alsa-state-0.2.0-r5.0.cortexa72) scriptlet failed, exit status 99 Error in POSTIN scriptlet in rpm package alsa-state [raspberry pi 4] No regression on qemuxxx bsp Signed-off-by: Hongxu Jia --- meta/recipes-bsp/alsa-state

[oe-core][PATCH 2/4] util-linux: fix calling uuidd failed with /run/uuidd not found

2020-09-25 Thread hongxu
It failed to call uuidd ... root@qemux86-64:~# uuidd uuidd: cannot open /run/uuidd/uuidd.pid: No such file or directory ... Create volatile dir /run/uuidd for both of systemd and sysvinit system Signed-off-by: Hongxu Jia --- .../util-linux/util-linux_2.36.bb | 21

[oe-core][PATCH 1/4] initramfs-framework/udev: umount /run/media/XXX

2020-09-25 Thread hongxu
it switches to rootfs, and the mounted disk could not be released Release the mounted disk before switch root and after kill udev Signed-off-by: Hongxu Jia --- meta/recipes-core/initrdscripts/initramfs-framework/udev | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-core

[OE-core] Review request 0/4: multiple fixes for oe-core

2020-09-25 Thread hongxu
Summary: multiple fixes for oe-core [oe-core] commit 7be68e2c562de447cb3efa35892ede4e5fe7b1db Author: Hongxu Jia Date: Thu Sep 3 14:04:53 2020 +0800 alsa-state: run alsactl store in pkg_postinst Since the pkg_postinst is prior than alsa-state-init, it needs to run store first

[OE-core] [PATCH] alsa-state: run alsactl store in pkg_postinst

2020-09-03 Thread hongxu
a-state-0.2.0-r5.0.cortexa72): waitpid(823) rc 823 status 6300 warning: %post(alsa-state-0.2.0-r5.0.cortexa72) scriptlet failed, exit status 99 Error in POSTIN scriptlet in rpm package alsa-state [dnf install alsa-state online] Signed-off-by: Hongxu Jia --- meta/recipes-bsp/alsa-state/alsa-

[OE-core] [PATCH v2] sysstat: fix installed-vs-shipped QA Issue in systemd

2020-08-27 Thread hongxu
/systemd-sleep.html says the files should be dropped into /usr/lib/systemd/system-sleep (that would be /lib/systemd/system-sleep in our configuration). By moving the files to another directory they'll be packaged but not loaded by systemd. Suggested-by Ross Burton Signed-off-by: Hongxu Jia

[OE-core] [PATCH] sysstat: fix installed-vs-shipped QA Issue in systemd

2020-08-26 Thread hongxu
-by: Hongxu Jia --- meta/recipes-extended/sysstat/sysstat.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 8fd87b943b..f19be51872 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc

[OE-core] [PATCH] nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically

2020-07-29 Thread hongxu
exible way to configure RPM_CONFIGDIR in SDK. Signed-off-by: Hongxu Jia --- meta/recipes-devtools/rpm/files/environment.d-rpm.sh | 1 + meta/recipes-devtools/rpm/rpm_4.15.1.bb | 5 + 2 files changed, 6 insertions(+) create mode 100644 meta/recipes-devtools/rpm/files/environment.d-rp

[OE-core] [PATCH V2] e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFF

2020-07-20 Thread hongxu
users 0 Jul 20 17:44 mnt/a 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c Signed-off-by: Hongxu Jia --- ...-hardlinks-always-false-if-inode-0xF.patch | 55 +++ .../e2fsprogs/e2fsprogs_1.45.6.bb | 1 + 2 files

Re: [OE-core] [PATCH] e2fsprogs: fix mkfs.ext4 not parse hardlink if file has a large inode number

2020-07-20 Thread hongxu
Please ignore this, V2 incoming //Hongxu On 7/20/20 10:42 PM, hongxu wrote: While file has a large inode number, mkfs.ext4 could not parse hardlink. $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r

[OE-core] [PATCH] e2fsprogs: fix mkfs.ext4 not parse hardlink if file has a large inode number

2020-07-20 Thread hongxu
t/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c Signed-off-by: Hongxu Jia --- ...-up-check-for-hardlinks-not-accurate.patch | 54 +++ .../e2fsprogs/e2fsprogs_1.45.6.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-devtools/e

[OE-core] [PATCH] iso-codes: switch upstream branch master -> main

2020-07-05 Thread hongxu
Signed-off-by: Hongxu Jia --- meta/recipes-support/iso-codes/iso-codes_4.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/iso-codes/iso-codes_4.5.0.bb b/meta/recipes-support/iso-codes/iso-codes_4.5.0.bb index 6f9868ffea..9d02f5c794 100644

[OE-core] [PATCH V2] cpio: add nativesdk support

2020-07-01 Thread hongxu
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Directory not empty' Don't rmdir if sbindir != bindir Signed-off-by: Hongxu Jia --- meta/recipes

Re: [OE-core] [PATCH] cpio: add nativesdk support

2020-07-01 Thread hongxu
On 7/1/20 10:29 PM, Richard Purdie wrote: On Wed, 2020-07-01 at 21:43 +0800, hongxu wrote: Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed

[OE-core] [PATCH] cpio: add nativesdk support

2020-07-01 Thread hongxu
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Directory not empty' Don't rmdir while nativesdk Signed-off-by: Hongxu Jia --- meta/recipes

[OE-core] [PATCH] qemu: switches from libcap to libcap-ng for PACAKGECONFIG virtfs

2020-06-30 Thread hongxu
Since upgrading qemu to 5.0.0, it switches from libcap to libcap-ng for virtfs [1] https://git.qemu.org/?p=qemu.git;a=commit;h=7e46261368d129c5ee8be927f5bcadc7ecd800d7 Signed-off-by: Hongxu Jia --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH] libmodulemd: switch branch master -> main

2020-06-22 Thread hongxu
Upstream delete branch master, and convert it to main Signed-off-by: Hongxu Jia --- meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd

[OE-core] [PATCH] kmod: add nativesdk support

2020-06-15 Thread hongxu
Support to invoke depmod in sdk Signed-off-by: Hongxu Jia --- meta/recipes-kernel/kmod/kmod_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index bd21d2ff73..4f2b037f2f 100644 --- a/meta/recipes-kernel

[OE-core] [PATCH V2] glib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add nativesdk support

2020-06-09 Thread hongxu
In order to make wic tool work in sdk which is out of an existed Yocto build, it needs to port wic tool as a nativesdk recipe. First, make these runtime depends recipes to support nativesdk Signed-off-by: Hongxu Jia --- meta/recipes-core/glib-networking/glib-networking_2.64.3.bb | 2 +- meta

[OE-core] [PATCH] glib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add nativesdk support

2020-06-09 Thread hongxu
Signed-off-by: Hongxu Jia --- meta/recipes-core/glib-networking/glib-networking_2.64.3.bb | 2 +- meta/recipes-devtools/btrfs-tools/btrfs-tools_5.6.1.bb | 2 +- meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | 2 +- meta/recipes-extended/parted/parted_3.3.bb

Re: [OE-core] [PATCH] rpm: fix rpm -Kv xxx.rpm failed if signature header is larger than 64KB

2020-06-03 Thread hongxu
Update status, upstream has merged the fix https://github.com/rpm-software-management/rpm/commit/486579912381ede82172dc6d0ff3941a6d0536b5 //Hongxu On 6/3/20 2:55 PM, hongxu wrote: Since commits [Place file signatures into the signature header where they belong][1] applied, run `rpm -Kv

[OE-core] [PATCH] rpm: fix rpm -Kv xxx.rpm failed if signature header is larger than 64KB

2020-06-03 Thread hongxu
off-by: Hongxu Jia --- ...he-limit-of-signature-header-to-64MB.patch | 62 +++ meta/recipes-devtools/rpm/rpm_4.15.1.bb | 1 + 2 files changed, 63 insertions(+) create mode 100644 meta/recipes-devtools/rpm/files/0001-Bump-up-the-limit-of-signature-header-to-64MB.patch d

[OE-core] [PATCH] vulkan-headers: change upstream src url to master branch

2020-06-01 Thread hongxu
17 05:03:58 2020 -0700 New include file with provisional extension interfaces (those interfaces not aliased by promoted-from APIs, at least). ... Signed-off-by: Hongxu Jia --- meta/recipes-graphics/vulkan/vulkan-headers_1.2.135.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-28 Thread hongxu
On 5/27/20 6:40 PM, hongxu wrote: On 5/27/20 5:52 PM, Richard Purdie wrote: On Mon, 2020-05-25 at 11:06 +0800, hongxu wrote: In initramfs-framework, before swith_root rootfs, if udev have time to run (before being killed), it will invoke hook mount.sh (which is provided by udev-extraconf

Re: [OE-core] [PATCH] initramfs-framework/udev: remove mount.sh to avoid /run/media/XXX

2020-05-28 Thread hongxu
On 5/29/20 6:06 AM, Richard Purdie wrote: On Wed, 2020-05-27 at 21:43 +0800, Hongxu Jia wrote: The udev invokes script hook mount.sh to mount /run/media/XXX. In initramfs-framework, if udev was not killed in time, the partition will be mounted to /run/media/XXX before switch_root. Signed-off

[OE-core] [PATCH] core-image-minimal-initramfs: keep restriction with initramfs-module-install

2020-05-28 Thread hongxu
Since commit [882ae0dcce core-image-minimal-initramfs: use initramfs-framework for initialization] applied, it should keep the restriction with initramfs-module-install Signed-off-by: Hongxu Jia --- meta/recipes-core/images/core-image-minimal-initramfs.bb | 4 ++-- 1 file changed, 2 insertions

Re: [OE-core] [PATCH] initramfs-framework/udev: remove mount.sh to avoid /run/media/XXX

2020-05-27 Thread hongxu
Hi RP, I do not directly remove udev-extraconf which provides mount.sh from initramfs-framework, since it also has other hook scripts for use (such as network.sh). So I choose to remove mount.sh before start udev //Hongxu On 5/27/20 9:43 PM, hongxu wrote: The udev invokes script hook mount.sh

[OE-core] [PATCH] initramfs-framework/udev: remove mount.sh to avoid /run/media/XXX

2020-05-27 Thread hongxu
The udev invokes script hook mount.sh to mount /run/media/XXX. In initramfs-framework, if udev was not killed in time, the partition will be mounted to /run/media/XXX before switch_root. Signed-off-by: Hongxu Jia --- meta/recipes-core/initrdscripts/initramfs-framework/udev | 3 +++ 1 file

Re: [OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-27 Thread hongxu
On 5/27/20 5:52 PM, Richard Purdie wrote: On Mon, 2020-05-25 at 11:06 +0800, hongxu wrote: In initramfs-framework, before swith_root rootfs, if udev have time to run (before being killed), it will invoke hook mount.sh (which is provided by udev-extraconf) to mount /run/media/XXX. Release

[OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-24 Thread hongxu
In initramfs-framework, before swith_root rootfs, if udev have time to run (before being killed), it will invoke hook mount.sh (which is provided by udev-extraconf) to mount /run/media/XXX. Release the mounted disk after udev being killed. Signed-off-by: Hongxu Jia --- meta/recipes-core

Re: [OE-core] [PATCH] classes/image_types_wic.bbclass: fix racing risk on rootfs

2020-05-19 Thread hongxu
On 5/19/20 6:19 PM, Richard Purdie wrote: On Tue, 2020-05-19 at 00:00 +0800, hongxu wrote: Since wic image creation will temporarily update rootfs/etc/fstab to add UUID (*temporarily* means rootfs/etc/fstab will be recovered after wic image creation), there is a potential racing risk with other

[OE-core] [PATCH] classes/image_types_wic.bbclass: fix racing risk on rootfs

2020-05-18 Thread hongxu
unpack_tar_bz2_dir/etc/fstab ... UUID=219B-2933 /boot vfat defaults 0 0 ... Explicitly make do_image_wic depend on other do_image_XXX (listed in IMAGE_FSTYPES except do_image_wicXXX) to avoid potential racing Signed-off-by: Hongxu Jia --- meta/classes/image_types_wic.bbclass | 1 + 1 file changed, 1

[OE-core] [PATCH] icu: disable do_make_icudata parallel build

2020-04-28 Thread hongxu
] https://git.openembedded.org/openembedded-core/commit/?id=5e5be67744d7ddf5a9ac433ecba02f697a84a325 [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13869 Signed-off-by: Hongxu Jia --- meta/recipes-support/icu/icu_66.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] buildtools-tarball: add nativesdk-mtools for `wic ls'

2020-04-08 Thread hongxu
buildtools to provide mdir Signed-off-by: Hongxu Jia --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index aa55cde..977b6a5 100644 --- a/meta/recipes

[OE-core] [PATCH] perl/tcl: fix /usr/share/man/man3/Thread.3 conflicts

2019-12-20 Thread Hongxu Jia
While installing perl-doc and tcl-doc to image, there is a file conflicts at do_rootfs ... |file /usr/share/man/man3/Thread.3 conflicts between attempted installs of perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64 ... Use update-alternatives to fix Signed-off-by: Hongxu Jia --- meta

[OE-core] [PATCH V2] kbd: avoid vlock conflict with busybox

2019-12-13 Thread Hongxu Jia
doesn't exist if PAM isn't enabled. Signed-off-by: Hongxu Jia --- meta/recipes-core/kbd/kbd_2.2.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/kbd/kbd_2.2.0.bb b/meta/recipes-core/kbd/kbd_2.2.0.bb index 9556302..f252161 100644 --- a/meta/recipes-core/kbd

[OE-core] [PATCH] assimp: fix search library failed on multilib

2019-12-12 Thread Hongxu Jia
ork/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5" | but this file does not exist. Possible reasons include: ... Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than hardcoded `/lib' to search library Signed-off-by: Hongxu Jia --- .

Re: [OE-core] [PATCH] libpam: drop yylex to static force

2019-12-10 Thread Hongxu Jia
guess your WRL layers are patching pam-console in? Yes, you are right, sorry for the nosiy //Hongxu Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH] libpam: drop yylex to static force

2019-12-09 Thread Hongxu Jia
yyleng _pc_yyleng | ^ configfile.lex.c:1089:12: note: in expansion of macro 'yylex' 1089 | |^ ... Google the world and find a similar fix https://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20170703/465181.html Signed-off-by: Hongxu

Re: [OE-core] [PATCH V4] gnupg-native: fix GPG homedir path length limit

2019-11-24 Thread Hongxu Jia
Ping //Hongxu On 11/11/19 3:43 PM, Hongxu Jia wrote: The gpg uses unix socket to communicate with its agent, before doing that, it checks whether the extra socketdir prefix (/tmp/gnupg,/run/,/var/run/gnupg, /var/run) has proper permissions. If all these checking failed, it will choose gpg

[OE-core] [PATCH V4] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH V3] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

Re: [OE-core] [PATCH V2] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
On 11/11/19 3:36 PM, Hongxu Jia wrote: The gpg uses unix socket to communicate with its agent, before doing that, it checks whether the extra socketdir prefix (/tmp/gnupg,/run/,/var/run/gnupg, /var/run) has proper permissions. If all these checking failed, it will choose gpg homedir as prefix

[OE-core] [PATCH V2] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH V2] go: fix CVE-2019-17596

2019-11-04 Thread Hongxu Jia
https://github.com/golang/go/commit/2017d88dbc096381d4f348d2fb08bfb3c2b7ed73 Signed-off-by: Hongxu Jia --- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/0010-fix-CVE-2019-17596.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 meta

[OE-core] [PATCH] go: fix CVE-2019-17596

2019-11-04 Thread Hongxu Jia
https://github.com/golang/go/commit/2017d88dbc096381d4f348d2fb08bfb3c2b7ed73 Signed-off-by: Hongxu Jia --- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/0010-fix-CVE-2019-17596.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 meta

[OE-core] [PATCH V2] python3-git: add python3-nose to RDEPENDS

2019-11-04 Thread Hongxu Jia
ine 10, in from nose.tools import ( ModuleNotFoundError: No module named 'nose' Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3-git_3.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-git_3.0.2.bb b/meta/recipes-devtools/pytho

[OE-core] [PATCH] add python3-nose to RDEPENDS

2019-11-04 Thread Hongxu Jia
ine 10, in from nose.tools import ( ModuleNotFoundError: No module named 'nose' Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3-git_3.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-git_3.0.2.bb b/meta/recipes-devtools/pytho

[OE-core] [PATCH] classes/image_types_wic.bbclass: fix racing risk on rootfs

2019-10-28 Thread Hongxu Jia
image based on the copy. Signed-off-by: Hongxu Jia --- meta/classes/image_types_wic.bbclass | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index f350dc2..2a93143 100644 --- a/meta/classes

[OE-core] [PATCH] openssh: fix CVE-2019-16905

2019-10-18 Thread Hongxu Jia
Backport a patch from upstream to fix CVE-2019-16905 https://github.com/openssh/openssh-portable/commit/a546b17bbaeb12beac4c9aeed56f74a42b18a93a Signed-off-by: Hongxu Jia --- ...x-integer-overflow-in-XMSS-private-key-pa.patch | 40 ++ meta/recipes-connectivity/openssh

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-23 Thread Hongxu Jia
On 8/23/19 10:26 PM, Adrian Bunk wrote: On Fri, Aug 23, 2019 at 09:28:11AM +0800, Hongxu Jia wrote: On 8/23/19 1:01 AM, Adrian Bunk wrote: On Thu, Aug 22, 2019 at 09:40:18AM +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils

[OE-core] [PATCH V2] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
debian/mips_cfi.patch - Fix build failure while applying debian patches 0001-fix-compile-failure-with-debian-patches.patch - Rebase musl patches Signed-off-by: Hongxu Jia --- .../{elfutils_0.176.bb => elfutils_0.177.bb} | 8 +- ...ferences-between-mips-machine-identifiers.patch |

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
On 8/23/19 1:01 AM, Adrian Bunk wrote: On Thu, Aug 22, 2019 at 09:40:18AM +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz - Rebase Debian patches to 0.177 debian/hppa_backend.diff debian

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
On 8/22/19 9:27 PM, Richard Purdie wrote: On Thu, 2019-08-22 at 09:40 +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz - Rebase Debian patches to 0.177 debian/hppa_backend.diff debian

[OE-core] [PATCH V2 2/3] ncurses: upgrade 6.1+20181013 -> 6.1+20190803

2019-08-21 Thread Hongxu Jia
--- .../ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb} (87%) diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb

[OE-core] [PATCH V2 1/3] distcc: upgrade 3.3.2 -> 3.3.3

2019-08-21 Thread Hongxu Jia
--- meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} (98%) diff --git a/meta/recipes-devtools/distcc/distcc_3.3.2.bb

[OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-21 Thread Hongxu Jia
debian/mips_cfi.patch - Fix build failure while applying debian patches 0001-fix-compile-failure-with-debian-patches.patch Signed-off-by: Hongxu Jia --- .../{elfutils_0.176.bb => elfutils_0.177.bb} | 8 +- ...ferences-between-mips-machine-identifiers.patch | 12 +- ...1-fix-comp

[OE-core] [PATCH 1/3] distcc: upgrade 3.3.2 -> 3.3.3

2019-08-21 Thread Hongxu Jia
From: Upgrade Helper --- meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} (98%) diff --git a/meta/recipes-devtools/distcc/distcc_3.3.2.bb

[OE-core] [PATCH 2/3] ncurses: upgrade 6.1+20181013 -> 6.1+20190803

2019-08-21 Thread Hongxu Jia
From: Upgrade Helper --- .../ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb} (87%) diff --git

[OE-core] [PATCH] util-linux: fix uuidd failed with /run/uuidd not found

2019-08-20 Thread Hongxu Jia
It failed to run uuidd ... root@qemux86-64:~# uuidd uuidd: cannot open /run/uuidd/uuidd.pid: No such file or directory ... Create dir /run/uuidd for both of systemd and sysvinit Signed-off-by: Hongxu Jia --- meta/recipes-core/util-linux/util-linux.inc | 21 + 1 file changed

[OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-19 Thread Hongxu Jia
: loaded (/etc/systemd/system/nfs-mountd.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-08-20 03:19:01 UTC; 1min 21s ago Main PID: 451 (rpc.mountd) Tasks: 1 (limit: 271) Memory: 736.0K Suggested-by: Chen Qi Signed-off-by: Hongxu Jia --- meta/recipes

[OE-core] [PATCH V2] systemd: add menson option to decrease RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Hongxu Jia
keep RLIMIT_NOFILE to 512k by default Signed-off-by: Hongxu Jia --- ...001-meson-add-option-to-set-RLIMIT_NOFILE.patch | 50 ++ meta/recipes-core/systemd/systemd_242.bb | 5 +++ 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-core/systemd

Re: [OE-core] [PATCH] systemd: decreasing default RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Hongxu Jia
//Hongxu Alex On Mon, 19 Aug 2019 at 15:34, Hongxu Jia <mailto:hongxu@windriver.com>> wrote: Since do_testimage for core-image-sato-sdk has memory limitation (256Mib) which caused rpc.statd failed with out of memory. [  531.306146] Out of memory: Kill pr

  1   2   3   4   5   6   7   8   9   10   >