[OE-core] [PATCH 1/2] llvm: Add recipe for 5.0

2017-07-27 Thread Khem Raj
Needed by mesa Fixes [YOCTO #11529] Signed-off-by: Khem Raj --- ...LibraryInfo-Undefine-libc-functions-if-th.patch | 93 .../0002-llvm-allow-env-override-of-exe-path.patch | 39 + meta/recipes-devtools/llvm/llvm_git.bb | 169

[OE-core] [PATCH 2/2] ninja: Add recipe

2017-07-27 Thread Khem Raj
llvm is using it, therefore move it from meta-oe Signed-off-by: Khem Raj --- meta/recipes-devtools/ninja/ninja_1.7.2.bb | 29 + 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/ninja/ninja_1.7.2.bb diff --git

[OE-core] [PATCH V2 0/2] llvm: Add recipe for 5.0

2017-07-27 Thread Khem Raj
Bring in ninja recipe from meta-oe since llvm is using it The following changes since commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e: core-image-minimal-initramfs: use initramfs-framework by default (2017-07-27 22:20:16 +0100) are available in the git repository at:

[OE-core] [PATCH 1/1] llvm: Add recipe for 5.0

2017-07-27 Thread Khem Raj
Needed by mesa Fixes [YOCTO #11529] Signed-off-by: Khem Raj --- ...LibraryInfo-Undefine-libc-functions-if-th.patch | 93 .../0002-llvm-allow-env-override-of-exe-path.patch | 39 + meta/recipes-devtools/llvm/llvm_git.bb | 169

[OE-core] [PATCH 0/1] llvm: Add recipe for 5.0

2017-07-27 Thread Khem Raj
Create a recipe just for building llvm, which is needed by many other packages e.g. mesa can use it for llvmpipe The following changes since commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e: core-image-minimal-initramfs: use initramfs-framework by default (2017-07-27 22:20:16 +0100) are

[OE-core] [PATCH 1/1] assimp: upgrade to 4.0.0

2017-07-27 Thread kai.kang
From: Kai Kang Upgrade assimp to 4.0.0. * Because there is also an assimp recipe in meta-oe, so update DESCRIPTION, HOMEPAGE and SECTION from it. * Remove redundant license file * Update EXTRA_OECMAKE to fix library install path for multilib Signed-off-by: Kai Kang

[OE-core] [PATCH 0/1] assimp: upgrade to 4.0.0

2017-07-27 Thread kai.kang
From: Kai Kang The following changes since commit 8e15e9b6e478f6368034519b2a8fd3c7ea71d23b: gnome-themes-standard: Fix packages so dev-pkgs image generation works (2017-07-26 10:12:06 +0100) are available in the git repository at:

[OE-core] [PATCH] cml1.bbclass: wait until menuconfig terminal finishes

2017-07-27 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval There are at least two terminals types (gnome and tmux) that when launched to show the kernel's menuconfig, we lost track of the corresponding process ID, thus there is no way to see when they finish, yielding identical

Re: [OE-core] [PATCH] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-27 Thread Tom Rini
On Thu, Jul 27, 2017 at 10:14:15PM +0100, Richard Purdie wrote: > On Thu, 2017-07-27 at 12:20 -0400, Tom Rini wrote: > > On Thu, Jul 27, 2017 at 04:08:40PM +, Wold, Saul wrote: > > > > > > On Tue, 2017-07-25 at 15:58 -0400, Tom Rini wrote: > > > > > > > > The vmdk/vdi/qcow2 IMAGE_FSTYPEs

Re: [OE-core] [PATCH] python: don't include -tests with modules

2017-07-27 Thread Richard Purdie
On Mon, 2017-07-24 at 12:10 -0400, Mark Asselstine wrote: > Although 'test' is listed in the python module list > (https://docs.python.org/3/py-modindex.html) it is meant only to be > used 'internally' by folks developing python itself. Per the > documentation: > >   Note The test package is

Re: [OE-core] [PATCH 00/49] Pyro-next pull request

2017-07-27 Thread Richard Purdie
On Mon, 2017-07-24 at 08:54 -0700, Armin Kuster wrote: > Please consider these changes for the next Pyro merge. > > Clean AB build ( thanks Ross). > > Includes kernel updates, security fixes and misc bug fixes. > > > The following changes since commit >

Re: [OE-core] [PATCH] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-27 Thread Richard Purdie
On Thu, 2017-07-27 at 12:20 -0400, Tom Rini wrote: > On Thu, Jul 27, 2017 at 04:08:40PM +, Wold, Saul wrote: > > > > On Tue, 2017-07-25 at 15:58 -0400, Tom Rini wrote: > > > > > > The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic.  As such, they > > > provide > > > some similar underlying

Re: [OE-core] [PATCH 1/1] multiconfig.py: added testsuite for multiconfig

2017-07-27 Thread Richard Purdie
On Thu, 2017-07-27 at 15:18 -0500, Humberto Ibarra wrote: > Multiconfig was not being tested at all. This adds a few basic > tests for multiconfig, including globbing. > > [Yocto #11612] > > Signed-off-by: Humberto Ibarra If I run this selftest and I have some

[OE-core] [PATCH 1/1] multiconfig.py: added testsuite for multiconfig

2017-07-27 Thread Humberto Ibarra
Multiconfig was not being tested at all. This adds a few basic tests for multiconfig, including globbing. [Yocto #11612] Signed-off-by: Humberto Ibarra --- meta/lib/oeqa/selftest/cases/multiconfig.py | 100 1 file changed, 100

[OE-core] [PATCH 0/1] multiconfig.py: added testsuite for multiconfig

2017-07-27 Thread Humberto Ibarra
Multiconfig testsuite is being added to selftest, incluiding a globbing testcase. The following changes since commit d4c3ace09790a18e240c4aea655e41ecee786e1b: bitbake: bitbake-diffsigs: fix regression after recent server changes (2017-07-27 15:14:20 +0100) are available in the git repository

[OE-core] [PATCH] module.bbclass: move make scripts earlier

2017-07-27 Thread California Sullivan
Some out of tree modules require the scripts for configuration. For example, backport-iwlwifi. Signed-off-by: California Sullivan --- meta/classes/module.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/module.bbclass

Re: [OE-core] [PATCH v4] kernel: Add support for multiple kernel packages

2017-07-27 Thread Rees, Kevron
On Wed, Jul 19, 2017 at 8:56 AM, Wold, Saul wrote: > On Tue, 2017-07-18 at 08:34 -0500, Haris Okanovic wrote: >> >> On 07/17/2017 03:31 PM, Wold, Saul wrote: >> > >> > On Wed, 2017-07-05 at 12:33 -0500, Haris Okanovic wrote: >> > > >> > > Some distros may want to provide

Re: [OE-core] [PATCH] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-27 Thread Tom Rini
On Thu, Jul 27, 2017 at 04:08:40PM +, Wold, Saul wrote: > On Tue, 2017-07-25 at 15:58 -0400, Tom Rini wrote: > > The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic.  As such, they provide > > some similar underlying functionality in order to produce a "disk" > > image > > that in turn can be

Re: [OE-core] [PATCH] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-27 Thread Wold, Saul
On Tue, 2017-07-25 at 15:58 -0400, Tom Rini wrote: > The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic.  As such, they provide > some similar underlying functionality in order to produce a "disk" > image > that in turn can be converted into different formats that various > hypervisor types work with.  

Re: [OE-core] [PATCHv2 1/5] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-27 Thread Ed Bartosh
On Wed, Jul 26, 2017 at 10:06:09PM -0400, Tom Rini wrote: > The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic. As such, they provide > some similar underlying functionality in order to produce a "disk" image > that in turn can be converted into different formats that various > hypervisor types work

[OE-core] [PATCHv2] libcap: fix build with gperf 3.1

2017-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../files/0001-Fix-build-with-gperf-3.1.patch | 41 ++ meta/recipes-support/libcap/libcap_2.25.bb | 3 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH v4 2/6] wic: use absolute paths in rootfs plugin

2017-07-27 Thread Ed Bartosh
Using relative paths can cause copyhardlinktree API to fail as it changes current directory when working. Converted all paths to absolute paths using os.path.realpath. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/rootfs.py | 4 ++-- 1 file changed, 2

[OE-core] [PATCH v4 6/6] oe-selftest: wic: fix test_quemu

2017-07-27 Thread Ed Bartosh
This test case boots the image in qemu and checks for mounted partitions. As /boot is mounted automatically the test case fails. Fixed this by adding /boot to the list of mounted partitions. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 2 +- 1

[OE-core] [PATCH v4 5/6] wic: add /boot mount point to fstab by default

2017-07-27 Thread Ed Bartosh
wic avoided adding /boot to fstab for no reason. This exception was hardcoded in the wic code. There is no need for this as mountpoint in .wks file is an optional field. It can be used only if user wants to have partitions automatically mounted on system boot. [YOCTO #11662] Signed-off-by: Ed

[OE-core] [PATCH v4 3/6] wic: rootfs: fix rootfs path reporting

2017-07-27 Thread Ed Bartosh
wic gets rootfs paths from partition object property 'rootfs_dir' and shows them in final report. rootfs plugin sets this property to the temporary path, which causes temporary paths appearing in the report. Changed the code to prevent storing temporary rootfs path in part.rootfs_dir. This

[OE-core] [PATCH v4 4/6] wic: rootfs: make copied rootfs unique

2017-07-27 Thread Ed Bartosh
Used unique suffix (line number from .wks file) for the copied rootfs directory to avoid possible conflicts. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v4 0/6] #11662 - wic should mount /boot

2017-07-27 Thread Ed Bartosh
Hi, This patchset adds /boot to the /etc/fstab of root partition, making it mounted on boot. It also fixes reporting and testing issues caused by this change. The patchset also fixes long standing bug: wic updated fstab inplace in rootfs directory. This causes other tasks working with rootfs

[OE-core] [PATCH v4 1/6] wic: copy rootfs directory before changing fstab

2017-07-27 Thread Ed Bartosh
wic updates /etc/fstab on root partition if there are valid mount points in .wks When wic runs from bitbake this can cause incorrect results or even breakage of other tasks working with the same rootfs directory in parallel with do_image_wic. Implemented copying rootfs directory to a temporary

[OE-core] [PATCH] libpng: upgrade to 1.6.31

2017-07-27 Thread Maxin B. John
1.6.31 fixes pngpriv.h to work around failure to compile arm/filter_neon.S.This bug was introduced in libpng-1.6.30beta01 No changes in License.The license checksums changed because of update in Copyright dates in LICENSE and png.h files. Signed-off-by: Maxin B. John ---

Re: [OE-core] [PATCH] image_types_wic: add dependency to e2fsprogs-native

2017-07-27 Thread Patrick Ohly
On Wed, 2017-07-26 at 19:21 +0300, Ed Bartosh wrote: > Added e2fsprogs-native to the list of default dependencies for > wic (WKS_FILE_DEPENDS_DEFAULT) as all fs-related utilities > have to be in this list. > > Thanks to Patrick Ohly for noticing this. > > [YOCTO #11817] > > Signed-off-by: Ed

[OE-core] [PATCHv4 4/4] recipetool: create: replacing PV in SRCURI

2017-07-27 Thread Chang Rebecca Swee Fun
From: Stanley Phoong During recipe creation, it seems that the automation for replacing ${PV} at the SRCURI for tag, (e.g mbed-tls-${PV}) is causing some issue due to PV assuming it's a git source. A fix is implemented in this patch to resolve this issue.

[OE-core] [PATCHv4 3/4] recipetool: create: handle git URLs specifying only a tag

2017-07-27 Thread Chang Rebecca Swee Fun
From: Stanley Phoong If a git URL is passed to recipetool create with a tag=, recipetool should handle it assuming that the tag is valid. [YOCTO #11393] Signed-off-by: Stanley Phoong ---

[OE-core] [PATCHv4 2/4] recipetool: create: being able to set branch when revision is provided

2017-07-27 Thread Chang Rebecca Swee Fun
When recipetool create is run on a git URL and a revision specified that is not on master, and "branch=" isn't already in the URL, then we should get the correct branch and append the branch to the URL. If the revision was found on multiple branches, we will display error to inform user to

[OE-core] [PATCHv4 0/4] devtool: add: automatically set branch for git URLs if not master

2017-07-27 Thread Chang Rebecca Swee Fun
Hi Ross, Change log on v4: Rebased to latest master HEAD. Broke up Stanley's commit into 2 separate commits as they fix different issues. And updated my patch on disabling PREMIRRORS and MIRRORS by setting them in dummy recipe instead to not affecting fetcher process of other dependencies

[OE-core] [PATCHv4 1/4] recipetool: create: disable PREMIRRORS and MIRRORS by default

2017-07-27 Thread Chang Rebecca Swee Fun
When creating new recipes, we are almost certainly fetching a new source rather that something that has already been fetched. I have disable PREMIRRORS and MIRRORS settings in the recipe that created by devtool while leaving an option for users to enable them manually if needed. Signed-off-by:

Re: [OE-core] [PATCH v2] openssl: disable default cryptodev

2017-07-27 Thread Richard Purdie
On Thu, 2017-07-27 at 13:17 +0800, Huang Qiyu wrote: > Because according to the other Distros,cryptodev is not enabled. > If users want enable cryptodev, just have to add "cryptodev-linux" > into PACKAGECONFIG. We really need more of a justification for this change. We presumably enable this for

[OE-core] [PATCH] wic-tools: add dependency to e2fsprogs-native

2017-07-27 Thread Ed Bartosh
Added e2fsprogs-native to the list of dependencies for wic-tools as all fs-related utilities have to be in this list. Signed-off-by: Ed Bartosh --- meta/recipes-core/meta/wic-tools.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] rpm: allow to enable RPM file signing

2017-07-27 Thread Jia Zhang
From: Lans Zhang RPM file signing is enabled with --with-imaevm during configuration. If enabled, the RPM signing tool rpmsign will call libimaevm.so provided by the recipe ima-evm-utils. Signed-off-by: Lans Zhang Signed-off-by: Jia Zhang