[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 v2 01/25] bitbake.conf: support for merged usr with DISTRO_FEATURE usrmerge

2017-02-22 Thread Amarnath Valluri
From: Joshua Lock Modify bindir, libdir and sbindir to be exec_prefix/$d, rather than base_prefix/$d, when the usrmerge DISTRO_FEATURE is enabled. Signed-off-by: Joshua Lock --- meta/conf/bitbake.conf | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta/conf/bi

[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 v2 03/25] cross.bbclass: merged /usr support

2017-02-22 Thread Amarnath Valluri
When 'usrmerge' distro feature enabled match target_base_libdir to ${target_libdir}. Signed-off-by: Amarnath Valluri --- meta/classes/cross.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 2602153..c8ef3a5

[OE-core] [PATCH v2 04/25] base-files: Replace hardcoded root paths with appropriate bitbake variables

2017-02-22 Thread Amarnath Valluri
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and ${base_libdir}. Signed-off-by: Amarnath Valluri --- meta/recipes-core/base-files/base-files_3.0.14.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb

[OE-core] [PATCH v2 02/25] bitbake.conf: Modify nativesdk variables to support 'usrmerge' DISTRO_FEATURE

2017-02-22 Thread Amarnath Valluri
Modify base bin, sbin, and lib nativesdk variables to be ${prefix_nativesdk}/$d, when the usrmerge DISTRO_FEATURE is enabled. Signed-off-by: Amarnath Valluri --- meta/conf/bitbake.conf | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/

[OE-core] [PATCH v2 05/25] systemd: chagnes to support merged /usr

2017-02-22 Thread Amarnath Valluri
When the usrmerge DISTRO_FEATURE is selected disable the split-usr support and modify rootprefix to be exec_prefix, rather than base_prefix. Signed-off-by: Amarnath Valluri --- meta/recipes-core/systemd/systemd_232.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH v2 06/25] bash: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when 'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}. so to satisify build dependency add '/bin/{sh,bash}' to its providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/bash/bash.inc |

[OE-core] [PATCH v2 07/25] busybox: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege' feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build dependency add '/bin/sh' to it's providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-core/busybox/busybox.inc | 2 ++ 1 file chang

[OE-core] [PATCH v2 08/25] sed: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Few of the perl scripts referring '#!/bin/sed' inside the script. But when 'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy build dependency add '/bin/sed' to it's providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/sed/sed_4.2.2.bb | 1 + 1 file

[OE-core] [PATCH v2 09/25] musl: Fix issues in relative symlink creation

2017-02-22 Thread Amarnath Valluri
Make use of lnr/ln -r while creating relative symlinks than guessing the relalive path. Signed-off-by: Amarnath Valluri --- ...dynamic-linker-a-relative-symlink-to-libc.patch | 62 ++ meta/recipes-core/musl/musl_git.bb | 2 +- 2 files changed, 53 insertions(+

[OE-core] [PATCH v2 10/25] glibc: Ensure ldconfig is packaged into glibc

2017-02-22 Thread Amarnath Valluri
From: Jussi Kukkonen If "usrmerge" feature is used, /usr/sbin/ldconfig gets packaged into glibc-utils instead of glibc: Switch PACKAGES order to prevent this. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH v2 12/25] attr/acl: Do not create broken static library link when not needed

2017-02-22 Thread Amarnath Valluri
Stop creating the static library archieve(liba(ttr|cl).a) when --disable-static configure option used. Signed-off-by: Amarnath Valluri --- meta/recipes-support/attr/ea-acl.inc | 2 + ...gure-option-to-enable-disable-static-libr.patch | 70 ++ 2 files changed, 7

[OE-core] [PATCH v2 11/25] util-linux: Fix packaging with "usrmerge"

2017-02-22 Thread Amarnath Valluri
From: Jussi Kukkonen Make sure fsck.cramfs is packaged before fsck so the latter does not steal the fsck.cramfs binary when building with usrmerge DISTRO_FEATURE. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/util-linux/util-linux.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[OE-core] [PATCH v2 13/25] systemd: Do not add libnss_* to systemd package

2017-02-22 Thread Amarnath Valluri
libnss_* files should be part of corresponding sub-packages, the split happens by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files endup in systemd package when ${libdir} == ${base_libdir}. Signed-off-by: Amarnath Valluri --- meta/recipes-core/systemd/systemd_232.bb |

[OE-core] [PATCH v2 15/25] util-linux, shadow: Make 'nologin' alternative command

2017-02-22 Thread Amarnath Valluri
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir} and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative system to resolve the conflict. Signed-off-by: Amarnath Va

[OE-core] [PATCH v2 16/25] libarchive: Backport upstream fixes.

2017-02-22 Thread Amarnath Valluri
These set of patches backported from upstream, which fixes the issues in extracting hardlinks over softlinks while etracting packages by opkg. Signed-off-by: Amarnath Valluri --- ...te_disk_posix.c-make-_fsobj-functions-mor.patch | 245 + ...02-Fix-extracting-hardlinks-over-s

[OE-core] [PATCH v2 14/25] util-linux: Make sure '${base_bindir}/reset' is part of util-linux-reset package.

2017-02-22 Thread Amarnath Valluri
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME == TARGET, This is true(${base_bindir} == ${bindir}) when 'usrmerge' distro feature is enabled. Hence, suffix with * to properly package the renamed binary. Signed-off-by: Amarnath Valluri util-linux --- meta/recipes-cor

[OE-core] [PATCH v2 17/25] kernel: use ${nonarch_base_libdir} for kernel modules installation.

2017-02-22 Thread Amarnath Valluri
Replace hardcoded '/lib' in kernel modules installation path with ${nonarch_base_libdir}, which is meant exactly for this. Signed-off-by: Amarnath Valluri --- meta/classes/kernel-module-split.bbclass | 2 +- meta/classes/kernel.bbclass | 14 +++--- meta/classes/module.bbcla

[OE-core] [PATCH v2 19/25] mdadm: Avoid using hardocded udev, sbin paths

2017-02-22 Thread Amarnath Valluri
Use appropriate bitbake variables inplace of below hardcoded locations: /sbin -> ${base_sbindir} /lib/udev -> ${nonarch_base_libdir}/udev Signed-off-by: Amarnath Valluri --- meta/recipes-extended/mdadm/mdadm_4.0.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/met

[OE-core] [PATCH v2 18/25] firmware: use ${nonarch_base_libdir} for firmware installation.

2017-02-22 Thread Amarnath Valluri
Replace hardcoded '/lib' in kernel firmware installation path with ${nonarch_base_libdir}. Signed-off-by: Amarnath Valluri --- .../linux-firmware/linux-firmware_git.bb | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/meta/recipes-kernel/linux

[OE-core] [PATCH v2 23/25] lttng-modules: Replace '/lib' with ${nonarch_base_libdir}

2017-02-22 Thread Amarnath Valluri
Do not assume '/lib' for kernel modules location, instead use ${nonarch_base_libdir}. Because when 'usrmerge' distro feature is enabled, kernel modules are not located in /lib/modules, instead /usr/lib/modules. Signed-off-by: Amarnath Valluri --- meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb

[OE-core] [PATCH v2 21/25] net-tools: Place package content as per bitbake environment.

2017-02-22 Thread Amarnath Valluri
net-tools Makefile was hardcoded sbin, bin installation paths to /bin and /sbin respectively. This change moves the installed files to appropriate location as per configured bitbake environment. This might be solved much better way by patching Makefile, but that causing build issues, as net-tools

[OE-core] [PATCH v2 24/25] image: create symlinks needed for merged /usr

2017-02-22 Thread Amarnath Valluri
Prepare the symlinks required for merged /usr at the time of rootfs creation. The links created in rootfs are: /bin --> /usr/sbin /sbin --> /usr/sbin /lib --> /usr/lib /lib64 --> /usr/lib64 We cannot make these symlinks as part of 'base-files' or some other package. Because at rootfs creation, in

[OE-core] [PATCH v2 20/25] mktemp: Move installed files only when needed

2017-02-22 Thread Amarnath Valluri
Move binary(ies) only when ${base_bindir} != ${bindir}. When usrmerge distro feature is enabled they both might point to same location. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/mktemp/mktemp_1.7.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH v2 22/25] lsb: Make use of appropriate bitbake variables.

2017-02-22 Thread Amarnath Valluri
Using of bitbake environment variables in-place of hardcoded strings makes this recipe portable to all environments. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/lsb/lsb_4.1.bb | 40 +--- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a

[OE-core] [PATCH v2 00/25] Fix for #7040 - Support for /usr merge

2017-02-22 Thread Amarnath Valluri
This set of patches implements the long-standing feature - merging of /bin, /sbin, /libs to their /usr counterparts. It introduces a 'usrmerge' DISTRO_FEATURE, when it's enabled: - other than native all base paths(base_{bin,sbin,lib}dir) points to ${exec_prefix}/{bin,sbin,lib} - b

[OE-core] [PATCH v2 01/25] bitbake.conf: support for merged usr with DISTRO_FEATURE usrmerge

2017-02-22 Thread Amarnath Valluri
From: Joshua Lock Modify bindir, libdir and sbindir to be exec_prefix/$d, rather than base_prefix/$d, when the usrmerge DISTRO_FEATURE is enabled. Signed-off-by: Joshua Lock --- meta/conf/bitbake.conf | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta/conf/bi

[OE-core] [PATCH v2 25/25] insane.bbclass: Add package QA check for merged /usr.

2017-02-22 Thread Amarnath Valluri
This check makes sure that, when usrmerge distro feature enabled, no package installs files to root (/bin, /sbin, /lib, /lib64) folders. Signed-off-by: Amarnath Valluri --- meta/classes/insane.bbclass | 16 1 file changed, 16 insertions(+) diff --git a/meta/classes/insane.bbcla

[OE-core] [PATCH v2 02/25] bitbake.conf: Modify nativesdk variables to support 'usrmerge' DISTRO_FEATURE

2017-02-22 Thread Amarnath Valluri
Modify base bin, sbin, and lib nativesdk variables to be ${prefix_nativesdk}/$d, when the usrmerge DISTRO_FEATURE is enabled. Signed-off-by: Amarnath Valluri --- meta/conf/bitbake.conf | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/

[OE-core] [PATCH v2 03/25] cross.bbclass: merged /usr support

2017-02-22 Thread Amarnath Valluri
When 'usrmerge' distro feature enabled match target_base_libdir to ${target_libdir}. Signed-off-by: Amarnath Valluri --- meta/classes/cross.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 2602153..c8ef3a5

[OE-core] [PATCH v2 04/25] base-files: Replace hardcoded root paths with appropriate bitbake variables

2017-02-22 Thread Amarnath Valluri
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and ${base_libdir}. Signed-off-by: Amarnath Valluri --- meta/recipes-core/base-files/base-files_3.0.14.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb

[OE-core] [PATCH v2 06/25] bash: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when 'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}. so to satisify build dependency add '/bin/{sh,bash}' to its providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/bash/bash.inc |

[OE-core] [PATCH v2 05/25] systemd: chagnes to support merged /usr

2017-02-22 Thread Amarnath Valluri
When the usrmerge DISTRO_FEATURE is selected disable the split-usr support and modify rootprefix to be exec_prefix, rather than base_prefix. Signed-off-by: Amarnath Valluri --- meta/recipes-core/systemd/systemd_232.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH v2 08/25] sed: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Few of the perl scripts referring '#!/bin/sed' inside the script. But when 'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy build dependency add '/bin/sed' to it's providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/sed/sed_4.2.2.bb | 1 + 1 file

[OE-core] [PATCH v2 13/25] systemd: Do not add libnss_* to systemd package

2017-02-22 Thread Amarnath Valluri
libnss_* files should be part of corresponding sub-packages, the split happens by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files endup in systemd package when ${libdir} == ${base_libdir}. Signed-off-by: Amarnath Valluri --- meta/recipes-core/systemd/systemd_232.bb |

[OE-core] [PATCH v2 14/25] util-linux: Make sure '${base_bindir}/reset' is part of util-linux-reset package.

2017-02-22 Thread Amarnath Valluri
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME == TARGET, This is true(${base_bindir} == ${bindir}) when 'usrmerge' distro feature is enabled. Hence, suffix with * to properly package the renamed binary. Signed-off-by: Amarnath Valluri util-linux --- meta/recipes-cor

[OE-core] [PATCH v2 10/25] glibc: Ensure ldconfig is packaged into glibc

2017-02-22 Thread Amarnath Valluri
From: Jussi Kukkonen If "usrmerge" feature is used, /usr/sbin/ldconfig gets packaged into glibc-utils instead of glibc: Switch PACKAGES order to prevent this. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH v2 07/25] busybox: changes to support merged /usr

2017-02-22 Thread Amarnath Valluri
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege' feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build dependency add '/bin/sh' to it's providers list. Signed-off-by: Amarnath Valluri --- meta/recipes-core/busybox/busybox.inc | 2 ++ 1 file chang

[OE-core] [PATCH v2 11/25] util-linux: Fix packaging with "usrmerge"

2017-02-22 Thread Amarnath Valluri
From: Jussi Kukkonen Make sure fsck.cramfs is packaged before fsck so the latter does not steal the fsck.cramfs binary when building with usrmerge DISTRO_FEATURE. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/util-linux/util-linux.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[OE-core] [PATCH v2 09/25] musl: Fix issues in relative symlink creation

2017-02-22 Thread Amarnath Valluri
Make use of lnr/ln -r while creating relative symlinks than guessing the relalive path. Signed-off-by: Amarnath Valluri --- ...dynamic-linker-a-relative-symlink-to-libc.patch | 62 ++ meta/recipes-core/musl/musl_git.bb | 2 +- 2 files changed, 53 insertions(+

[OE-core] [PATCH v2 15/25] util-linux, shadow: Make 'nologin' alternative command

2017-02-22 Thread Amarnath Valluri
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir} and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative system to resolve the conflict. Signed-off-by: Amarnath Va

[OE-core] [PATCH v2 12/25] attr/acl: Do not create broken static library link when not needed

2017-02-22 Thread Amarnath Valluri
Stop creating the static library archieve(liba(ttr|cl).a) when --disable-static configure option used. Signed-off-by: Amarnath Valluri --- meta/recipes-support/attr/ea-acl.inc | 2 + ...gure-option-to-enable-disable-static-libr.patch | 70 ++ 2 files changed, 7

[OE-core] [PATCH v2 22/25] lsb: Make use of appropriate bitbake variables.

2017-02-22 Thread Amarnath Valluri
Using of bitbake environment variables in-place of hardcoded strings makes this recipe portable to all environments. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/lsb/lsb_4.1.bb | 40 +--- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a

[OE-core] [PATCH v2 17/25] kernel: use ${nonarch_base_libdir} for kernel modules installation.

2017-02-22 Thread Amarnath Valluri
Replace hardcoded '/lib' in kernel modules installation path with ${nonarch_base_libdir}, which is meant exactly for this. Signed-off-by: Amarnath Valluri --- meta/classes/kernel-module-split.bbclass | 2 +- meta/classes/kernel.bbclass | 14 +++--- meta/classes/module.bbcla

[OE-core] [PATCH v2 23/25] lttng-modules: Replace '/lib' with ${nonarch_base_libdir}

2017-02-22 Thread Amarnath Valluri
Do not assume '/lib' for kernel modules location, instead use ${nonarch_base_libdir}. Because when 'usrmerge' distro feature is enabled, kernel modules are not located in /lib/modules, instead /usr/lib/modules. Signed-off-by: Amarnath Valluri --- meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb

[OE-core] [PATCH v2 16/25] libarchive: Backport upstream fixes.

2017-02-22 Thread Amarnath Valluri
These set of patches backported from upstream, which fixes the issues in extracting hardlinks over softlinks while etracting packages by opkg. Signed-off-by: Amarnath Valluri --- ...te_disk_posix.c-make-_fsobj-functions-mor.patch | 245 + ...02-Fix-extracting-hardlinks-over-s

[OE-core] [PATCH v2 21/25] net-tools: Place package content as per bitbake environment.

2017-02-22 Thread Amarnath Valluri
net-tools Makefile was hardcoded sbin, bin installation paths to /bin and /sbin respectively. This change moves the installed files to appropriate location as per configured bitbake environment. This might be solved much better way by patching Makefile, but that causing build issues, as net-tools

[OE-core] [PATCH v2 20/25] mktemp: Move installed files only when needed

2017-02-22 Thread Amarnath Valluri
Move binary(ies) only when ${base_bindir} != ${bindir}. When usrmerge distro feature is enabled they both might point to same location. Signed-off-by: Amarnath Valluri --- meta/recipes-extended/mktemp/mktemp_1.7.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH v2 25/25] insane.bbclass: Add package QA check for merged /usr.

2017-02-22 Thread Amarnath Valluri
This check makes sure that, when usrmerge distro feature enabled, no package installs files to root (/bin, /sbin, /lib, /lib64) folders. Signed-off-by: Amarnath Valluri --- meta/classes/insane.bbclass | 16 1 file changed, 16 insertions(+) diff --git a/meta/classes/insane.bbcla

[OE-core] [PATCH v2 24/25] image: create symlinks needed for merged /usr

2017-02-22 Thread Amarnath Valluri
Prepare the symlinks required for merged /usr at the time of rootfs creation. The links created in rootfs are: /bin --> /usr/sbin /sbin --> /usr/sbin /lib --> /usr/lib /lib64 --> /usr/lib64 We cannot make these symlinks as part of 'base-files' or some other package. Because at rootfs creation, in

[OE-core] [PATCH v2 18/25] firmware: use ${nonarch_base_libdir} for firmware installation.

2017-02-22 Thread Amarnath Valluri
Replace hardcoded '/lib' in kernel firmware installation path with ${nonarch_base_libdir}. Signed-off-by: Amarnath Valluri --- .../linux-firmware/linux-firmware_git.bb | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/meta/recipes-kernel/linux

[OE-core] [PATCH v2 19/25] mdadm: Avoid using hardocded udev, sbin paths

2017-02-22 Thread Amarnath Valluri
Use appropriate bitbake variables inplace of below hardcoded locations: /sbin -> ${base_sbindir} /lib/udev -> ${nonarch_base_libdir}/udev Signed-off-by: Amarnath Valluri --- meta/recipes-extended/mdadm/mdadm_4.0.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/met

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

2017-02-22 Thread Burton, Ross
On 22 February 2017 at 07:34, wrote: > Let RPROVIDES include identical packages as listed in PROVIDES of > python-2.7-manifest.inc, to satisfy the native runtime requirement > on python-native. > How about changing the script so that the generated manifest also contains the RPROVIDES? Ross --

Re: [OE-core] Task sequence question

2017-02-22 Thread Burton, Ross
On 21 February 2017 at 23:20, Andreas Müller wrote: > after some fixing in meta-oe it seems I am able to build some > xfce-image again. Watching the tasks go by I noticed that do_rootfs is > running already while many recipes still do their do_package_qa. This > looks a bit odd to me. Not that I

[OE-core] [PATCH V5 1/1] ltp: upgrade to 20170116

2017-02-22 Thread Dengke Du
1. Upgrade ltp from 20160126 to 20170116. 2. Delete some patches because these have been integrated in upstream. 0001-ltp-Don-t-link-against-libfl.patch 0006-sendfile-Use-off64_t-instead-of-__off64_t.patch 0007-replace-SIGCLD-with-SIGCHLD.patch 0009-Guard-error.h-w

[OE-core] [PATCH V5 0/1] ltp: upgrade to 20170116

2017-02-22 Thread Dengke Du
Changed in V5: Fix build errors when distro is poky-lsb Changed in V4: Rebase on the latest oe-core master branch Changed in V3: Add the runtime depends packages: "unzip gzip cpio cronie logrotate which at" according to Yi zhao's suggestion. Changed in V2:

Re: [OE-core] Task sequence question

2017-02-22 Thread Andreas Müller
On Wed, Feb 22, 2017 at 11:01 AM, Burton, Ross wrote: > > On 21 February 2017 at 23:20, Andreas Müller > wrote: >> >> after some fixing in meta-oe it seems I am able to build some >> xfce-image again. Watching the tasks go by I noticed that do_rootfs is >> running already while many recipes still

[OE-core] [PATCH] bitbake.conf: fix ineffective include conf/target/${TARGET_SYS}.conf

2017-02-22 Thread Andre McCurdy
TARGET_SYS is defined in terms of TARGET_ARCH, so it's not valid until after TUNE_ARCH has been set by the machine config. The original order of includes resulted in an attempt to include non-existent files such as: conf/target/INVALID-oe-linux.conf Signed-off-by: Andre McCurdy --- meta/conf/

[OE-core] [PATCH] image_types_wic: fix expansion error

2017-02-22 Thread Ed Bartosh
Variable WKS_SEARCH_PATH was not fully expanded when used directly in this expression: WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}" This caused expansion error: bb.data_smart.ExpansionError: Failure expanding variable WKS_FULL_PATH, which triggered

Re: [OE-core] [PATCH] image_types_wic: fix expansion error

2017-02-22 Thread Martin Jansa
On Wed, Feb 22, 2017 at 01:12:29PM +0200, Ed Bartosh wrote: > Variable WKS_SEARCH_PATH was not fully expanded when used directly > in this expression: > WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), > '${WKS_SEARCH_PATH}') or ''}" > This caused expansion error: bb.data_smart.Expansion

Re: [OE-core] [PATCH] image_types_wic: fix expansion error

2017-02-22 Thread Burton, Ross
On 22 February 2017 at 11:12, Ed Bartosh wrote: > -WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), > '${WKS_SEARCH_PATH}') or ''}" > +WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), > d.getVar('WKS_SEARCH_PATH')) or ''}" > I think it would be safer to always use getVar instead of u

[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 0/6] Version upgrades

2017-02-22 Thread Jussi Kukkonen
A bunch of minor version upgrades. The one that might need a closer look is gdk-pixbuf: There's now yet another tool that's required at build time and the build system is broken for the cross-compile case. Please drop the earlier gdk-pixbuf (2.36.4) upgrade. Cheers, Jussi The following change

[OE-core] [PATCH 1/6] glib-2.0: Upgrade 2.50.2 -> 2.50.3

2017-02-22 Thread Jussi Kukkonen
Tiny bug fix release. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/glib-2.0/{glib-2.0_2.50.2.bb => glib-2.0_2.50.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/glib-2.0/{glib-2.0_2.50.2.bb => glib-2.0_2.50.3.bb} (86%) diff --git a/meta/recipes-

[OE-core] [PATCH 4/6] libdrm: Upgrade 2.4.74 -> 2.4.75

2017-02-22 Thread Jussi Kukkonen
* Remove udev from depends (it's not actually used). * Rebase a patch Signed-off-by: Jussi Kukkonen --- .../recipes-graphics/drm/libdrm/installtests.patch | 28 +++--- .../drm/{libdrm_2.4.74.bb => libdrm_2.4.75.bb} | 6 ++--- 2 files changed, 22 insertions(+), 12 deletions(-

[OE-core] [PATCH 2/6] gtk+3: Upgrade 3.22.7 -> 3.22.8

2017-02-22 Thread Jussi Kukkonen
Bug fix release. Signed-off-by: Jussi Kukkonen --- meta/recipes-gnome/gtk+/{gtk+3_3.22.7.bb => gtk+3_3.22.8.bb} | 4 ++-- ...tk-icon-utils-native_3.22.7.bb => gtk-icon-utils-native_3.22.8.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-gnome/gtk+/{gtk

[OE-core] [PATCH 3/6] libgudev: Upgrade 230 -> 231

2017-02-22 Thread Jussi Kukkonen
Very small bug fix release. Use --disable-umockdev: Testing is great but a single regression test isn't really worth a new build dependency (that isn't in oe-core yet). Signed-off-by: Jussi Kukkonen --- meta/recipes-gnome/libgudev/{libgudev_230.bb => libgudev_231.bb} | 6 -- 1 file changed,

[OE-core] [PATCH 6/6] gdk-pixbuf: Upgrade 2.36.1 -> 2.36.5

2017-02-22 Thread Jussi Kukkonen
Mostly bug fix releases. Generating the thumbnailer metadata now requires running yet another tool at build time. This is broken for cross-compiling, add a work-around. Add gdk-pixbuf-native to DEPENDS to make the above workaround possible: We already build gdk-pixbuf-native anyway so this is not

[OE-core] [PATCH 5/6] menu-cache: Upgrade 1.0.1 -> 1.0.2

2017-02-22 Thread Jussi Kukkonen
Small bug fix release. Signed-off-by: Jussi Kukkonen --- .../menu-cache/{menu-cache_1.0.1.bb => menu-cache_1.0.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/menu-cache/{menu-cache_1.0.1.bb => menu-cache_1.0.2.bb} (79%) diff --git a/meta

[OE-core] State of bitbake world, Failed tasks 2017-02-22

2017-02-22 Thread Martin Jansa
Big thanks to Andreas who sent most of the fixes! I've dropped only the last unblacklist for mpd which is still failing, will try it now with unblacklist, but without the version upgrade. == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks

[OE-core] [PATCH] initscripts/sysfs.sh: mount configfs if present

2017-02-22 Thread Mike Looijmans
configfs is another kernel virtual file system that should be mounted if configured, so if it's configured into the kernel, mount it. It is used to configure e.g. USB gadget mode and devicetree overlays. Signed-off-by: Mike Looijmans --- meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4

[OE-core] [PATCH v2] image_types_wic: fix expansion error

2017-02-22 Thread Ed Bartosh
Variable WKS_SEARCH_PATH was not fully expanded when used directly in this expression: WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}" This caused expansion error: bb.data_smart.ExpansionError: Failure expanding variable WKS_FULL_PATH, which triggered

Re: [OE-core] [PATCH] pulseaudio: 9.0 -> 10.0

2017-02-22 Thread Burton, Ross
On 3 February 2017 at 07:06, Tanu Kaskinen wrote: > Relase notes: > https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/ > I'm seeing a new warning now: WARNING: pulseaudio-10.0-r0 do_package_qa: QA Issue: ELF binary '/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/pulseaudio/

[OE-core] [PATCH 00/24] Recipe updates and version check fixes

2017-02-22 Thread Alexander Kanavin
I've skipped openssl 1.1 update (https://bugzilla.yoctoproject.org/show_bug.cgi?id=11091) and gperf 3.1 update (incompatible with latest libcap 2.25). The following changes since commit f04f4981c1309f07b569dc953f9b2f25695eb58f: wget.py: match .lz tarballs as well when determining latest versio

[OE-core] [PATCH 03/24] kconfig-frontends: fetch source from git

2017-02-22 Thread Alexander Kanavin
This is where development happens; tarballs are no longer produced. Signed-off-by: Alexander Kanavin --- .../kconfig-frontends/kconfig-frontends_3.12.0.0.bb | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-

[OE-core] [PATCH 01/24] ruby: fix upstream version check

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/ruby/ruby.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index f38ebb0a151..e24ae24187d 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipe

[OE-core] [PATCH 04/24] sysprof: inherit upstream-version-is-even

2017-02-22 Thread Alexander Kanavin
It is a gnome project, and so is subject to same versioning convention. Signed-off-by: Alexander Kanavin --- meta/recipes-kernel/sysprof/sysprof_3.22.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/sysprof/sysprof_3.22.3.bb b/meta/recipes-kernel/sysp

[OE-core] [PATCH 02/24] zlib: fix upstream version check

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/zlib/zlib_1.2.8.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/zlib/zlib_1.2.8.bb b/meta/recipes-core/zlib/zlib_1.2.8.bb index 913c7033d44..06d1d21d516 100644 --- a/meta/recipes-core/zlib/zlib_1.2.8.bb +++ b/meta/re

[OE-core] [PATCH 05/24] libepoxy: fix upstream version check

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libepoxy/libepoxy_1.4.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.4.0.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.4.0.bb index 4d52f126ffa..199e7dc556b 100644 --- a/meta/recipes-g

[OE-core] [PATCH 06/24] libva: fix upstream version check

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libva/libva_1.7.3.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/libva/libva_1.7.3.bb b/meta/recipes-graphics/libva/libva_1.7.3.bb index a7b4b90a062..982b48ce943 100644 --- a/meta/recipes-graphics/libva/libv

[OE-core] [PATCH 10/24] btrfs-tools: update to 4.9.1

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../btrfs-tools/{btrfs-tools_4.8.5.bb => btrfs-tools_4.9.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.8.5.bb => btrfs-tools_4.9.1.bb} (95%) diff --git a/meta/recipes-devtools/bt

[OE-core] [PATCH 09/24] boost: update to 1.63.0

2017-02-22 Thread Alexander Kanavin
Drop backported 0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch Rebase consider-hardfp.patch to 0001-When-using-soft-float-on-ARM-we-should-not-expect-th.patch Signed-off-by: Alexander Kanavin --- ...bjam-native_1.62.0.bb => bjam-native_1.63.0.bb} | 0 .../boost/{boost-1.62.0.

[OE-core] [PATCH 07/24] babeltrace: update to 1.5.2

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../recipes-kernel/lttng/{babeltrace_1.5.1.bb => babeltrace_1.5.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/lttng/{babeltrace_1.5.1.bb => babeltrace_1.5.2.bb} (82%) diff --git a/meta/recipes-kernel/lttng/babelt

[OE-core] [PATCH 11/24] cmake: update to 3.7.2

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../cmake/{cmake-native_3.7.1.bb => cmake-native_3.7.2.bb}| 0 meta/recipes-devtools/cmake/cmake.inc | 4 ++-- meta/recipes-devtools/cmake/{cmake_3.7.1.bb => cmake_3.7.2.bb}| 0 3 files changed, 2 insertions(

[OE-core] [PATCH 08/24] bash-completion: update to 2.5

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{bash-completion_2.4.bb => bash-completion_2.5.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/bash-completion/{bash-completion_2.4.bb => bash-completion_2.5.bb} (88%) diff --git a/meta/recipes-su

[OE-core] [PATCH 12/24] lzip: add a recipe from meta-oe

2017-02-22 Thread Alexander Kanavin
ed tarballs are now available only in .lz format, which saves them an amazing 30 kilobytes over gz. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/lzip/lzip_1.18.bb | 41 + 1 file changed, 41 insertions(+) create mode 100644 meta/recipes-extended/lzip

[OE-core] [PATCH 14/24] webkitgtk: update to 2.14.5

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-sato/webkit/{webkitgtk_2.14.2.bb => webkitgtk_2.14.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-sato/webkit/{webkitgtk_2.14.2.bb => webkitgtk_2.14.5.bb} (97%) diff --git a/meta/recipes-sato/webkit/webkitgt

[OE-core] [PATCH 13/24] ed: update to 1.14.1

2017-02-22 Thread Alexander Kanavin
Revert to the upstream server, now that we can handle .lz files. License checksum changes are due to copyright years. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/ed/{ed_1.9.bb => ed_1.14.1.bb} | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) rename meta/recipes-

[OE-core] [PATCH 17/24] gnutls: update to 3.5.9

2017-02-22 Thread Alexander Kanavin
Drop 0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch, it's merged upstream. Rebase 0001-configure.ac-fix-sed-command.patch. Signed-off-by: Alexander Kanavin --- ...cli-args.h-to-cli-args.stamp-Makefile-tar.patch | 27 -- .../gnutls/0001-configure.ac-fix-sed-c

[OE-core] [PATCH 18/24] iso-codes: update to 3.74

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../iso-codes/{iso-codes_3.72.bb => iso-codes_3.74.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/iso-codes/{iso-codes_3.72.bb => iso-codes_3.74.bb} (76%) diff --git a/meta/recipes-support/iso-codes/

[OE-core] [PATCH 16/24] ffmpeg: update to 3.2.4

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-multimedia/ffmpeg/{ffmpeg_3.2.2.bb => ffmpeg_3.2.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.2.2.bb => ffmpeg_3.2.4.bb} (97%) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg

[OE-core] [PATCH 22/24] libwebp: update to 0.6.0

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-multimedia/webp/{libwebp_0.5.1.bb => libwebp_0.6.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/webp/{libwebp_0.5.1.bb => libwebp_0.6.0.bb} (93%) diff --git a/meta/recipes-multimedia/webp/libwebp_

[OE-core] [PATCH 15/24] epiphany: update to 3.22.6

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../recipes-gnome/epiphany/{epiphany_3.22.3.bb => epiphany_3.22.6.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/epiphany/{epiphany_3.22.3.bb => epiphany_3.22.6.bb} (83%) diff --git a/meta/recipes-gnome/epiphany/epip

[OE-core] [PATCH 19/24] kbd: update to 2.0.4

2017-02-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/kbd/{kbd_2.0.3.bb => kbd_2.0.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/kbd/{kbd_2.0.3.bb => kbd_2.0.4.bb} (92%) diff --git a/meta/recipes-core/kbd/kbd_2.0.3.bb b/meta/recipes-core/kbd/kbd_2.0.

[OE-core] [PATCH 24/24] systemtap: update to 3.1

2017-02-22 Thread Alexander Kanavin
Removed patches are in upstream. Rebase monitor-option.patch and no-msgfmt-check.patch Add support for python 3 probes (this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch) Add perl to RDEPENDS to fix a QA warning about one of the installed files. Signed-off-by:

[OE-core] [PATCH 23/24] nss: update to 3.28.1

2017-02-22 Thread Alexander Kanavin
Rebase nss-fix-support-cross-compiling.patch Signed-off-by: Alexander Kanavin --- ... => 0001-nss-fix-support-cross-compiling.patch} | 51 ++ .../nss/{nss_3.27.1.bb => nss_3.28.1.bb} | 8 ++-- 2 files changed, 18 insertions(+), 41 deletions(-) rename meta/recipes-

[OE-core] [PATCH 21/24] libnl: update to 3.2.29

2017-02-22 Thread Alexander Kanavin
Dropped patches are all backports. Signed-off-by: Alexander Kanavin --- ...01-lib-add-utility-function-nl_strerror_l.patch | 146 ...to-using-strerror_l-instead-of-strerror_r.patch | 403 - ...to-using-strerror_l-instead-of-strerror_r.patch | 82 - .../libnl/{li

[OE-core] [PATCH] license.bbclass: run chown only under pseudo

2017-02-22 Thread Markus Lehtonen
The copy_license_files() function in license.bbclass is called in two different contexts. First, it is run as part of the do_populate_lic task. In addition, it is called from do_package task when LICENSE_CREATE_PACKAGE is enabled. The function has code that changes the owner of license files to roo

  1   2   >