[OE-core] [PATCH] weston: uprev to 7.0.0

2019-08-25 Thread liu . ming50
From: Ming Liu - Adjust patches to comply with weston-7.0.0. - Also drop the obsolete patch 0001-make-error-portable.patch. Signed-off-by: Ming Liu --- .../wayland/weston/0001-make-error-portable.patch | 80 -- ...ch-Provide-a-default-version-that-doesn-t.patch | 38 +-

[OE-core] [PATCH] iputils: fix a usrmerge build issue

2019-09-03 Thread liu . ming50
From: Ming Liu Fix a following build issue when usrmerge is enabled: | WARNING: iputils-s20190709-r0 do_package: iputils: alternative target (/usr/bin/ping or /usr/bin/ping.iputils) does not exist, skipping... | WARNING: iputils-s20190709-r0 do_package: iputils: NOT adding alternative provide /

[OE-core] [PATCH V2] weston: uprev to 7.0.0

2019-09-05 Thread liu . ming50
From: Ming Liu Changes in V2: 1 Fix a musl build issue pointed out by Ross Burton, thanks Ross for the testing. Ming Liu (1): weston: uprev to 7.0.0 .../wayland/weston/0001-make-error-portable.patch | 80 -- ...ch-Provide-a-default-version-that-doesn-t.patch | 47 +

[OE-core] [PATCH V2] weston: uprev to 7.0.0

2019-09-05 Thread liu . ming50
From: Ming Liu - Adjust patches to comply with weston-7.0.0. - Also drop the obsolete patch 0001-make-error-portable.patch. Signed-off-by: Ming Liu --- .../wayland/weston/0001-make-error-portable.patch | 80 -- ...ch-Provide-a-default-version-that-doesn-t.patch | 47 ++

[OE-core] [PATCH] glibc: fix ldconfig packaging issue

2019-12-03 Thread liu . ming50
From: Ming Liu ldconfig should be prior to glibc-utils in PACKAGES variable, or else ldconfig binary would not be split to its own package, hence will lead to runtime issues for the packages that depending on ldconfig, like systemd. Signed-off-by: Ming Liu --- meta/recipes-core/glibc/glibc-pac

[OE-core] [PATCH] systemd: fix a test-seccomp build issue

2019-12-28 Thread liu . ming50
From: Ming Liu Fix a following compiling issue when seccomp is enabled by PACKAGECONFIG: | ../test-seccomp.c: In function 'test_protect_sysctl': | ../test-seccomp.c:307:5: error: "__NR__sysctl" is not defined, evaluates to 0 [-Werror=undef] | 307 | #if __NR__sysctl > 0 | | ^~~~

[OE-core] [thud][PATCH] uboot-sign.bbclass: Remove tab indentations in python code

2019-06-30 Thread liu . ming50
From: Robert Yang Use 4 spaces to replace a tab. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/classes/uboot-sign.bbclass | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bb

[OE-core] [PATCH] weston: change to use meson build system

2019-07-25 Thread liu . ming50
From: Ming Liu The changes include: - Drop all autotools related patches. - Move weston-launch setuid-install to do_install task since it's not supported yet by meson build. - Drop cairo-glesv2 package config, it's not supported by meson build, it is hardcoded to cairo-image for now in weston

[OE-core] [PATCH V3 0/2] Fix a libx11 compose data dependency issue

2019-07-26 Thread liu . ming50
From: Ming Liu Changes in V3: - As suggested by Ross Burton, introduce a new recipe libx11-compose-data, it would be depended by libxkbcommon in the case when x11 is not in DISTRO_FEATURES. Ming Liu (2): libx11-compose-data: add recipe libxkbcommon: RDEPENDS on libx11 compose data .../0001

[OE-core] [PATCH V3 1/2] libx11-compose-data: add recipe

2019-07-26 Thread liu . ming50
From: Ming Liu So far libx11 compose data is being required by some non-X11 recipes, like weston -> libxkbcommon -> libx11-locale. But the libx11-locale could not build without x11 distro feature enabled. This is not reasonable. To fix it, we introduce this new recipe, it uses the same source wi

[OE-core] [PATCH V3 2/2] libxkbcommon: RDEPENDS on libx11 compose data

2019-07-26 Thread liu . ming50
From: Ming Liu This fixes a following runtime error: | xkbcommon: ERROR: couldn't find a Compose file for locale "C" Signed-off-by: Ming Liu --- meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.4.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/libxkbcom

[OE-core] [PATCH V2] weston: change to use meson build system

2019-07-27 Thread liu . ming50
From: Ming Liu The changes include: - Drop all autotools related patches. - Move weston-launch setuid-install to do_install task since it's not supported yet by meson build. - Drop cairo-glesv2 package config, it's not supported by meson build, the recommended value is hard-coded to cairo-ima

[OE-core] [PATCH] image.bbclass: exclude deploy-${PN}-image-complete from rm_work

2019-08-02 Thread liu . ming50
From: Ming Liu The results in ${IMGDEPLOYDIR} generated by a image task could be used by later image tasks, hence they should be excluded by rm_work. Or else when a image task gets rerun but one of its dependent image task does not, then the results generated by this dependent image task would no

[OE-core] [PATCH V3] weston: change to use meson build system

2019-08-02 Thread liu . ming50
From: Ming Liu The changes include: - Drop all autotools related patches. - Move weston-launch setuid-install to do_install task since it's not supported yet by meson build. - Drop cairo-glesv2 package config, it's not supported by meson build, the recommended value is hard-coded to cairo-ima

[OE-core] [PATCH] license_image.bbclass: drop invalid comments

2019-08-04 Thread liu . ming50
From: Ming Liu These comments are not valid any more, drop them. Signed-off-by: Ming Liu --- meta/classes/license_image.bbclass | 4 1 file changed, 4 deletions(-) diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass index 2cfda81..3f102d0 100644 --- a/me

[OE-core] [PATCH] opensbi: handle deploy task under sstate

2019-08-04 Thread liu . ming50
From: Ming Liu Inherit deploy bbclass and install files to DEPLOYDIR rather than in DEPLOY_DIR_IMAGE. Signed-off-by: Ming Liu --- meta/recipes-bsp/opensbi/opensbi_0.4.bb | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meta/recipes-bsp/opensbi/opensbi_0.4.bb b/m

[OE-core] [PATCH] image.bbclass: fix EXTRA_IMAGEDEPENDS dependencies

2019-08-04 Thread liu . ming50
From: Ming Liu Sometimes the deploy tasks of EXTRA_IMAGEDEPENDS are also needed by image, for instance, in qemuriscv64/qemuriscv machines: - EXTRA_IMAGEDEPENDS += "u-boot" - EXTRA_IMAGEDEPENDS += "opensbi" and there are also a lot of similar usuages in some BSP layers like meta-freescale. So we

[OE-core] [PATCH] kernel.bbclass: merge bbclass inheriting

2020-01-11 Thread liu . ming50
From: Ming Liu Merge bbclass inheriting lines to avoid being redundant. Signed-off-by: Ming Liu --- meta/classes/kernel.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 750988f..49efc19 100644 --- a/m

[OE-core] [PATCH] kernel: introduce two convenient variables

2020-01-11 Thread liu . ming50
From: Ming Liu Introduce KERNEL_INITRAMFS_BUNDLE_TYPES and KERNEL_INITRAMFS_FIT_TYPES variables that a end user could override them easily in local.conf. Drop the hard-coded initramfs image names, no functional changes. Signed-off-by: Ming Liu --- meta/classes/kernel-artifact-names.bbclass |

[OE-core] [PATCH] kernel-fitimage: avoid duplicated items in KERNEL_IMAGETYPE_FOR_MAKE

2020-01-13 Thread liu . ming50
From: Ming Liu When replacementtype is already in KERNEL_IMAGETYPE_FOR_MAKE, we do not have to replace fitImage with it again, that will lead to duplicated items in KERNEL_IMAGETYPE_FOR_MAKE. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 8 ++-- 1 file changed, 6 inser

[OE-core] [PATCH] meta: remove remaining True option to getVar calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 7c552996: [ meta: remove True option to getVar calls ] it intended to remove all True option to getVar calls, but there are still some remaining. Search made with the following regex: getVar ?\((.*), True\) Signed-off-by: Ming Liu --- meta

[OE-core] [PATCH] meta: remove remaining True option to getVarFlag calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 2dea9e49: [ meta: remove True option to getVarFlag calls ] it intended to remove all True option to getVarFlag calls, but there are still some remaining. Search made with the following regex: getVarFlag ?\((.*), True\) Signed-off-by: Ming Li

[OE-core] [PATCH] rootfs-postcommands.bbclass: drop insert_feed_uris function

2017-01-26 Thread liu . ming50
From: Ming Liu The source makes no reference to insert_feed_uris any more, simply drop the unused reference, to avoid confusing the developers. Signed-off-by: Ming Liu --- meta/classes/rootfs-postcommands.bbclass | 18 -- 1 file changed, 18 deletions(-) diff --git a/meta/class

[OE-core] [OE-core] [PATCH???V2] meta: remove remaining True option to getVar calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 7c552996: [ meta: remove True option to getVar calls ] it intended to remove all True option to getVar calls, but there are still some remaining. Search made with the following regex: getVar ?\((.*), True\) Signed-off-by: Ming Liu --- meta

[OE-core] [OE-core] [PATCH???V2] meta: remove remaining True option to getVarFlag calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 2dea9e49: [ meta: remove True option to getVarFlag calls ] it intended to remove all True option to getVarFlag calls, but there are still some remaining. Search made with the following regex: getVarFlag ?\((.*), True\) Signed-off-by: Ming Li

[OE-core] [PATCH V2] rootfs-postcommands.bbclass: drop insert_feed_uris function

2017-01-26 Thread liu . ming50
From: Ming Liu The source makes no reference to insert_feed_uris any more, simply drop the unused reference, to avoid confusing the developers. Signed-off-by: Ming Liu --- meta/classes/rootfs-postcommands.bbclass | 18 -- 1 file changed, 18 deletions(-) diff --git a/meta/class

[OE-core] [PATCH] package_manager.py: fix issues when dealing with FEED_DEPLOYDIR_BASE_URI

2017-01-26 Thread liu . ming50
From: Ming Liu There are several flaws need fixing them: - The "/etc/opkg" should be "etc/opkg" when being passed to os.path.join - /etc/opkg directory does not exist in image rootfs, need create it. - There is a "\n" missing when writing path to feed conf file. Signed-off-by: Ming Liu --- met

[OE-core] [PATCH V2] meta: remove remaining True option to getVar calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is the V2 set of this patch, please ignore the origninal one, I had some charset issues on my computer, so the patch was messed up, sorry for the disturbing. Ming Liu (1): meta: remove remaining True option to getVar calls meta/classes/kernel-module-split.bbclass | 4 ++

[OE-core] [PATCH] meta: remove remaining True option to getVar calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 7c552996: [ meta: remove True option to getVar calls ] it intended to remove all True option to getVar calls, but there are still some remaining. Search made with the following regex: getVar ?\((.*), True\) Signed-off-by: Ming Liu --- meta

[OE-core] [PATCH] meta: remove remaining True option to getVarFlag calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is the V2 set of this patch, please ignore the origninal one, I had some charset issues on my computer, so the patch was messed up, sorry for the disturbing. Ming Liu (1): meta: remove remaining True option to getVarFlag calls meta/lib/oe/data.py | 2 +- 1 file changed, 1

[OE-core] [PATCH] meta: remove remaining True option to getVarFlag calls

2017-01-26 Thread liu . ming50
From: Ming Liu This is a complementary fix to commit 2dea9e49: [ meta: remove True option to getVarFlag calls ] it intended to remove all True option to getVarFlag calls, but there are still some remaining. Search made with the following regex: getVarFlag ?\((.*), True\) Signed-off-by: Ming Li

[OE-core] [PATCH] scripts/runqemu: fix a typo

2017-02-01 Thread liu . ming50
From: Ming Liu Signed-off-by: Ming Liu --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runqemu index 31eff5a..d74f252 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -96,7 +96,7 @@ Examples: """) def check_tun(): -"

[OE-core] [PATCH] lttng-tools: fixes a wrong header issue

2016-09-23 Thread liu . ming50
From: Ming Liu This fixes a following compiling issue: | agent.c:33:19: fatal error: error.h: No such file or directory | #include "error.h" it's back-ported from lttng-tools upstream, we need it in SRC_URI since 2.8 is still the latest release. Signed-off-by: Ming Liu --- .../0001-Fix-error

[OE-core] [PATCH] lttng-tools: adds DEPENDS to util-linux

2016-09-23 Thread liu . ming50
From: Ming Liu lttng-utils rdepends on util-linux-libuuid, this fixes a do_package_qa QA warning. Signed-off-by: Ming Liu --- meta/recipes-kernel/lttng/lttng-tools_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/re

[OE-core] [PATCH] python-native: extend RPROVIDES

2017-02-21 Thread liu . ming50
From: Ming Liu Let RPROVIDES include identical packages as listed in PROVIDES of python-2.7-manifest.inc, to satisfy the native runtime requirement on python-native. Signed-off-by: Ming Liu --- .../python/python-native_2.7.12.bb | 70 +- 1 file changed, 69 i

[OE-core] [PATCH] python3-native: extend RPROVIDES

2017-02-21 Thread liu . ming50
From: Ming Liu Let RPROVIDES include identical packages as listed in PROVIDES of python-3.5-manifest.inc, to satisfy the native runtime requirement on python3-native. Signed-off-by: Ming Liu --- .../python/python3-native_3.5.2.bb | 94 -- 1 file changed, 68

[OE-core] [PATCH] python-ptyprocess: BBCLASSEXTEND to native

2017-02-22 Thread liu . ming50
From: Ming Liu Some developers might need it. Signed-off-by: Ming Liu --- meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb b/meta/recipes-devtools/python/python-p

[OE-core] [PATCH] python-pexpect: BBCLASSEXTEND to native

2017-02-22 Thread liu . ming50
From: Ming Liu Some developers might need it. Signed-off-by: Ming Liu --- meta/recipes-devtools/python/python-pexpect_4.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-pexpect_4.2.1.bb b/meta/recipes-devtools/python/python-pexpect

[OE-core] [PATCH] python-pexpect: BBCLASSEXTEND to native

2017-02-22 Thread liu . ming50
From: Ming Liu Some developers might need it. Signed-off-by: Ming Liu --- meta/recipes-devtools/python/python-pexpect_4.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-pexpect_4.2.1.bb b/meta/recipes-devtools/python/python-pexpect

[OE-core] [PATCH] python-ptyprocess: BBCLASSEXTEND to native

2017-02-22 Thread liu . ming50
From: Ming Liu Some developers might need it. Signed-off-by: Ming Liu --- meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb b/meta/recipes-devtools/python/python-p

[OE-core] [PATCH] guile: fix a bashism

2017-02-24 Thread liu . ming50
From: Ming Liu A following flaw was detected by verify-bashisms script: .. meta/recipes-devtools/guile/guile_2.0.13.bb possible bashism in guile_cross_config line 94 ($'...' should be "$(printf '...')"): echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define

[OE-core] [PATCH] generate-manifest-2.7.py: add logic to generate native manifest

2017-02-25 Thread liu . ming50
From: Ming Liu python-native supposes to RPROVIDE all native packages as added in generate-manifest-2.7.py, but it does not so far, this leads a problem that sometimes bitbake cant find a runtime provider for a python-*-native when a new runtime dependency on it being required, this usualy happen

[OE-core] [PATCH] generate-manifest-3.5.py: add logic to generate native manifest

2017-02-25 Thread liu . ming50
From: Ming Liu python3-native supposes to RPROVIDE all native packages as added in generate-manifest-3.5.py, but it does not so far, this leads a problem that sometimes bitbake cant find a runtime provider for a python3-*-native when a new runtime dependency on it being required, this usualy happ

[OE-core] [PATCH] generate-manifest-2.7.py: fix python-tests rdepends

2017-02-26 Thread liu . ming50
From: Ming Liu A potential flaw was introduced by commit a8dc4bc0: [ python: fix python-tests rdepends ] It made python-tests RDEPENDS on python-modules which is correct, but this should be done in generate-manifest-2.7.py, and re-generate the manifest. Fixed by adding this dependency in genera

[OE-core] [PATCH] Do not append to BBCLASSEXTEND

2017-03-08 Thread liu . ming50
From: Ming Liu Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are redundant and inconsistent with the same setting in other recipes. Signed-off-by: Ming Liu --- meta/recipes-devtools/build-compare/build-compare_git.bb | 2 +- meta/recipes-extended/libsolv/libsolv_0.6.24

[OE-core] [PATCH 0/4] Fix some issues of kernel/image recipes

2017-03-19 Thread liu . ming50
From: Ming Liu The changes include: kernel.bbclass: introduce INITRAMFS_IMAGE_NAME kernel.bbclass: handle kernel-vmlinux in KERNEL_IMAGETYPES image.bbclass: remove initramfs bundle related code kernel-initramfs: add recipe Ming Liu (4): kernel.bbclass: introduce INITRAMFS_IMAGE_NAME kernel.b

[OE-core] [PATCH 1/4] kernel.bbclass: introduce INITRAMFS_IMAGE_NAME

2017-03-19 Thread liu . ming50
From: Ming Liu It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not empty. This allows the end users to be able to override the initramfs image name with a customized value. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 10 +- meta/classes/kernel

[OE-core] [PATCH 3/4] image.bbclass: remove initramfs bundle related code

2017-03-19 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH 2/4] kernel.bbclass: handle kernel-vmlinux in KERNEL_IMAGETYPES

2017-03-19 Thread liu . ming50
From: Ming Liu There is a mess after KERNEL_IMAGETYPES was introduced in commit 849b67b2: [ kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time ] There are two packages both providing vmlinux image if 'vmlinux' is set in KERNEL_IMAGETYPES, they are kernel-vmlinux and kernel-ima

[OE-core] [PATCH 4/4] kernel-initramfs: add recipe

2017-03-19 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH 0/5] Fix some issues of kernel/image recipes

2017-03-20 Thread liu . ming50
From: Peter Liu The changes include: kernel.bbclass: fix some incorrect inter-task dependencies kernel.bbclass: introduce INITRAMFS_IMAGE_NAME kernel.bbclass: handle kernel-vmlinux in KERNEL_IMAGETYPES image.bbclass: remove initramfs bundle related code kernel-initramfs: add recipe Ming Liu (5):

[OE-core] [PATCH 2/5] kernel.bbclass: introduce INITRAMFS_IMAGE_NAME

2017-03-20 Thread liu . ming50
From: Ming Liu It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not empty. This allows the end users to be able to override the initramfs image name with a customized value. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 10 +- meta/classes/kernel

[OE-core] [PATCH 3/5] kernel.bbclass: handle kernel-vmlinux in KERNEL_IMAGETYPES

2017-03-20 Thread liu . ming50
From: Ming Liu There is a mess after KERNEL_IMAGETYPES was introduced in commit 849b67b2: [ kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time ] There are two packages both providing vmlinux image if 'vmlinux' is set in KERNEL_IMAGETYPES, they are kernel-vmlinux and kernel-ima

[OE-core] [PATCH 4/5] image.bbclass: remove initramfs bundle related code

2017-03-20 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH 5/5] kernel-initramfs: add recipe

2017-03-20 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH 1/5] kernel.bbclass: fix some incorrect inter-task dependencies

2017-03-20 Thread liu . ming50
From: Ming Liu - Move the addtask statment that kernel_link_images needs run after do_compile from linux-yocto.inc to kernel.bbclass. Or else the recipes that inheriting kernel.bbclass might run into implicit dependency issues. - Fix a typo, "addtask do_strip" should be "addtask strip". - R

[OE-core] [PATCH 0/4] [V3] Fix some issues of kernel/image recipes

2017-03-21 Thread liu . ming50
From: Ming Liu The changes in V3: 1 Drop one patch which is problematic. 2 Change a conditional checking line in kernel-initramfs.bb: From: "if type != 'vmlinux' or d.getVar('KERNEL_IMAGETYPE') == 'vmlinux':" To: "if type != 'vmlinux' or 'vmlinux' in (d.getVar('KERNEL_IMAGETYPE') or ""):" provid

[OE-core] [PATCH 1/4] kernel.bbclass: fix some incorrect inter-task dependencies

2017-03-21 Thread liu . ming50
From: Ming Liu - Move the addtask statment that kernel_link_images needs run after do_compile from linux-yocto.inc to kernel.bbclass. Or else the recipes that inheriting kernel.bbclass might run into implicit dependency issues. - Fix a typo, "addtask do_strip" should be "addtask strip". - R

[OE-core] [PATCH 2/4] kernel.bbclass: introduce INITRAMFS_IMAGE_NAME

2017-03-21 Thread liu . ming50
From: Ming Liu It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not empty. This allows the end users to be able to override the initramfs image name with a customized value. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 10 +- meta/classes/kernel

[OE-core] [PATCH 4/4] kernel-initramfs: add recipe

2017-03-21 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH 3/4] image.bbclass: remove initramfs bundle related code

2017-03-21 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH V4 0/4] Fix some issues of kernel/image recipes

2017-03-23 Thread liu . ming50
From: Ming Liu Changes in V4: 1 Do not append 'vmlinux' to KERNEL_IMAGETYPES. Ming Liu (4): kernel.bbclass: fix some incorrect inter-task dependencies kernel.bbclass: introduce INITRAMFS_IMAGE_NAME image.bbclass: remove initramfs bundle related code kernel-initramfs: add recipe meta/cl

[OE-core] [PATCH V4 1/4] kernel.bbclass: fix some incorrect inter-task dependencies

2017-03-23 Thread liu . ming50
From: Ming Liu - Move the addtask statment that kernel_link_images needs run after do_compile from linux-yocto.inc to kernel.bbclass. Or else the recipes that inheriting kernel.bbclass might run into implicit dependency issues. - Fix a typo, "addtask do_strip" should be "addtask strip". - R

[OE-core] [PATCH V4 2/4] kernel.bbclass: introduce INITRAMFS_IMAGE_NAME

2017-03-23 Thread liu . ming50
From: Ming Liu It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not empty. This allows the end users to be able to override the initramfs image name with a customized value. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 10 +- meta/classes/kernel

[OE-core] [PATCH V4 3/4] image.bbclass: remove initramfs bundle related code

2017-03-23 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH V4 4/4] kernel-initramfs: add recipe

2017-03-23 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH] meta: define REAL_MULTIMACH_TARGET_SYS/SDKTARGETSYSROOT in bitbake.conf

2017-03-30 Thread liu . ming50
From: Ming Liu REAL_MULTIMACH_TARGET_SYS is being defined and referred in several recipes, which is redundant and not easy to be overriden, and SDKTARGETSYSROOT is also defined in two recipes. So move their definitions to bitbake.conf. Signed-off-by: Ming Liu --- meta/classes/populate_sdk_bas

[OE-core] [PATCH] kernel.bbclass: fix some incorrect inter-task dependencies

2017-03-30 Thread liu . ming50
From: Ming Liu - Move the addtask statment that kernel_link_images needs run after do_compile from linux-yocto.inc to kernel.bbclass. Or else the recipes that inheriting kernel.bbclass might run into implicit dependency issues. - Fix a typo, "addtask do_strip" should be "addtask strip". - R

[OE-core] [PATCH] kernel.bbclass: introduce INITRAMFS_IMAGE_NAME

2017-03-30 Thread liu . ming50
From: Ming Liu It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not empty. This allows the end users to be able to override the initramfs image name with a customized value. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 10 +- meta/classes/kernel

[OE-core] [PATCH V5 0/2] Fix some issues of kernel/image recipes (initramfs bundled kernel packaging)

2017-03-30 Thread liu . ming50
From: Ming Liu Changes in patch set 5: 1 Add [ Yocto #9233] in commit message. 2 Drop the patches not related to fixing this bug, will send them separately. 3 I had sent a wrong patch in V4, the summary: 'kernel-initramfs: add recipe' fix it in this V5. Ming Liu (2): image.bbclass: remove in

[OE-core] [PATCH V5 2/2] kernel-initramfs: add recipe

2017-03-30 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH V5 1/2] image.bbclass: remove initramfs bundle related code

2017-03-30 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH V2] kernel.bbclass: fix a typo

2017-03-30 Thread liu . ming50
From: Ming Liu In a addtask statement, do_strip should be strip. Signed-off-by: Ming Liu --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 244087a..91c260a 100644 --- a/meta/classe

[OE-core] [PATCH V2] kernel.bbclass: move in addtask kernel_link_images statement from linux-yocto.inc

2017-03-30 Thread liu . ming50
From: Ming Liu Add kernel_link_images task in kernel.bbclass instead of adding it in linux-yocto.inc, or else the recipes inheriting kernel.bbclass might run into implicit dependency issues. Signed-off-by: Ming Liu --- meta/classes/kernel.bbclass | 1 + meta/recipes-kernel/linux/

[OE-core] [PATCH] glibc: fix nativesdk ldd RTLDLIST

2017-04-04 Thread liu . ming50
From: Ming Liu Override RTLDLIST for nativesdk, or else ldd would fail to run on SDK targets. Signed-off-by: Ming Liu --- meta/recipes-core/glibc/glibc-ld.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/glibc/glibc-ld.inc b/meta/recipes-core/glibc/glibc-ld.inc index

[OE-core] [PATCH 1/4] cross.bbclass: override TARGET_* flags

2017-04-06 Thread liu . ming50
From: Ming Liu Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a cross recipe even they are not in use at all. This can lead a lot of churn when the cross sysroot are shared by machines while they have defined different TARGET_* flags. An

[OE-core] [PATCH 4/4] cross-canadian.bbclass: override TARGET_* flags

2017-04-06 Thread liu . ming50
From: Ming Liu Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a cross-canadian recipe even they are not in use at all. This can lead a lot of churn when the cross-canadian sysroot are shared by machines while they have defined different T

[OE-core] [PATCH 0/4] Fix some incorrect TARGET_-* flags

2017-04-06 Thread liu . ming50
From: Ming Liu I had found a lot of churn in sysroots when multiple MACHINEs are sharing a same build folder, which is the case in my company, after digging into it, I found it's caused by the TARGET_-* flags, they are exported but not in use at all, they should be replaced by particular flags fo

[OE-core] [PATCH 2/4] crosssdk.bbclass: override TARGET_* flags

2017-04-06 Thread liu . ming50
From: Ming Liu Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a crosssdk recipe even they are not in use at all. This can lead a lot of churn when the crosssdk sysroot are shared by machines while they have defined different TARGET_* flag

[OE-core] [PATCH 3/4] nativesdk.bbclass: override TARGET_* flags

2017-04-06 Thread liu . ming50
From: Ming Liu Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a nativesdk recipe even they are not in use at all. This can lead a lot of churn when the nativesdk sysroot are shared by machines while they have defined different TARGET_* fl

[OE-core] [PATCH V6 1/2] image.bbclass: remove initramfs bundle related code

2017-04-08 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH V6 2/2] kernel-initramfs: add recipe

2017-04-08 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH V6 0/2] Fix some issues of kernel/image recipes (initramfs bundled kernel packaging)

2017-04-08 Thread liu . ming50
From: Ming Liu Changes in patch set V6: 1 Change "d.getVar('KERNEL_PRIORITY')" > "d.getVar('KERNEL_PRIORITY', False)" to avoid running into a "basehash value changed" error, which is caused by KERNEL_VERSION is extracted from kernel headers at run time. Ming Liu (2): image.bbclass: remove

[OE-core] [PATCH] classes/image_live: allow different filesystems to be used for live images

2017-04-23 Thread liu . ming50
From: Ming Liu The idea is copied from commit df0b217f3df2c36a32e5c4afaec36a28bfc77bbb: [ classes/image_vm: allow different filesystems to be used for VM images ] The same logic should apply to image_live.bbclass, to allow other filesystems to be used vs just ext4. The default value of ext4 is k

[OE-core] [PATCH] musl: fix a invalid conversion from 'void*' to 'char*'

2017-05-13 Thread liu . ming50
From: Ming Liu A compiling warning is observed with gcc -Wconversion option, fixed by casting 'void*' to 'char*'. Signed-off-by: Ming Liu --- ...ix-a-invalid-conversion-from-void-to-char.patch | 31 ++ meta/recipes-core/musl/musl_git.bb | 1 + 2 files chang

[OE-core] [PATCH] image.bbclass: drop initramfs bundle related code

2017-05-13 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel images before do_image_complete, but they are not really taking effect since the initramfs bundled kernel images are not even installed to ${D}/boot after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [

[OE-core] [PATCH] meta: handle IMAGE_ROOTFS/IMGDEPLOYDIR by task varflags

2019-01-06 Thread liu . ming50
From: Ming Liu I found a issue that sometimes there are leftovers in IMAGE_ROOTFS that are generated by the previous builds. I think this is caused by IMAGE_ROOTFS is not in do_rootfs[cleandirs], so add it in. IMGDEPLOYDIR could be added to do_rootfs[dirs] as well, hence some code in rootfs.py t

[OE-core] [PATCH V2] meta: handle IMAGE_ROOTFS/IMGDEPLOYDIR by task varflags

2019-01-06 Thread liu . ming50
From: Ming Liu I found a issue that sometimes there are leftovers in IMAGE_ROOTFS that are generated by the previous builds. I think this is caused by IMAGE_ROOTFS is not in do_rootfs[cleandirs], so add it in provided that INC_RPM_IMAGE_GEN is not set. IMGDEPLOYDIR could be added to do_rootfs[di

[OE-core] [PATCH] meta: clean up IMAGE_ROOTFS/IMGDEPLOYDIR creation code

2019-01-09 Thread liu . ming50
From: Ming Liu It is not necessary to create IMAGE_ROOTFS/IMGDEPLOYDIR in rootfs.py, they could be handled by do_rootfs[dirs], in a cleaner way. Signed-off-by: Ming Liu --- meta/classes/image.bbclass | 2 +- meta/lib/oe/rootfs.py | 5 - 2 files changed, 1 insertion(+), 6 deletions(-)

[OE-core] [PATCH] npm.bbclass: introduce NPM_PXORY

2019-01-09 Thread liu . ming50
From: Ming Liu This is needed to support building npm packages under environment with proxy setting. Signed-off-by: Ming Liu --- meta/classes/npm.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 6dbae6b..0f37f30 1

[OE-core] [PATCH] kernel-fitimage.bbclass: introduce OVERLAY_FDT_DEFAULT_BOOT

2019-01-28 Thread liu . ming50
From: Ming Liu The FDT overlays can be applied to a base DT configuration by setting this variable. The FDT overlays set in this variable must be available in KERNEL_DEVICETREE. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 18 ++ 1 file changed, 18 insert

[OE-core] [PATCH] gdk-pixbuf: export XDG_DATA_DIRS in wrappers

2019-03-03 Thread liu . ming50
From: Ming Liu We need export XDG_DATA_DIRS to be ${STAGING_DATADIR} for gdk-pixbuf* wrappers or else they will try to load mime from /usr/share/mime of the host machine. Signed-off-by: Ming Liu --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.38.0.bb | 5 + 1 file changed, 5 insertions(+)

[OE-core] [PATCH] recipetool: create: fix port number parsing issue

2018-04-01 Thread liu . ming50
From: Ming Liu A flaw was found when I run: $ recipetool create "ssh://g...@xxx.xxx:7999/xxx.git" the url turned out to be: "git://g...@xxx.xxx/7999/xxx.git;protocol=ssh" after parsing, the port number was parsed as part of the path, this is definitely wrong and lead to fetching failures. This

[OE-core] [PATCH] meta: conf: avoid appending LIBCOVERRIDE to OVERRIDES

2018-04-07 Thread liu . ming50
From: Ming Liu The order of any other overrides should be before forcevariable, or else it will get the highest priority. Signed-off-by: Ming Liu --- meta/classes/native.bbclass | 2 -- meta/classes/nativesdk.bbclass| 2 +- meta/conf/bitbake.conf

[OE-core] [PATCH] externalsrc.bbclass: introduce INHIBIT_SRCTREE_FILE_CHECKSUMES

2018-04-16 Thread liu . ming50
From: Ming Liu It defaults to be '0', but it allows the developers to choose not add file-checksums to do_compile for the entire source tree, by setting to '1'. We need this because we have a huge project with 100G bytes source files, and we do not want them to be added to file-checksums variabl

[OE-core] [PATCH V2] externalsrc.bbclass: introduce INHIBIT_SRCTREE_FILE_CHECKSUMES

2018-04-16 Thread liu . ming50
From: Ming Liu It defaults to be '0', but it allows the developers to choose not add file-checksums to do_compile for the entire source tree, by setting to '1'. We need this because we have a huge project with 100G bytes source files, and we do not want them to be added to file-checksums variabl

[OE-core] [PATCH V3] externalsrc.bbclass: introduce INHIBIT_SRCTREE_FILE_CHECKSUMS

2018-04-16 Thread liu . ming50
From: Ming Liu It defaults to be '0', but it allows the developers to choose not add file-checksums to do_compile for the entire source tree, by setting to '1'. We need this because we have a huge project with 100G bytes source files, and we do not want them to be added to file-checksums variabl

[OE-core] [PATCH] image_types_wic: add do_image_wic before do_image_complete

2018-04-20 Thread liu . ming50
From: Ming Liu We have some tasks depending on image's do_image_complete task, and we are also using WKS files to generate partitioned images, but now there is lacking a inter dependency between do_image_wic and do_image_complete, so we have to depend on both of them. Fixed by adding the depende

[OE-core] [PATCH] mtd-utils: add nanddump and nandwrite to ALTERNATIVE

2018-04-20 Thread liu . ming50
From: Ming Liu They are also being provided by busybox when CONFIG_NANDWRITE is chosen. Signed-off-by: Ming Liu --- meta/recipes-devtools/mtd/mtd-utils_git.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-d

[OE-core] [PATCH] core-image-*-initramfs: drop export of IMAGE_BASENAME

2018-05-03 Thread liu . ming50
From: Ming Liu I can not see there is any need for exporting them, simply drop the latency code. Signed-off-by: Ming Liu --- meta/recipes-core/images/core-image-minimal-initramfs.bb| 2 -- meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 -- meta/recipes-extended/ima

  1   2   >