[OE-core] State of bitbake world, Failed tasks 2017-06-08

2017-06-12 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!|Signatures !!colspan='14'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64

[OE-core] [PATCH] rpm: add explicit dependency on bzip2-replacement-native for native builds

2017-06-12 Thread liu . ming50
From: Ming Liu This fixes a following error: | recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \ | libbz2.so.1: cannot open shared object file: No such file or directory Signed-off-by: Ming Liu --- meta/recipes-devtools/rpm/rpm_git.bb | 4 ++-- 1 file change

[OE-core] [PATCH v2] buildhistory: force writing SRCREV values

2017-06-12 Thread Ed Bartosh
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not to be written/updated in the build history. This happens more often if SRCREV is set to ${AUTOREV} Explicitly writing SRCREVs when recipe history is being written should fix this. [YOCTO #10948] Signed-off-by: Ed Bartosh --- meta/class

Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy

2017-06-12 Thread Richard Purdie
On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > Support for "-j N" does not seem like a generic distutils thing > but numpy supports it. > > This improves compile time by 2 minutes (real time). Sorry: https://autobuilder.yocto.io/builders/nightly-musl/builds/298/steps/BuildImages/logs

[OE-core] [PATCH] native/nativesdk: Ensure DISTRO_FEATURES is determistic

2017-06-12 Thread Richard Purdie
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES could be set to random ordering. We've been lucky so far this tended not to cause issues but some queued changes highedlighted this. Thrown in a sorted() so the order is deterministic and we get consistent hash checksums

Re: [OE-core] [PATCH v3] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
Of course openssl would be shipping pre-compiled binaries... :/ On 10 June 2017 at 05:41, Changhyeok Bae wrote: > -LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=057d9218c6180e1d9ee407572b2dd225" > Still not explaining why thi

Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy

2017-06-12 Thread Jussi Kukkonen
On 12 June 2017 at 13:06, Richard Purdie wrote: > On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > > Support for "-j N" does not seem like a generic distutils thing > > but numpy supports it. > > > > This improves compile time by 2 minutes (real time). > > Sorry: > > https://autobuilder

[OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
1. Dropped obsolete patches, because the new version contains them: - fix-cipher-des-ede3-cfb1.patch - openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch 2. LICENSE checksum change due to copyright years and wording tweak. 3. Test binaries (x86-64) are included in source code. So

Re: [OE-core] [PATCH v3] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
Add LICENSE explanation. Thanks Changhyeok 2017-06-12 20:00 GMT+09:00 Burton, Ross : > Of course openssl would be shipping pre-compiled binaries... :/ > > On 10 June 2017 at 05:41, Changhyeok Bae wrote: > >> -LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6" >> +LIC_FILE

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
On 12 June 2017 at 12:11, Changhyeok Bae wrote: > +do_install_ptest() { > +# exclude binary files or the package won't install > +for d in ssltest_old v3ext x509aux; do > +rm -rf ${D}${libdir}/${PN}/ptest/test/$d > +done > +} > I think you meant do_install_ptest_append here?

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
I think that do_install_ptest is fine. Why would you think that? Thanks Changhyeok 2017-06-12 20:51 GMT+09:00 Burton, Ross : > > On 12 June 2017 at 12:11, Changhyeok Bae wrote: > >> +do_install_ptest() { >> +# exclude binary files or the package won't install >> +for d in ssltest_old v3

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
On 12 June 2017 at 13:02, Changhyeok Bae wrote: > I think that do_install_ptest is fine. Why would you think that? > packages/corei7-64-poky-linux/openssl/openssl-ptest: * PKGSIZE changed from 6192634 to 26 (-99%) * FILELIST: removed "/usr/lib/openssl/ptest/test/dtlstest.c /usr/lib/openssl/p

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
Ok. Thanks for your comments. I'll add it soon Thanks Changhyeok 2017-06-12 21:03 GMT+09:00 Burton, Ross : > > On 12 June 2017 at 13:02, Changhyeok Bae wrote: > >> I think that do_install_ptest is fine. Why would you think that? >> > > packages/corei7-64-poky-linux/openssl/openssl-ptest: > *

Re: [OE-core] [PATCH v7] openssh: Atomically generate host keys

2017-06-12 Thread Joshua Watt
On Tue, 2017-06-06 at 22:30 -0500, Joshua Watt wrote: > On Wed, May 31, 2017 at 10:05 PM, Joshua Watt > wrote: > > Generating the host keys atomically prevents power interruptions > > during > > the first boot from leaving the key files incomplete, which often > > prevents users from being able to

Re: [OE-core] [PATCH v7] openssh: Atomically generate host keys

2017-06-12 Thread Joshua Watt
On Tue, 2017-06-06 at 22:30 -0500, Joshua Watt wrote: > On Wed, May 31, 2017 at 10:05 PM, Joshua Watt > wrote: > > Generating the host keys atomically prevents power interruptions > > during > > the first boot from leaving the key files incomplete, which often > > prevents users from being able to

[OE-core] [PATCH v5] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
1. Dropped obsolete patches, because the new version contains them: - fix-cipher-des-ede3-cfb1.patch - openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch 2. LICENSE checksum change due to copyright years and wording tweak. 3. Test binaries (x86-64) are included in source code. So

Re: [OE-core] [PATCH v2 1/3] export: new plugin to export the devtool workspace

2017-06-12 Thread Paul Eggleton
Hi Leo, This looks OK. However I just noticed - the output tarfile isn't compressed. Can we enable gzip compression? In practice that means mode should be 'w:gz' when writing out and also .tar.gz instead of .tar extension. A couple of minor message notes below as well. On Friday, 2 June 2017

Re: [OE-core] [PATCH v2 3/3] import: new plugin to import the devtool workspace

2017-06-12 Thread Paul Eggleton
Hi Leo, A few comments below. On Friday, 2 June 2017 7:13:01 PM CEST leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Takes a tar archive created by 'devtool export' and export it (untar) to > workspace. By default, the whole tar archive is imported, thus there

[OE-core] [PATCH 0/2] Add GCC 7.1 recipes

2017-06-12 Thread Khem Raj
Make gcc7 as default compiler The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6: package.bbclass: Restore functionality to detect RPM dependencies (2017-06-12 15:24:21 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-cont

[OE-core] [PATCH 2/2] gcc_7.1.bb: disable thumb on armv5t

2017-06-12 Thread Khem Raj
It results in same link errors like armv4t Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc_7.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc_7.1.bb b/meta/recipes-devtools/gcc/gcc_7.1.bb index 2c618dfb93..ab208e7026 100644 --- a

[OE-core] Yocto Project Status WW24’17

2017-06-12 Thread Jolley, Stephen K
Current Dev Position: Preparing for YP 2.4 M1 Next Deadline: YP 2.4 M1 Cut off is June 12, 2017 SWAT team rotation: Todor -> Alejandro on June 9, 2017. SWAT team rotation: Alejandro -> Jussi on June 16, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updat

[OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Alexander Kanavin
This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. Signed-off-by: Alexander Kanavin --- ...y-package-building-into-a-separate-functi.patch | 84 + ...-binary-package-creation-via

[OE-core] [PATCH 0/7] Misc recipe fixes and updates

2017-06-12 Thread Khem Raj
* Upgrade binutils to latest on 2.28 release * Add fixes to recipe to compile with upcoming glibc 2.26 release * Prepare recipes to let gcc pass -pie flags itself when configured The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6: package.bbclass: Restore functionality

[OE-core] [PATCH 2/7] binutils-2.28: Update to latest on release branch

2017-06-12 Thread Khem Raj
Drop patches to ChangeLog, they are in patch header anyway Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.28.inc | 2 +- .../binutils/binutils/CVE-2017-6965.patch| 15 --- .../binutils/binutils/CVE-2017-6966.patch| 20 --

[OE-core] [PATCH 1/7] mpg123: Upgrade to 1.25.0

2017-06-12 Thread Khem Raj
No need to skip textrel QA for x86 as it has been fixed in 1.25.0 Signed-off-by: Khem Raj --- .../mpg123/{mpg123_1.24.0.bb => mpg123_1.25.0.bb} | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) rename meta/recipes-multimedia/mpg123/{mpg123_1.24.0.bb => mpg123_1.25.0.

[OE-core] [PATCH 4/7] libnsl2: Include stdint.h

2017-06-12 Thread Khem Raj
uintptr_t is defined in stdint.h Signed-off-by: Khem Raj --- ...Include-stdint.h-for-uintptr_t-definition.patch | 27 ++ meta/recipes-extended/libnsl/libnsl2_git.bb| 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-extended/libnsl/libnsl2/0001

[OE-core] [PATCH 3/7] ltp: Include stdint.h for uintptr_t

2017-06-12 Thread Khem Raj
Fixes build with musl and upcoming glibc Signed-off-by: Khem Raj --- .../ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch | 34 ++ meta/recipes-extended/ltp/ltp_20170516.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-extended/ltp/ltp/000

[OE-core] [PATCH 5/7] valgrind: Fix ptest build with musl

2017-06-12 Thread Khem Raj
musl unearthed a problem when building out of tree, config.h was being used from $(srcdir) instead of generated config.h in $(builddir) this assumed functions e.g. mallinfo() and more which are not in musl as a result tests broke. Also add fixes to build remaining tests when building on musl pass

[OE-core] [PATCH 6/7] kexec-tools: Pass -no-pie to linker

2017-06-12 Thread Khem Raj
- This matches the linker flags to compiler flags in purgatory - Compile arm64 without PIC Signed-off-by: Khem Raj --- .../kexec-tools/0001-Disable-PIE-during-link.patch | 31 ++ .../kexec/kexec-tools/0001-arm64-Disable-PIC.patch | 31 ++ meta/recipes-kern

[OE-core] [PATCH 7/7] ovmf: Update to latest

2017-06-12 Thread Khem Raj
Fix build with gcc7 clang can not compile it therefore mark it gcc only recipe Signed-off-by: Khem Raj --- ...g-UefiHiiLib-Fix-incorrect-comparison-exp.patch | 45 -- .../ovmf/ovmf/0001-ia32-Dont-use-pie.patch | 37 ++ ...makefile-adjust-to-build-in-u

[OE-core] ✗ patchtest: failure for rpm: run binary package generation via thread pools

2017-06-12 Thread Patchwork
== Series Details == Series: rpm: run binary package generation via thread pools Revision: 1 URL : https://patchwork.openembedded.org/series/7196/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have b

[OE-core] ✗ patchtest: failure for Add GCC 7.1 recipes

2017-06-12 Thread Patchwork
== Series Details == Series: Add GCC 7.1 recipes Revision: 1 URL : https://patchwork.openembedded.org/series/7195/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed ser

[OE-core] ✗ patchtest: failure for Misc recipe fixes and updates

2017-06-12 Thread Patchwork
== Series Details == Series: Misc recipe fixes and updates Revision: 1 URL : https://patchwork.openembedded.org/series/7197/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the pr

Re: [OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Alexander Kanavin
On 06/12/2017 05:58 PM, Alexander Kanavin wrote: This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. The changes in this version of the patch: - fixed (hopefully) the segfaults seen

[OE-core] [PATCH 1/2] systemd: enable resolved and networkd

2017-06-12 Thread Maxin B. John
Enable systemd-resolved and systemd-networkd by default. Make it co-exist with connman and Fix associated problems in read-only rootfs. Fixes [YOCTO #11331] Signed-off-by: Maxin B. John --- meta/recipes-core/systemd/systemd_232.bb | 13 ++--- 1 file changed, 10 insertions(+), 3 deletio

[OE-core] [PATCH 0/2] [RFC] fix systemd-resolved and connman boot in read only rootfs

2017-06-12 Thread Maxin B. John
1. Enable systemd-resolved and systemd-networkd by default 2. Fix systemd-resolved in read only rootfs 3. Fix connman for read-only rootfs 4. Resolve the conflict with systemd-resolved and connman Maxin B. John (2): systemd: enable resolved and networkd connman: correct the systemd boot in rea

[OE-core] [PATCH 2/2] connman: correct the systemd boot in read only rootfs

2017-06-12 Thread Maxin B. John
connman fails to start in systemd based read-only images while creating links: Jun 08 12:53:56 qemux86-64 systemd[1]: Starting Create Volatile Files and Directories... Jun 08 12:53:56 qemux86-64 systemd-tmpfiles[366]: [[0;1;31msymlink(/var/run/connman/resolv.conf, /etc/resolv.conf) failed: Read-on

Re: [OE-core] [PATCH v2 3/3] import: new plugin to import the devtool workspace

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 16:19 +0200, Paul Eggleton wrote: > Hi Leo, > > A few comments below. > Thanks Paul. Too late to provided a v3 before M1, so I will work on the changes during M2. Leo > > On Friday, 2 June 2017 7:13:01 PM CEST > leonardo.sandoval.gonza...@linux.intel.com wrote: > > From

Re: [OE-core] [PATCH v2 0/2] Yocto Compatible 2.0 support code

2017-06-12 Thread Denys Dmytriyenko
On Mon, Jun 12, 2017 at 08:22:45AM +0200, Patrick Ohly wrote: > On Sun, 2017-06-11 at 14:47 -0400, Denys Dmytriyenko wrote: > > On Fri, Jun 09, 2017 at 03:04:02PM +0200, Patrick Ohly wrote: > > > As discussed in the "[Openembedded-architecture] Yocto Compatible 2.0 > > > + signature changes" mail t

Re: [OE-core] ✗ patchtest: failure for Add GCC 7.1 recipes

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 15:01 +, Patchwork wrote: > == Series Details == > > Series: Add GCC 7.1 recipes > Revision: 1 > URL : https://patchwork.openembedded.org/series/7195/ > State : failure > > == Summary == > > > Thank you for submitting this patch series to OpenEmbedded Core. This is >

Re: [OE-core] [PATCH][pyro] mkelfimage: Fix broken patch when building native

2017-06-12 Thread Wold, Saul
Armin, This should be a 2.3.1 candidate, it's now merged in master Sau! On Mon, 2017-06-05 at 15:47 -0700, Saul Wold wrote: > A change occured about a year ago that broke the native build, fix > that patch > > [YOCTO #11590] > > Signed-off-by: Saul Wold > --- >  .../mkelfimage/mkelfimage/fix

Re: [OE-core] [PATCH] util-linux: upgrade to 2.30

2017-06-12 Thread Denys Dmytriyenko
Ping. Any comments, issues? On Fri, Jun 09, 2017 at 03:13:41PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Drop uuid-test-error-api.patch as it's been fixed upstream differently: > https://github.com/karelzak/util-linux/commit/b770b487004778f4425639c7ed1bb6ca22d157bf > > Sign

[OE-core] [PATCH v2] uboot-config: check UBOOT_CONFIG variable, not flags, for error conditions

2017-06-12 Thread Denys Dmytriyenko
From: Denys Dmytriyenko Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe, distro or local config, such as an override or even switch back to UBOOT_MACHINE. Unfortunately, there's no easy way to override or unset flags, so using them as an error condition is rather h

[OE-core] [PATCH] linux-firmware: don't package check_whence.py

2017-06-12 Thread Ross Burton
There's no need for this script on the target, and now that rpmdeps is fixed the QA code wants a dependency on Python in the firmware package, which clearly isn't appropriate. Signed-off-by: Ross Burton --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 1 file changed, 4 inse

Re: [OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 17:58 +0300, Alexander Kanavin wrote: > This greatly reduces build times when there is a large amount of small > rpm packages to produce. The patches are rather invasive, > and so will be submitted upstream. > What is the buildstat value (those from /proc/[PID]) you think th

Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Denys Dmytriyenko
This now breaks parsing my distro config on these lines: ENABLE_SYSVINIT ?= "0" DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", " systemd", d)}" Here's the log: ERROR: Unable to parse /OE/arago-master/sources/bitbake/lib/bb/data_smart.py Traceback (most recent call la

Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Patrick Ohly
On Mon, 2017-06-12 at 15:46 -0400, Denys Dmytriyenko wrote: > This now breaks parsing my distro config on these lines: > > ENABLE_SYSVINIT ?= "0" > DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", " > systemd", d)}" > > > Here's the log: > > ERROR: Unable to parse /OE/

[OE-core] [PATCH 2/2] oeqa/core/loader: Use full and small module name on filtering

2017-06-12 Thread Aníbal Limón
The small module name was added to support run a whole suite that has more that 3 levels in the test case name, but this broke the behaviour for use a full test case name. [YOCTO #11632] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/loader.py | 28 +++- 1 file chang

[OE-core] [PATCH 1/2] oeqa/core/runner: Don't log details twice if test fails

2017-06-12 Thread Aníbal Limón
The details of a test failure is upper on the unittest output so don't log twice the actual failure. [YOCTO #11622] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/runner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index

Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Denys Dmytriyenko
On Mon, Jun 12, 2017 at 11:05:19PM +0200, Patrick Ohly wrote: > On Mon, 2017-06-12 at 15:46 -0400, Denys Dmytriyenko wrote: > > This now breaks parsing my distro config on these lines: > > > > ENABLE_SYSVINIT ?= "0" > > DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", " >

Re: [OE-core] [morty][PATCH] sstate.bbclass: update .siginfo atime

2017-06-12 Thread Martin Jansa
Unfortunately this nice change breaks quite common scenario when developers have read-only mount of sstate mirror and this touch causes all _setscene tasks to fail, because they fail to update atime on symlink which points to read-only mount. Please backport the fix for this as well ASAP: http://g

Re: [OE-core] [morty][PATCH] sstate.bbclass: update .siginfo atime

2017-06-12 Thread Richard Purdie
On Tue, 2017-06-13 at 08:21 +0200, Martin Jansa wrote: > Unfortunately this nice change breaks quite common scenario when > developers have read-only mount of sstate mirror and this touch > causes all _setscene tasks to fail, because they fail to update atime > on symlink which points to read-only

[OE-core] [PATCH v3 1/8] bitbake.conf: support for merged usr with DISTRO_FEATURE usrmerge

2017-06-12 Thread Amarnath Valluri
A new configuration variable ${root_prefix} added, which shall be used by all base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled ${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix} Signed-off-by: Amarnath Valluri --- meta/conf/bitbake.conf | 10 ++

[OE-core] [PATCH v3 2/8] cross.bbclass: merged /usr support

2017-06-12 Thread Amarnath Valluri
To be align with base configuration change, use ${root_prefix} while preparing ${target_base_libdir}. Signed-off-by: Amarnath Valluri --- meta/classes/cross.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass ind

[OE-core] [PATCH v3 0/8] Fix for #7040 - Support for /usr merge

2017-06-12 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} - base

[OE-core] [PATCH v3 3/8] systemd: chagnes to support merged /usr

2017-06-12 Thread Amarnath Valluri
- Disable the split-usr support in systemd when 'usrmerge' DISTRO_FEATURE is enabled. - Modify rootprefix to point to ${root_prefix}, rather than ${base_prefix}. - And fixed firmware path to use ${nonarch_base_libdir} instead of hard-coded '/lib', because when 'usrmege' distro feature enabled t

[OE-core] [PATCH v3 4/8] bash: changes to support merged /usr

2017-06-12 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 v3 5/8] busybox: changes to support merged /usr

2017-06-12 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 v3 6/8] sed: changes to support merged /usr

2017-06-12 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 v3 7/8] image: create symlinks needed for merged /usr

2017-06-12 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 v3 8/8] insane.bbclass: Add package QA check for merged /usr.

2017-06-12 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