[OE-core] [PATCH 2/2] parselogs.py: whitelist more xserver related error

2020-03-10 Thread changqing.li
From: Changqing Li With default config, these errors always exist for core-image-sato, and xserver-nodm.server start successfully, these errors are not critially. If set default syslog to rsyslog, all these errors will go into daemon.log and user.log, then test_parselog will fail, so whitelist

[OE-core] [PATCH 1/2] parselogs.py: update network interface related messages

2020-03-10 Thread changqing.li
From: Changqing Li along with systemd upgrade, error message related change network interface have changed, update it. Signed-off-by: Changqing Li --- meta/lib/oeqa/runtime/cases/parselogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH] python-numpy: convert shebang from python to python3

2020-03-04 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- ...01-convert-shebang-from-python-to-python3.patch | 579 + .../recipes-devtools/python-numpy/python-numpy.inc | 1 + 2 files changed, 580 insertions(+) create mode 100644

[OE-core] [PATCH] qemu: fix CVE-2020-7039

2020-02-26 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/qemu/qemu.inc| 3 + .../qemu/qemu/CVE-2020-7039-1.patch| 44 +++ .../qemu/qemu/CVE-2020-7039-2.patch| 59

[OE-core] [PATCH 2/2] python3: Do not hardcode "lib" for distutils

2020-02-07 Thread changqing.li
From: Changqing Li Get the sys.lib from python3 itself and do not use hardcoded value of 'lib' for distutils. Solve the error below that occurs when run "python3 setup.py install" on lib64 multilib platform: [Errno 2] No such file or directory:

[OE-core] [PATCH 1/2] python3: fix the installation path of libpython3.7m.a for multilib

2020-02-06 Thread changqing.li
From: Changqing Li Fix the installation path of libpython3.7m.a on mulitlib lib64 platform to lib64 instead of lib Signed-off-by: Li Zhou Signed-off-by: Changqing Li --- .../python3/0001-configure.ac-fix-LIBPL.patch | 35 ++

[OE-core] [PATCH] sysklogd: fix parallel build problem

2020-01-16 Thread changqing.li
From: Changqing Li Parallel compile maybe failed with error: error: ../lib/strlcat.o: No such file or directory Makefile:619: recipe for target 'syslogd' failed remove previous patch, and backport lastest fix for this problem Signed-off-by: Changqing Li ---

[OE-core] [PATCH] cpio: remove unused CVE patch

2019-12-27 Thread changqing.li
From: Changqing Li According to the home page, https://www.gnu.org/software/cpio/, CVE-2015-1197 have been fix in version 2.13, so removed this patch get from SUSE Signed-off-by: Changqing Li --- .../cpio/cpio-2.13/0001-Fix-CVE-2015-1197.patch| 178 -

[OE-core] [PATCH] syslogkd: fix parallel compile failed problem

2019-12-25 Thread changqing.li
From: Changqing Li Parallel compile maybe failed with error: error: ../lib/strlcat.o: No such file or directory Makefile:619: recipe for target 'syslogd' failed Signed-off-by: Changqing Li --- ...arallel-build-problem-reported-by-Gentoo-.patch | 47 ++

[OE-core] [PATCH] run-ptest: fix ptest output

2019-12-17 Thread changqing.li
From: Changqing Li output of qemu test changed, fix the sed cmd to make it output as expect style Signed-off-by: Changqing Li --- meta/recipes-devtools/qemu/qemu/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest

[OE-core] [PATCH] libtirpc: fix wrong path of command ln -sf

2019-12-02 Thread changqing.li
From: Changqing Li fix wrong path of command "ln -sf", the file should under folder rpcsvc Signed-off-by: Changqing Li --- meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb

[OE-core] [PATCH] report-error.bbclass: replace angle brackets with and

2019-11-12 Thread changqing.li
From: Changqing Li when we have below content in local.conf or auto.conf: BUILDHISTORY_COMMIT_AUTHOR ?= "Khem Raj " send-error-report will fail with "HTTP Error 500: OK" error-report-web do rudimentary check on all fields that are passed to the graphs page to avoid any XSS happening, if

[OE-core] [PATCH] target-sdk-provides-dummy: set nostamp for do_package

2019-11-03 Thread changqing.li
From: Changqing Li It exists a situation that there is a common config file includes multilib.conf but variable MULTILIBS is not set by default: require conf/multilib.conf MULTILIBS ?= "" When build target-sdk-provides-dummy in the same build project with following steps, it fails. 1 $

[OE-core] [zeus][PATCH] e2fsprogs: fix CVE-2019-5094

2019-11-03 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../e2fsprogs/e2fsprogs/CVE-2019-5094.patch| 217 + .../recipes-devtools/e2fsprogs/e2fsprogs_1.45.3.bb | 1 + 2 files changed, 218 insertions(+) create mode 100644

[OE-core] [PATCH V3] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-10-29 Thread changqing.li
From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_install by sed,

[OE-core] [PATCH V3] sudo: fix CVE-2019-14287

2019-10-21 Thread changqing.li
From: Changqing Li In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and

[OE-core] [PATCH V2] sudo: fix CVE-2019-14287

2019-10-21 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../sudo/sudo/CVE-2019-14287-1.patch | 178 + .../sudo/sudo/CVE-2019-14287-2.patch | 107 + meta/recipes-extended/sudo/sudo_1.8.27.bb | 2 + 3 files changed, 287

[OE-core] [PATCH] sudo: fix CVE-2019-14287

2019-10-21 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../sudo/sudo/CVE-2019-14287.patch | 178 + meta/recipes-extended/sudo/sudo_1.8.27.bb | 1 + 2 files changed, 179 insertions(+) create mode 100644

[OE-core] [PATCH] e2fsprogs: fix CVE-2019-5094

2019-10-20 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../e2fsprogs/e2fsprogs/CVE-2019-5094.patch| 217 + .../recipes-devtools/e2fsprogs/e2fsprogs_1.45.3.bb | 1 + 2 files changed, 218 insertions(+) create mode 100644

[OE-core] [PATCH V2] qemu: Fix CVE-2019-12068

2019-10-16 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/qemu/qemu.inc| 1 + .../qemu/qemu/CVE-2019-12068.patch | 108 + 2 files changed, 109 insertions(+) create mode 100644

[OE-core] [PATCH] qemu: Fix CVE-2019-12068

2019-10-16 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/qemu/qemu.inc| 1 + .../qemu/qemu/CVE-2019-12068.patch | 107 + 2 files changed, 108 insertions(+) create mode 100644

[OE-core] [PATCH] python: Fix CVE-2019-10160

2019-10-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../python/python/bpo-36742-cve-2019-10160.patch | 81 ++ meta/recipes-devtools/python/python_2.7.16.bb | 1 + 2 files changed, 82 insertions(+) create mode 100644

[OE-core] [PATCH] llvm: remove -mlongcall from CXXFLAGS for powerpc

2019-10-07 Thread changqing.li
From: Changqing Li after gcc upgrade to 9.1.0, with this flags will make below error: collect2: fatal error: ld terminated with signal 11 [Segmentation fault] remove it as workaround, after remove it, powerpc can compile successfully Signed-off-by: Changqing Li ---

[OE-core] [PATCH V2] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-09-24 Thread changqing.li
From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_install by sed,

[OE-core] [PATCH 2/2] devtool.py: fix buildclean test

2019-09-19 Thread changqing.li
From: Changqing Li when build with EXTERNALSRC, checksum of EXTERNALSRC is one of inputs for generate sigdata of task do_compile. without change any source, the sigdata will not changed, and buildclean task only do make clean, and not clean stampfiles like clean task, so the stampfile keep

[OE-core] [PATCH 1/2] devtool.py: change to do clean before remove-layer

2019-09-19 Thread changqing.li
From: Changqing Li if do clean after remove-layer, it will make stamp file not cleaned since variable STAMP has changed, this will cause error like: if testcase buildclean failed, when run next testcase modify, since do_prepare_recipe_sysroot's stamp file exists, sysroot not populated, then

[OE-core] [PATCH V2] report-error.bbclass: add local.conf/auto.conf into error report

2019-09-17 Thread changqing.li
From: Changqing Li sometimes, it is not enough to reproduce a failed build with current info on error reports web, add local.conf/auto.conf into error report to make it more easier to reproduce failed build Note: this need work together with change in repo error-report-web, which will display

[OE-core] [PATCH] report-error.bbclass: add local.conf/auto.conf into error report

2019-09-17 Thread changqing.li
From: Changqing Li sometimes, it is not enough to reproduce a failed build with current info on error reports web, add local.conf/auto.conf into error report to make it more easier to reproduce failed build Note: this need work together with change in repo error-report-web, which will display

[OE-core] [PATCH] classextend.py: don't extend file for file dependency

2019-09-15 Thread changqing.li
From: Changqing Li Fix error like: lib32-e2fsprogs-1.45.3-r0 do_package_qa: QA Issue: /usr/sbin/e2scrub_all contained in package lib32-e2fsprogs-e2scrub requires /bin/bash, but no providers found in RDEPENDS_lib32-e2fsprogs-e2scrub For some lib32 packages(eg: lib32-bash, lib32-sed) which

[OE-core] [PATCH 2/2] mdadm: skip timeout testcase 11spare-migration

2019-09-05 Thread changqing.li
From: Changqing Li [YOCTO #13368] Signed-off-by: Changqing Li --- .../0001-mdadm-skip-test-11spare-migration.patch | 43 ++ meta/recipes-extended/mdadm/mdadm_4.1.bb | 2 + 2 files changed, 45 insertions(+) create mode 100644

[OE-core] [PATCH 1/2] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-09-05 Thread changqing.li
From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_install by sed,

[OE-core] [PATCH V2] bootchart2: switch to add patch from change source in do_install

2019-09-05 Thread changqing.li
From: Changqing Li it is not proper change source in do_install, it will make source not updated even local.conf have change the DISTRO_FEATURES [YOCTO #13493] Signed-off-by: Changqing Li --- .../0001-bootchart2-support-usrmerge.patch | 37 ++

[OE-core] [PATCH] bootchart2: switch to add patch from change source in do_install

2019-09-05 Thread changqing.li
From: Changqing Li it is not proper change source in do_install, it will make source not updated even local.conf have change the DISTRO_FEATURES [YOCTO: #13493] Signed-off-by: Changqing Li --- .../0001-bootchart2-support-usrmerge.patch | 37 ++

[OE-core] [PATCH] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-09-05 Thread changqing.li
From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_compile by sed,

[OE-core] [PATCH V3] dnf.py: installroot support usrmerge

2019-09-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/lib/oeqa/runtime/cases/dnf.py | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index 629b9af..80cc86a 100644

[OE-core] [PATCH V2] man-db: support usrmerge

2019-09-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-extended/man-db/man-db_2.8.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/man-db/man-db_2.8.7.bb b/meta/recipes-extended/man-db/man-db_2.8.7.bb index bdf340a..083b237 100644 ---

[OE-core] [PATCH V2] dnf.py: support usrmerge

2019-09-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/lib/oeqa/runtime/cases/dnf.py | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index 629b9af..9a5308f 100644

[OE-core] [PATCH] man-db: support usrmerge

2019-08-30 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-extended/man-db/man-db_2.8.6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/man-db/man-db_2.8.6.1.bb b/meta/recipes-extended/man-db/man-db_2.8.6.1.bb index ec9eb83..a7b7fef 100644

[OE-core] [PATCH] systemd-bootchart: support usrmerge

2019-08-30 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb

[OE-core] [PATCH] dnf.py: support test dnf installroot when enable usrmerge

2019-08-30 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/lib/oeqa/runtime/cases/dnf.py | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index 629b9af..6507066 100644

[OE-core] [PATCH] avahi-ui: support usrmerge

2019-08-30 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-connectivity/avahi/avahi-ui_0.7.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb index

[OE-core] [PATCH] bootchart2: support usrmerge

2019-08-30 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb index

[OE-core] [PATCH] libedit: fix failed to get history

2019-08-22 Thread changqing.li
From: Changqing Li Reproduce steps: run fileman under examples, history command not work, nothing is output. Fix by increase history_offset when add history, if not, it will make current history event not align with offset, and cannot get history correctly. Signed-off-by: Changqing Li ---

[OE-core] [PATCH] qemumips/qemumips64: move QB_SYSTEM_NAME to corresponding conf

2019-08-19 Thread changqing.li
From: Changqing Li Configuration: MACHINE = qemumips64 bitbake lib32-core-image-minimal runqemu slirp nographic qemumips64 ext4 Error: ERROR - Failed to run qemu: qemu-system-mips: unable to find CPU model 'MIPS64R2-generic' Fixed by moving QB_SYSTEM_NAME to Respective configuration file

[OE-core] [PATCH] populate_sdk: fix populate_sdk failed error

2019-08-18 Thread changqing.li
From: Changqing Li Configuration: IMAGE_INSTALL_append = " bash" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Reproduce cmd: bitbake core-image-minimal -c populate_sdk Error info: --> Finished dependency resolution Error: Problem:

[OE-core] [PATCH] dbus: disable test-bus

2019-08-15 Thread changqing.li
From: Changqing Li test-bus take long time to finish, sometimes longer than ptest-runner's timeout limit 300s, so skipped it for now [YOCTO #13409] Signed-off-by: Changqing Li --- meta/recipes-core/dbus/dbus/run-ptest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH] go-runtime: remove conflict files from -dev packages

2019-08-13 Thread changqing.li
From: Changqing Li fix below error: file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64 file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go conflicts between attempted installs of

[OE-core] [PATCH] grub/grub-efi: fix conflict for aach64

2019-08-07 Thread changqing.li
From: Changqing Li MACHINE = qemuarm64 IMAGE_INSTALL_append = ' grub grub-efi' do_rootfs failed with error: file /usr/lib64/grub/arm64-efi/acpi.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64 file /usr/lib64/grub/arm64-efi/adler32.module

[OE-core] [PATCH] go/go-runtime: use update-alternative for zdefaultcc.go

2019-08-06 Thread changqing.li
From: Changqing Li fix below error: file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64 file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go conflicts between attempted installs of

[OE-core] [PATCH] qemuboot-x86: move QB_SYSTEM_NAME to corresponding conf

2019-08-05 Thread changqing.li
From: Changqing Li Configrations: MACHINE: qemux86-64 require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Reproduce steps: bitbake lib32-core-image-minimal runqemu qemux86-64 nographic lib32-core-image-minimal Errors: qemu cannot bootup since:

[OE-core] [PATCH] runqemu: fix get portlock fail for multi users

2019-08-01 Thread changqing.li
From: Changqing Li when runqemu with slirp option on same host with different users, it will report PermissionError: [Errno 13] Permission denied: '/tmp/qemu-port-locks/.lock' and during handle this exception, another exception happened since key not exist. Fix by check if key exist first

[OE-core] [PATCH] qemuboot-x86.inc: remove it and move content to corresponding conf

2019-07-30 Thread changqing.li
From: Changqing Li Configrations: MACHINE: qemux86-64 require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Reproduce steps: bitbake lib32-core-image-minimal runqemu qemux86-64 nographic lib32-core-image-minimal Errors: qemu cannot bootup since:

[OE-core] [PATCH V2] runqemu: add lockfile for port used when slirp enabled

2019-07-25 Thread changqing.li
From: Changqing Li There is race condition when multi qemu starting with slirp, add lockfile for each port to avoid problem like: runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: Could not set up host forwarding rule 'tcp::2323-:23' [YOCTO #13364] Signed-off-by: Changqing Li ---

[OE-core] [PATCH] runqemu: add lockfile for port used when slirp enabled

2019-07-25 Thread changqing.li
From: Changqing Li There is race condition when multi qemu starting with slirp, add lockfile for each port to avoid problem like: runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: Could not set up host forwarding rule 'tcp::2323-:23' [YOCTO: #13364] Signed-off-by: Changqing Li ---

[OE-core] [PATCH] oeqa/parselogs: Whitelist qemuarm64 runtime errors

2019-07-18 Thread changqing.li
From: Changqing Li The qemuarm64 machine doesn't have graphics so whitelist the X server related failures Signed-off-by: Changqing Li --- meta/lib/oeqa/runtime/cases/parselogs.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py

[OE-core] [PATCH 2/2] mdadm: make ptest output format align with common style

2019-07-15 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-extended/mdadm/files/run-ptest | 17 + meta/recipes-extended/mdadm/mdadm_4.1.bb| 8 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/meta/recipes-extended/mdadm/files/run-ptest

[OE-core] [PATCH 0/2] make ptest output format align with common style

2019-07-15 Thread changqing.li
From: Changqing Li for pkg opkg and mdadm Changqing Li (2): opkg: make ptest output format align with common style mdadm: make ptest output format align with common style meta/recipes-devtools/opkg/opkg_0.4.1.bb| 5 + meta/recipes-extended/mdadm/files/run-ptest | 17

[OE-core] [PATCH 1/2] opkg: make ptest output format align with common style

2019-07-15 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/opkg/opkg_0.4.1.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/opkg/opkg_0.4.1.bb b/meta/recipes-devtools/opkg/opkg_0.4.1.bb index 8c48d30..663eaec 100644 ---

[OE-core] [PATCH] mdam: fix mdmonitor start up failure

2019-06-30 Thread changqing.li
From: Changqing Li 1. recently, mdadm has changed to use service file under srcdir, so remove the one not be used. 2. add -y option to fix below problem mdadm: No mail address or alert command - not monitoring Signed-off-by: Changqing Li ---

[OE-core] [PATCH] scons: fix conflict during do_rootfs

2019-06-24 Thread changqing.li
From: Changqing Li fix below error: file /usr/bin/scons conflicts between attempted installs of python-scons-3.0.5-r0.core2_32 and python3-scons-3.0.5-r0.core2_32 file /usr/bin/scons-3.0.5 conflicts between attempted installs of python-scons-3.0.5-r0.core2_32 and

[OE-core] [PATCH V2] mdadm: fix systemd service start up failure

2019-06-24 Thread changqing.li
From: Changqing Li 1. mdadm: No mail address or alert command - not monitoring fixed by use option -y to cause all events to be reported through 'syslog'. 2. cannot create pid file: No such file or directory fix by create dir before starting. Signed-off-by: Changqing Li ---

[OE-core] [PATCH] quilt: run-ptest remove Interactive Input

2019-06-24 Thread changqing.li
From: Changqing Li adduser in busybox and adduser under meta-openembeded have different behavior, adduser under meta-openembeded need Interactive Input like below if you manually run ptest. Enter the new value, or press ENTER for the default Full Name []: Room Number []:

[OE-core] [PATCH 1/2] update-rc.d: support enable/disable options

2019-06-20 Thread changqing.li
From: Changqing Li * update-rc.d has added support of enable/disable options, which are expected to keep the previous configuration even after upgrade the packages. With support for these options, it will only create start/stop link when there are none, or it will keep the previous

[OE-core] [PATCH 2/2] update-rc.d: update SRCREV and license checksum

2019-06-20 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-core/update-rc.d/update-rc.d_0.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb b/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb index

[OE-core] [PATCH 0/2] update-rc.d changes

2019-06-20 Thread changqing.li
From: Changqing Li 1. update-rc.d.bbclass: change to work align with new update-rc.d behavior 2. update-rc.d_0.8.bb: update SRCREV and license checksum Changqing Li (2): update-rc.d: support enable/disable options update-rc.d: update SRCREV and license checksum

[OE-core] [PATCH] mdadm: fix systemd service start up failure

2019-06-19 Thread changqing.li
From: Changqing Li 1. mdadm: No mail address or alert command - not monitoring with --monitor mode, mdadm needs a mail address and/or a program. This can be given with "mailaddr" and "program" lines to that monitoring can be started using. fix by given a mail address, user can replace with a

[OE-core] [PATCH V3] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-06-18 Thread changqing.li
From: Changqing Li The SDK was unable to find the C++ header pieces correctly since it's using a generic compiler, not one specifically targeting the multilib vendor prefix and default tune. This adds the right mapping to ensure SDKs work as expected. And fix problem in below configurations:

[OE-core] [PATCH] qemu: fix qemu ptest cannot work

2019-06-12 Thread changqing.li
From: Changqing Li do_install_ptest in recipe is covered by default function in ptest.bbclass since inherit ptest write in wrong place, fix it by move it to top. Signed-off-by: Changqing Li --- meta/recipes-devtools/qemu/qemu.inc | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-)

[OE-core] [PATCH] multilib: add override for image recipe

2019-06-12 Thread changqing.li
From: Changqing Li MACHINE set to qemux86-64 for lib32-core-image-sato, during do_rootfs, it will run install_complementary, which will get localedir by d.getVar("libdir"), without override, libdir will still be lib64. add override to fix it. Signed-off-by: Changqing Li ---

[OE-core] [PATCH 0/2 V2] add rconflict for systemd/tiny-init

2019-05-29 Thread changqing.li
From: Changqing Li Changqing Li (2): tiny-init: add rconflicts systemd: add rconflicts meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + meta/recipes-core/systemd/systemd_242.bb | 2 ++ 2 files changed, 3 insertions(+) -- 2.7.4 --

[OE-core] [PATCH 2/2 V2] systemd: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and

[OE-core] [PATCH 1/2 V2] tiny-init: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + 1 file changed, 1

[OE-core] [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init

2019-05-29 Thread changqing.li
From: Changqing Li Changqing Li (3): tiny-init: add rconflicts resolvconf: add rconflicts systemd: add rconflicts meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 + meta/recipes-core/systemd/systemd_242.bb

[OE-core] [PATCH 3/3] systemd: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and

[OE-core] [PATCH 2/3] resolvconf: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 + 1 file

[OE-core] [PATCH 1/3] tiny-init: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + 1 file changed, 1

[OE-core] [PATCH] busybox-inittab/sysvinit-inittab: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li when both installed, do_rootfs report error like: file /etc/inittab conflicts between attempted installs of busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86 so add each other to rconflicts Signed-off-by: Changqing Li ---

[OE-core] [PATCH] inetutils: fix wrong package name

2019-05-29 Thread changqing.li
From: Changqing Li fix below error: file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586 file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586

[OE-core] [PATCH 5/5] lsbtest: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li lsbtest rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-extended/lsb/lsbtest_1.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 3/5] bootchart2: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li bootchart2 rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 1 + 1 file changed, 1 insertion(+)

[OE-core] [PATCH 0/5] add rconflicts for serval packages

2019-05-27 Thread changqing.li
From: Changqing Li Changqing Li (5): connman: add networkmanager as rconflict dropbear: add openssh/openssh-sshd as rconflict bootchart2: add initscripts-functions as rconflict lsb: add initscripts-functions as rconflict lsbtest: add initscripts-functions as rconflict

[OE-core] [PATCH 2/5] dropbear: add openssh/openssh-sshd as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-core/dropbear/dropbear.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 2537603..b74d186 100644 ---

[OE-core] [PATCH 4/5] lsb: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-extended/lsb/lsb_5.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 1/5] connman: add networkmanager as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-connectivity/connman/connman_1.37.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/connman/connman_1.37.bb b/meta/recipes-connectivity/connman/connman_1.37.bb index 1265032..00852bf 100644 ---

[OE-core] [PATCH] python3: fix do_install fail for parallel buiild

2019-05-08 Thread changqing.li
From: Changqing Li When using make -j with the 'install' target, it's possible for altbininstall (which normally creates BINDIR) and libainstall (which doesn't, though it installs python-config there) to race, resulting in a failure due to attempting to install python-config into a nonexistent

[OE-core] [PATCH V4] populate_sdk_base: provide options to set sdk type

2019-04-30 Thread changqing.li
From: Changqing Li Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so add option for usr can select the sdk

[OE-core] [PATCH 2/2 V3] piglit: support build piglit without x11

2019-04-29 Thread changqing.li
From: Changqing Li * test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend on x11, so respect the DISTRO_FEATURES, only enable it when x11 is enabled. * mesa-demos depend on libGL.so which is provide by recipe mesa, but when x11 is disabled, libGL.so is not generated. so we

[OE-core] [PATCH 1/2 V3] waffle: supprt build waffle without x11

2019-04-29 Thread changqing.li
From: Changqing Li respect DISTRO_FEATURES to make waffle support different platform, gbm platform is supported by default. [YOCTO #6077] Signed-off-by: Changqing Li --- meta/recipes-graphics/waffle/waffle_1.5.2.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH 0/2 V3] piglit support build without x11

2019-04-29 Thread changqing.li
From: Changqing Li To support piglit without x11 by disable PIGLIT_BUILD_GL_TESTS, but the result is piglit can use without x11, but only small part of it can be used. Most of testcase will be skipped. Changqing Li (2): waffle: supprt build waffle without x11 piglit: support build piglit

[OE-core] [PATCH] gettext: add ptest support

2019-04-23 Thread changqing.li
From: Changqing Li skip test lang-c since it need gcc/libtool on target Signed-off-by: Changqing Li --- .../gettext/gettext-0.19.8.1/run-ptest | 6 +++ .../gettext-0.19.8.1/serial-tests-config.patch | 58 ++ meta/recipes-core/gettext/gettext_0.19.8.1.bb

[OE-core] [PATCH] m4: add ptest support

2019-04-23 Thread changqing.li
From: Changqing Li add patch 0001-test-getopt-posix-fix.patch for fix test-getopt-posix Signed-off-by: Changqing Li --- meta/recipes-devtools/m4/m4-1.4.18.inc | 37 +-- .../m4/m4/0001-test-getopt-posix-fix.patch | 41 ++

[OE-core] [PATCH V4] dbus: fix ptest failure

2019-04-17 Thread changqing.li
From: Changqing Li 1. since one bug in run-ptest, testcase test-bus have never been actually run (althrough it's result is PASS). After commit 0828850, test-bus can actually run but it did not install: test-service, test-shell-service, test-segfault, and dbus-daemon-launch-helper-test Add

[OE-core] [PATCH 1/2] systemd: change default locale from C.UTF-8 to C

2019-04-16 Thread changqing.li
From: Changqing Li current default locale is set to C.UTF-8, but glibc not support locale C.UTF-8. so set to the default locale C. [snip] if not meson.is_cross_build() choose_default_locale_sh = find_program('tools/choose-default-locale.sh')

[OE-core] [PATCH 2/2] glibc: Add a C.UTF-8 locale

2019-04-16 Thread changqing.li
From: Changqing Li * This patch is get from fedora project, link: https://src.fedoraproject.org/rpms/glibc/blob/0457f649e3fe6299efe384da13dfc923bbe65707/f/glibc-c-utf8-locale.patch * At this point, most major distro have support this locale * refer:

[OE-core] [PATCH] cogl: fix compile error caused by -Werror=maybe-uninitialized

2019-04-11 Thread changqing.li
From: Changqing Li When enable DEBUG_BUILD, cogl compile failed with error: | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; | ^~~~ |

[OE-core] [PATCH 2/2] ruby: add ptest

2019-04-11 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/ruby/ruby.inc | 2 +- meta/recipes-devtools/ruby/ruby/run-ptest | 13 + meta/recipes-devtools/ruby/ruby_2.5.3.bb | 10 ++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 1/2] ruby: make ext module fiddle can compile success

2019-04-11 Thread changqing.li
From: Changqing Li ext module fiddle depend on libffi, in ruby source tree, there is in internal libffi in case target platfrom don't install libffi, but autotools.bbclass delete configure under libffi and not run autoreconf to regenerate one.so we met this error:

[OE-core] [PATCH V2] cogl: fix compile error with -Werror=maybe-uninitialized

2019-04-08 Thread changqing.li
From: Changqing Li fix below compile error with -Werror=maybe-uninitialized while DEBUG_BUILD is enabled | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; |

[OE-core] [PATCH] cogl: fix compile error with -Werror=maybe-uninitialized

2019-04-02 Thread changqing.li
From: Changqing Li fix below compile error with -Werror=maybe-uninitialized | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; | ^~~~ |

[OE-core] [PATCH V2] llvm: fix link error for powerpc

2019-04-01 Thread changqing.li
From: Changqing Li fix below link error for powerpc lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm::cl::opt_storage<(anonymous namespace): :HelpPrinterWrapper, true, true>::setLocation(llvm::cl::Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':

  1   2   >