[OE-core] [PATCH] python-3.5: add runtime dependency from python3-compression on python3-misc

2017-05-17 Thread Martin Jansa
* the /usr/lib/python3.5/_compression.py file is possibly incorrectly included in python3-misc, either it should be moved to python3-compression or this runtime dependency is needed in order to use e.g. gzip.py in runtime: >>> import tarfile, zlib, gzip Traceback (most recent call last):

[OE-core] [PATCH] curl: fix error for ARMv8 32BE

2017-05-17 Thread Huang Qiyu
curl + gnutls can not work on ARMv8 32BE, so change it to curl + ssl. Signed-off-by: Huang Qiyu --- meta/recipes-support/curl/curl_7.54.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/curl/curl_7.54.0.bb b/meta/recipes-support/curl/curl_7.54.0.bb i

Re: [OE-core] [PATCH] curl: fix error for ARMv8 32BE

2017-05-17 Thread Gary Thomas
On 2017-05-17 09:37, Huang Qiyu wrote: curl + gnutls can not work on ARMv8 32BE, so change it to curl + ssl. Signed-off-by: Huang Qiyu --- meta/recipes-support/curl/curl_7.54.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/curl/curl_7.54.0.bb b/me

[OE-core] [PATCH v2 0/1] development vs. production builds

2017-05-17 Thread Patrick Ohly
The previous revision of this patch series showed what could be done at a distro level and image level. It was not suitable for OE-core because it encoded too specific use-cases and the usefulness of a distro-level switch is questionable. The image-level mode switching however seems useful. This r

[OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Patrick Ohly
A distro might want to offer developers different, pre-defined ways of building an image, for example a "development" mode with easy (but insecure) login methods and a "production" mode with hardened settings. image-mode.bbclass introduces IMAGE_MODE as the switch that defines how developers want

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Patrick Ohly
On Wed, 2017-05-17 at 09:58 +0200, Patrick Ohly wrote: [...] > +valid = d.getVar('IMAGE_MODE_VALID') or '' > +if mode not in valid.split(): > +bb.fatal('Invalid image mode: IMAGE_MODE=%s (not in %s)' % > (image_mode, valid)) > +} A dedicated error message for the "IMAGE_MODE_VALID

Re: [OE-core] [PATCH] autogen: fix autoopts script generation to handle shebang

2017-05-17 Thread Belal, Awais
> You should not patch out the use of POSIX_SHELL after the fact. Find > where it is resolved/expanded in the source code in the first place, and > patch it there. Also, please check why setting POSIX_SHELL in the recipe > no longer has any effect - there is a patch called > 0001-config-libopts.m4-

Re: [OE-core] [oe-commits] [openembedded-core] 05/19: webkitgtk: Upgrade to 2.16.1

2017-05-17 Thread Martin Jansa
On Fri, May 12, 2017 at 07:51:39AM +, g...@git.openembedded.org wrote: > This is an automated email from the git hooks/post-receive script. > > rpurdie pushed a commit to branch master > in repository openembedded-core. Seems to fail for qemuarm: http://errors.yoctoproject.org/Errors/Details/

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Alexander Kanavin
On 05/17/2017 10:58 AM, Patrick Ohly wrote: A distro might want to offer developers different, pre-defined ways of building an image, for example a "development" mode with easy (but insecure) login methods and a "production" mode with hardened settings. Apologies Patrick, I still think this bri

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Patrick Ohly
On Wed, 2017-05-17 at 12:49 +0300, Alexander Kanavin wrote: > On 05/17/2017 10:58 AM, Patrick Ohly wrote: > > A distro might want to offer developers different, pre-defined ways of > > building an image, for example a "development" mode with easy (but > > insecure) login methods and a "production"

[OE-core] [PATCH v2 1/2] libx11: 1.6.4 -> 1.6.5

2017-05-17 Thread zhengrq
Upgrade libx11 from 1.6.4 to 1.6.5 Signed-off-by: Zheng Ruoqin --- meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb | 10 -- meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb | 10 ++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib

[OE-core] [PATCH v2 2/2] libx11-diet: 1.6.4 -> 1.6.5

2017-05-17 Thread zhengrq
Upgrade libx11-diet from 1.6.4 to 1.6.5 Signed-off-by: Zheng Ruoqin --- .../xorg-lib/{libx11-diet_1.6.4.bb => libx11-diet_1.6.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libx11-diet_1.6.4.bb => libx11-diet_1.6.5.bb} (73%) di

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Alexander Kanavin
On 05/17/2017 01:47 PM, Patrick Ohly wrote: I know that you prefer defining more image recipes over allowing the reconfiguration of the same image recipe. I disagree on that, because when you have independent aspects (like content and login configuration), then you end up with various combinatio

[OE-core] [PATCH] opkg-utils: don't generate PN-dev and PN-staticdev

2017-05-17 Thread Ross Burton
opkg-utils ends up in any opkg/rpm image with package management as it's the provider for update-alternatives. If dev-pkgs is enabled then opkg-utils-dev will get installed, which is empty but will subsequently pull python3-dev into the image (as opkg-utils-python depends on python3). As this can

[OE-core] [PATCH 0/2] fix create-pull-request

2017-05-17 Thread Ed Bartosh
Hi, Reverted previous patch as it breaks the script if used without '-t'. Replaced its functionality with more generic approach: -- The following changes since commit 324f7993e6dfc3b2c7849aee6c525605cc19f223: isoimage-isohybrid: don't use TRANSLATED_TARGET_ARCH (2017-05-17 13:21:34 +) a

[OE-core] [PATCH 2/2] create-pull-request: support format-patch options

2017-05-17 Thread Ed Bartosh
Added possibility to specify extra format-patch options in the create-pull-request command line: create-pull-request -u contrib -r master -- -v3 Signed-off-by: Ed Bartosh --- scripts/create-pull-request | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/script

[OE-core] [PATCH 1/2] Revert "create-pull-request: add "-t in-reply-to" option"

2017-05-17 Thread Ed Bartosh
Rasons: - It breaks the script if script is used without -t - Its functionality covered by the next patch This reverts commit 3ad3fda6c5f084f4fa1485b30aa333287989bee7. Signed-off-by: Ed Bartosh --- scripts/create-pull-request | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(

[OE-core] [PATCH] isoimage-isohybrid: don't use TRANSLATED_TARGET_ARCH

2017-05-17 Thread Ed Bartosh
isoimage-isohybrid plugin fails with this error when trying to find initrd image: initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0] IndexError: list index out of range as it uses TRANSLATED_TARGET_ARCH value as part of the image. This approach stopped

[OE-core] [PATCH v2 0/8] #11283: wic ls

2017-05-17 Thread Ed Bartosh
Hi, This is an implementation of new wic subcommand 'wic ls'. It lists image partitions: $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic Num StartEnd Size Fstype 11048576 24438783 23390208 fat16 2 25165824 50315263

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Patrick Ohly
On Wed, 2017-05-17 at 15:56 +0300, Alexander Kanavin wrote: > On 05/17/2017 01:47 PM, Patrick Ohly wrote: > > > I know that you prefer defining more image recipes over allowing the > > reconfiguration of the same image recipe. I disagree on that, because > > when you have independent aspects (like

[OE-core] [PATCH v2 1/8] filemap: fix skip logic

2017-05-17 Thread Ed Bartosh
Fixed bug in processing 'skip' parameter: don't read input file if end of bmap block is less than skip Simplified logic of positioning to the start of data inside a partially skipped bmap block. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 11 +++ 1 file changed, 7 inse

[OE-core] [PATCH v2 2/8] filemap: add parameter 'length' to sparse_copy

2017-05-17 Thread Ed Bartosh
Added parameter 'length' to specify amount of data to write into destination file. This is useful when only part of source file should be written into destination file. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-)

[OE-core] [PATCH v2 3/8] bootimg-pcbios: make boot image file unique

2017-05-17 Thread Ed Bartosh
Plugin code uses boot.img file name for an image file. If there are two partitions that use bootimg-pcbios wic breaks with an error "file already exists: boot.img" Made image file name unique by adding wks like number to it to fix the issue. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins

[OE-core] [PATCH v2 5/8] wic: add help and usage content for 'wic ls'

2017-05-17 Thread Ed Bartosh
Added wic_ls_help and wic_ls_usage variables to help.py. These variables contain help content that will be used in 'wic ls help' and 'wic ls --help' output. Signed-off-by: Ed Bartosh --- scripts/lib/wic/help.py | 65 + 1 file changed, 65 insertions

[OE-core] [PATCH v2 4/8] wic: add wic_init_parser_ls

2017-05-17 Thread Ed Bartosh
Added parser for 'wic ls' command. Signed-off-by: Ed Bartosh --- scripts/wic | 25 + 1 file changed, 25 insertions(+) diff --git a/scripts/wic b/scripts/wic index 49cad869e2..6c9a30da7d 100755 --- a/scripts/wic +++ b/scripts/wic @@ -35,6 +35,8 @@ import os import sys i

[OE-core] [PATCH v2 7/8] engine: implement listing wic images

2017-05-17 Thread Ed Bartosh
Implemented 'wic ls' functionality: - list image partitions - list directory content of vfat partitions [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 84 +-- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/s

[OE-core] [PATCH v2 8/8] selftest: add new test case test_wic_ls

2017-05-17 Thread Ed Bartosh
Tested 'wic ls' functionality: - list of image partitions - list of directory content of vfat partition Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/wic.py | 20 1 file changed, 20 insertions(+) diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/w

[OE-core] [PATCH v2 6/8] wic: add 'wic ls' command

2017-05-17 Thread Ed Bartosh
Added empty 'wic ls' command that does nothing. The functionality will be added by the next commits. Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 4 scripts/wic | 15 +++ 2 files changed, 19 insertions(+) diff --git a/scripts/lib/wic/engine.py b/scri

[OE-core] [PATCH v4 1/7] systemd-boot: create output dir if it doesn't exist

2017-05-17 Thread Ed Bartosh
build_efi_cfg function creates configuration files for systemd-boot entries in 'S' directory. This directory may not exist when api is called, which breaks the build. Creating the directory if it doesn't exist should fix this issue. Signed-off-by: Ed Bartosh --- meta/classes/systemd-boot.bbclas

[OE-core] [PATCH v4 0/7] i#10073: generic EFI for wic

2017-05-17 Thread Ed Bartosh
Hi, This patchset is an implementation of generic EFI approach for wic images. Instead of introducing yet another wic plugin it uses existing APIs from EFI_PROVIDER classes to populate ${WORKDIR}/bootfs directory with EFI artifacts and bootloader configuration. This directory can be used by wic r

[OE-core] [PATCH v4 4/7] image_types_wic: merged 2 tasks

2017-05-17 Thread Ed Bartosh
Merged do_write_wks_template and do_populate_bootfs into new task do_prepare_wic_build to be able to write the same partition UUID into bootloader configuration files and kickstart file. [YOCTO #10073] Signed-off-by: Ed Bartosh --- meta/classes/image_types_wic.bbclass | 53 +++--

[OE-core] [PATCH v4 3/7] image_types_wic: add do_populate_bootfs task

2017-05-17 Thread Ed Bartosh
This task generates root partition UUID and calls efi_bootfs_populate API of current EFI provider to populate bootfs directory with EFI artifacts. [YOCTO #10073] Signed-off-by: Ed Bartosh --- meta/classes/image_types_wic.bbclass | 37 1 file changed, 37 inse

[OE-core] [PATCH v4 6/7] grub-efi: fixed default value of GRUB_ROOT

2017-05-17 Thread Ed Bartosh
Currently GRUB_ROOT assigned a value of literal "${ROOT}" by default if ROOT variable is not set. This causes kernel commandline to look like this: "linux /vmlinuz LABEL=boot {ROOT}" Used weak assignments of ROOT and GRUB_ROOT variables to make sure GRUB_ROOT is "" by default. Allowed empty GRUB_

[OE-core] [PATCH v4 5/7] oe-selftest: add wic tests for generic EFI

2017-05-17 Thread Ed Bartosh
Added test_generic_efi_grub_qemu and test_generic_efi_systemd_qemu test cases and wks template to build and boot generic EFI images in qemu. [YOCTO #10073] Signed-off-by: Ed Bartosh --- meta-selftest/wic/test_generic_efi.wks.in | 9 meta/lib/oeqa/selftest/wic.py | 36 +

[OE-core] [PATCH v4 2/7] efi: add efi_bootfs_populate API

2017-05-17 Thread Ed Bartosh
Added API to populate ${WORKDIR}/bootfs directory with EFI artifacts to both EFI provider classes(grub-efi and systemd-boot). This API will be used to prepare artifacts for the wic image build. [YOCTO #10073] Signed-off-by: Ed Bartosh --- meta/classes/grub-efi.bbclass | 6 ++ meta/clas

[OE-core] [PATCH v4 7/7] image_types_wic: schedule prepare_wic_build correctly

2017-05-17 Thread Ed Bartosh
Scheduled prepare_wic_build only if wic build enabled. Added dependencies to kernel and efi bootloader deploy tasks only if EFI is enabled. This should fix build failure on machines without EFI functionality. Signed-off-by: Ed Bartosh --- meta/classes/image_types_wic.bbclass | 27 ++

Re: [OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults

2017-05-17 Thread Alexander Kanavin
On 05/17/2017 04:39 PM, Patrick Ohly wrote: [...] Now add one more mode and you end up with six instead of two image recipes. That's what I consider not scalable. Wait a moment. The contents of recipe files is short, regular and can be easily produced (or re-produced) by a script from the two

Re: [OE-core] [PATCH] python-3.5: add runtime dependency from python3-compression on python3-misc

2017-05-17 Thread Burton, Ross
On 17 May 2017 at 08:31, Martin Jansa wrote: > * the /usr/lib/python3.5/_compression.py file is possibly incorrectly > included > in python3-misc, either it should be moved to python3-compression or this > runtime dependency is needed in order to use e.g. gzip.py in runtime: > Sounds like th

Re: [OE-core] [PATCH] python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3

2017-05-17 Thread Burton, Ross
Queued already, there's been quite a backlog and there's always that one patch that breaks something subtle isn't there... Ross On 16 May 2017 at 22:48, Denys Dmytriyenko wrote: > Ping > > On Tue, May 09, 2017 at 03:31:54PM -0400, Denys Dmytriyenko wrote: > > From: Denys Dmytriyenko > > > > Th

Re: [OE-core] eudev: opkg not automatically upgrading from udev to eudev

2017-05-17 Thread Bryan Evenson
All, > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > Of Bryan Evenson > Sent: Tuesday, May 16, 2017 2:01 PM > To: Openembedded-core@lists.openembedded.org > Subject: [OE-core] eudev: opkg

Re: [OE-core] [PATCH] python-3.5: add runtime dependency from python3-compression on python3-misc

2017-05-17 Thread Martin Jansa
that would break bz2 and lzma in python3-misc unless they are also moved to -compression. And because I don't know what's using these (from inside of python3-misc) I didn't want to move them - I'll leave it to someone else. On Wed, May 17, 2017 at 5:21 PM, Burton, Ross wrote: > > On 17 May 2017

Re: [OE-core] eudev: opkg not automatically upgrading from udev to eudev

2017-05-17 Thread Martin Jansa
Isn't it enough to set RPROVIDES/RCONFLICTS/RREPLACES combo to say that eudev really replaces old udev even when the package version is lower. This used to fix such upgrade-path issues before, but I've stopped testing them long time ago. On Wed, May 17, 2017 at 5:26 PM, Bryan Evenson wrote: > A

Re: [OE-core] eudev: opkg not automatically upgrading from udev to eudev

2017-05-17 Thread Bryan Evenson
All, > -Original Message- > From: Bryan Evenson > Sent: Wednesday, May 17, 2017 11:27 AM > To: Bryan Evenson ; Openembedded- > c...@lists.openembedded.org > Subject: RE: eudev: opkg not automatically upgrading from udev to eudev > > All, > > > -Original Message- > > From: openemb

Re: [OE-core] eudev: opkg not automatically upgrading from udev to eudev

2017-05-17 Thread Bryan Evenson
Martin, Thanks for the pointers. I think I finally have it working correctly. I added RPROVIDES/RCONFLICTS/RREPLACES in my eudev bbappend to state it replaces udev. I also needed to set PE = 1 for udev-cache. Since udev-cache didn’t change the package name, I can’t say it RCONFLICTS/RREPLACE

Re: [OE-core] eudev: opkg not automatically upgrading from udev to eudev

2017-05-17 Thread Martin Jansa
Yes, that sounds reasonable, just keep in mind that PE bumps are forever (once you introduce it in your binary feed, you probably wont be able to ever remove the .bbappend with it), unless you get the PE bump merged in oe-core as well. I think you should just submit the fix to oe-core and then you

Re: [OE-core] [[PATCH v2 2/3] kernel-fitimage: set replacementtype to vmlinux

2017-05-17 Thread Denys Dmytriyenko
On Wed, May 17, 2017 at 12:10:43PM +0800, Chunrong Guo wrote: > From: Chunrong Guo > > Signed-off-by: Chunrong Guo > --- > meta/classes/kernel-fitimage.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/kernel-fitimage.bbclass > b/meta/classes/kernel

Re: [OE-core] [PATCH v2 1/2] libx11: 1.6.4 -> 1.6.5

2017-05-17 Thread Denys Dmytriyenko
Please make it a diff between the versions. On Wed, May 17, 2017 at 07:17:41PM +0800, zhengrq wrote: > Upgrade libx11 from 1.6.4 to 1.6.5 > > Signed-off-by: Zheng Ruoqin > --- > meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb | 10 -- > meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb | 10

[OE-core] populate sdk broken for u-boot-mkimage

2017-05-17 Thread Tim Harvey
Greetings, I'm running into the following build error when trying to create an SDK for an image that includes u-boot-mkimage-native. The nativesdk-u-boot-mkimage do_package task fails with: ERROR: nativesdk-u-boot-mkimage: chrpath command failed with exit code 7: b'/usr/src/ventana/yocto/pyro-2.3

[OE-core] [PATCH] u-boot-mkimage: fix nativesdk build

2017-05-17 Thread Max Krummenacher
If building for nativesdk the wrong rss sysroot is used leading the following error message. | ERROR: oe_runmake failed | In file included from tools/imximage.c:13:0: | include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory | # include Tools needed on the build host (sc

Re: [OE-core] populate sdk broken for u-boot-mkimage

2017-05-17 Thread Max Krummenacher
Hi Tim Just sent a patch which may fix what you see. Regards Max Am Mittwoch, den 17.05.2017, 12:36 -0700 schrieb Tim Harvey: > Greetings, > > I'm running into the following build error when trying to create an > SDK for an image that includes u-boot-mkimage-native. > > The nativesdk-u-boot-mk

[OE-core] [PATCH] libsolv: don't pick up bundled db from host rpm

2017-05-17 Thread Max Krummenacher
With rpm v4 in openembedded but on a host with existing /usr/include/rpm/db.h the build fails to compile. Signed-off-by: Max Krummenacher --- ...01-don-t-pick-up-bundled-db-from-host-rpm.patch | 38 ++ meta/recipes-extended/libsolv/libsolv_0.6.26.bb| 3 +- 2 files change

Re: [OE-core] populate sdk broken for u-boot-mkimage

2017-05-17 Thread Tim Harvey
On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher wrote: > Hi Tim > > Just sent a patch which may fix what you see. > > Regards > Max > > Am Mittwoch, den 17.05.2017, 12:36 -0700 schrieb Tim Harvey: >> Greetings, >> >> I'm running into the following build error when trying to create an >> SDK for

Re: [OE-core] populate sdk broken for u-boot-mkimage

2017-05-17 Thread Max Krummenacher
Am Mittwoch, den 17.05.2017, 14:29 -0700 schrieb Tim Harvey: > On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher > wrote: > > Hi Tim > > > > Just sent a patch which may fix what you see. > > > > Regards > > Max > > > > Am Mittwoch, den 17.05.2017, 12:36 -0700 schrieb Tim Harvey: > > > Greeting

Re: [OE-core] [PATCH] u-boot-mkimage: fix nativesdk build

2017-05-17 Thread Denys Dmytriyenko
On Wed, May 17, 2017 at 10:11:34PM +0200, Max Krummenacher wrote: > If building for nativesdk the wrong rss sysroot is used leading the > following error message. > > | ERROR: oe_runmake failed > | In file included from tools/imximage.c:13:0: > | include/image.h:1024:27: fatal error: openssl/evp.h

Re: [OE-core] populate sdk broken for u-boot-mkimage

2017-05-17 Thread Denys Dmytriyenko
On Thu, May 18, 2017 at 12:37:08AM +0200, Max Krummenacher wrote: > Am Mittwoch, den 17.05.2017, 14:29 -0700 schrieb Tim Harvey: > > On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher > > wrote: > > > Hi Tim > > > > > > Just sent a patch which may fix what you see. > > > > > > Regards > > > Max

[OE-core] [PATCH 1/2] webkitgtk: Fix build for armv5

2017-05-17 Thread Khem Raj
Detect atomics during configure Signed-off-by: Khem Raj --- .../detect-atomics-during-configure.patch | 34 ++ meta/recipes-sato/webkit/webkitgtk_2.16.1.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-

[OE-core] [PATCH 2/2] xkeyboard-config: Enable nls support explicitly

2017-05-17 Thread Khem Raj
Helps compile when distros disable NLS Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb inde

Re: [OE-core] [PATCH] libsolv: don't pick up bundled db from host rpm

2017-05-17 Thread Alexander Kanavin
On 05/17/2017 11:16 PM, Max Krummenacher wrote: With rpm v4 in openembedded but on a host with existing /usr/include/rpm/db.h the build fails to compile. +- # check if rpm contains a bundled berkeley db +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) ++ set(HAVE_RPM_DB_H 0) The problem seems t

[OE-core] [PATCH] autogen-native: allow user to set POSIX_SHELL as desired

2017-05-17 Thread Awais Belal
Using 'test -x' is only viable in situations where POSIX_SHELL is directly set to an executable whereas there are scenarios where a user might want to set it to "env sh" so that it can be used in places where there's a problem with shebang lengths etc. This is exactly how it is being used in OE so