[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] 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] 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

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] 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] 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 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 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 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 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] 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

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] 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

[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] 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] 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

[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 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

[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

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] 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] 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

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 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] 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] 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

[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

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 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

[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

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 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

[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 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 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] 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] 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] 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

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] [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] 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

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 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

[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

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

[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] 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

[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

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

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 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

[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-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] 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] 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] [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

[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] [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 0/4]Add FUSE: File system in Userspace

2013-05-30 Thread Hongxu Jia
commit 350c36fcd97e8ef223b91e548d39c346c1c4cb29: bitbake: test/fetch: Allow the conditional network tests to work under python 2.6 (2013-05-17 12:42:08 +0300) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/support-fuse http://git.pokylinux.org/cgit.cgi

[OE-core] [PATCH 1/4] fuse: import recipe from meta-oe

2013-05-30 Thread Hongxu Jia
add version 2.9.2 This recipes is required by ntfs-3g-ntfsprogs and exfat. [YOCTO #4178] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/fuse/fuse-2.9.2/aarch64.patch | 20 +++ .../fuse/fuse-2.9.2/gold-unversioned-symbol.patch | 60

[OE-core] [PATCH 2/4] ntfs-3g-ntfsprogs:import and update recipe from meta-oe

2013-05-30 Thread Hongxu Jia
Import version 2011.4.12 from meta-oe and update to version 2013.1.13. This recipe is a merge of ntfs-3g and ntfsprogs [YOCTO #4178] Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../ntfs-3g-ntfsprogs_2013.1.13.bb | 33 1 file changed, 33

[OE-core] [PATCH 3/4] fuse-exfat: add version 1.0.1

2013-05-30 Thread Hongxu Jia
The fuse-exfat is read and write exFAT driver for FUSE [YOCTO #4178] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/exfat/fuse-exfat_1.0.1.bb | 26 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-support/exfat/fuse

[OE-core] [PATCH 4/4] exfat-utils: add version 1.0.1

2013-05-30 Thread Hongxu Jia
The utilities to create, check, label and dump exFAT filesystem [YOCTO #4178] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/exfat/exfat-utils_1.0.1.bb | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-support/exfat

[OE-core] [PATCH 1/1] init-live.sh: fix media automount failed after booting from usb-drive

2013-06-06 Thread Hongxu Jia
root filesystem could also fix this issue. [YOCTO #2064] [YOCTO #3705] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-core/initrdscripts/files/init-live.sh |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initrdscripts/files/init

[OE-core] [PATCH 0/1] init-live.sh: fix media automount failed after booting from usb-drive

2013-06-06 Thread Hongxu Jia
The following changes since commit 5cb59cc6910d8f3165528c4a71e29e4de897d242: yocto-bsp: re-enable AutoAddDevices in xorg.conf for generated BSPs (2013-05-29 22:25:41 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-init-live http

[OE-core] [PATCH 0/1]ddimage: fix incompatibility with dash

2013-06-06 Thread Hongxu Jia
The following changes since commit a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199: lrzsz: check locale.h in configure (2013-06-04 15:55:46 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-ddiamge http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h

[OE-core] [PATCH 1/1] ddimage: fix incompatibility with dash

2013-06-06 Thread Hongxu Jia
On systems with dash as /bin/sh there were failures while invoking ddimage. Fix to let it work with both bash and dash shells. [YOCTO #4617] Signed-off-by: Hongxu Jia hongxu@windriver.com --- scripts/contrib/ddimage | 16 +--- 1 file changed, 9 insertions(+), 7 deletions

[OE-core] [PATCH 1/1] init-live.sh: fix automount failed occasionally

2013-06-18 Thread Hongxu Jia
will resolve this issue, it watches the udev event queue, and exits if all current events are handled. Use variable `_UDEV_DAEMON' to replace hardcoded `udevd' to keep consistent with previous. [YOCTO #4745] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-core/initrdscripts

[OE-core] [PATCH 0/1]init-live.sh: fix automount failed occasionally

2013-06-18 Thread Hongxu Jia
The following changes since commit 1dd643b142c69ac9035e29bff11d02201638dc65: licences: Add SGI license (2013-06-17 16:45:37 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-coldplug http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu

[OE-core] [PATCH 1/1] systemd-udevd: fix invoking init script failed

2013-06-18 Thread Hongxu Jia
than udev which is used in systemd-udevd's init script. [YOCTO #4746] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-core/systemd/systemd/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core

[OE-core] [PATCH 0/1]systemd-udevd: fix invoking init script failed

2013-06-18 Thread Hongxu Jia
The following changes since commit 1dd643b142c69ac9035e29bff11d02201638dc65: licences: Add SGI license (2013-06-17 16:45:37 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-systemd-udevd http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h

[OE-core] [PATCH 0/1]wget:fix do_configure failed

2013-06-18 Thread Hongxu Jia
The following changes since commit 1dd643b142c69ac9035e29bff11d02201638dc65: licences: Add SGI license (2013-06-17 16:45:37 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-wget http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix

[OE-core] [PATCH 1/1] wget:fix do_configure failed

2013-06-18 Thread Hongxu Jia
: ld returned 1 exit status ... From log as we known, the reason is link zlib failed, it isn't explicitly in wget's DEPENDS. Add zlib to wget's DEPENDS. [YOCTO #4749] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-extended/wget/wget.inc | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH 1/1] wget:fix do_configure failed

2013-06-19 Thread Hongxu Jia
Thank you for your suggestion, I will correct this next time. Thanks, Hongxu On 06/19/2013 04:15 PM, Richard Purdie wrote: On Wed, 2013-06-19 at 10:45 +0800, Hongxu Jia wrote: Create a new build enviroment, build wget failed ... configure:34512: checking for libssl configure:34542: i586-poky

[OE-core] [PATCH 1/2] libx11: move xcms enabling to PACKAGECONFIG for LSB Library Check

2013-06-25 Thread Hongxu Jia
#4016] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-graphics/xorg-lib/libx11.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc index e0fce3e..c9506b0 100644

[OE-core] [PATCH 0/2]libx11: fix LSB Library Check libX11.so.6 fail

2013-06-25 Thread Hongxu Jia
The following changes since commit edcbb79583e1577cb64d368e3902915dea50a96e: ref-manual: Added note about issues on supported distros (2013-06-21 14:26:31 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-lsb http://git.pokylinux.org/cgit.cgi

[OE-core] [PATCH 2/2] lsbtest: sync test suite packages version

2013-06-25 Thread Hongxu Jia
Update file packages_list after sync test suite packages version with upstream. Check date: Jun 25, 2013 Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-extended/lsb/lsbtest/packages_list | 38 - 1 file changed, 19 insertions(+), 19 deletions(-) diff

[OE-core] [PATCH 2/3] adt_installer_internal:fix perl lib version mismatch

2013-06-25 Thread Hongxu Jia
, but the gnu-configize uses #! /usr/bin/env perl which invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to the SDK which causes the mismatch. We can make all the perl scripts to use the host perl or the SDK perl to fix this problem. [YOCTO #4758] Signed-off-by: Hongxu Jia hongxu

[OE-core] [PATCH 0/3]adt-installer: fix sdk relocation issues

2013-06-25 Thread Hongxu Jia
Some of them have already been fixed in toolchain: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aeb53bd78991af9fbb60d64176ec864cfc2ddbb9 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5ce8c7fe9ebb8dca0a0b091bda9c58141da26216 //Hongxu The following changes since commit

[OE-core] [PATCH 3/3] adt_installer_internal:add sudo when permission deny on installation directory

2013-06-25 Thread Hongxu Jia
When the user doesn't have rights to access the installation directory, the sdk installation will fail, add sudo to fix this. [YOCTO #4760] Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../installer/adt-installer/scripts/adt_installer_internal| 4 ++-- 1 file changed, 2

Re: [OE-core] [PATCH] qt4e.bbclass: export OE_QMAKE_QT_CONFIG

2013-06-28 Thread Hongxu Jia
qt4-embedded failed. //Hongxu ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core ___ Openembedded-core mailing

[OE-core] [PATCH 0/1]qt-mobility: fix build in the absence of xvideo

2013-07-01 Thread Hongxu Jia
The following changes since commit 80b263430453896189b704d0997943642eec6fef: classes/insane: remove la2 check which no longer exists from ERROR_QA (2013-06-28 16:33:08 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/fix-qt4 http

[OE-core] [PATCH 1/1] qt-mobility: fix build in the absence of xvideo

2013-07-01 Thread Hongxu Jia
QMake pro files don't explicitly define QT_NO_XVIDEO if the configuration lacks xvideo, but plugins code relies on this define. [YOCTO #4775] Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../qt-mobility-1.2.0/qt-mobility-no-xvideo.patch | 26 ++ meta/recipes-qt

[OE-core] [PATCH 5/5] nss: fix incorrect shebang of perl

2013-07-09 Thread Hongxu Jia
Replace incorrect shebang of perl with `#! /usr/bin/perl'. Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../files/nss-fix-incorrect-shebang-of-perl.patch | 110 + meta/recipes-support/nss/nss.inc | 2 + 2 files changed, 112 insertions(+) create

[OE-core] [PATCH 4/5] nss: Create checksum files for the NSS libraries

2013-07-09 Thread Hongxu Jia
://developer.mozilla.org/en-US/docs/NSS/NSS_Tech_Notes/nss_tech_note6 http://en.wikipedia.org/wiki/FIPS_140 https://bugzilla.mozilla.org/show_bug.cgi?id=681624 Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/nss/files/signlibs.sh | 20 meta/recipes-support

[OE-core] [PATCH 2/5] packagegroup-core-lsb: add nss for LSB library check

2013-07-09 Thread Hongxu Jia
Add nss for LSB library check. ... Unable to find library libnss3.so Unable to find library libssl3.so ... [YOCTO 4096] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta

[OE-core] [PATCH 3/5] nss: add version 3.15.1

2013-07-09 Thread Hongxu Jia
standards. [YOCTO #4096] Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../files/nss-fix-support-cross-compiling.patch| 71 + .../files/nss-no-rpath-for-cross-compiling.patch | 26 meta/recipes-support/nss/files/nss.pc.in | 11 ++ meta/recipes-support/nss

[OE-core] [PATCH 0/5]add nss for LSB library check

2013-07-09 Thread Hongxu Jia
http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libnss3.html https://developer.mozilla.org/en-US/docs/NSS //Hongxu The following changes since commit dc86293f0444384e8ae5131fdd10b6cb077164b0: bitbake: HOB:Proper handle of SIGINT (2013-07-05 15:52:48 +0100

  1   2   3   4   5   6   7   8   9   10   >