[OE-core] [PATCH] kexec: ARM: fix align issue of add_buffer_phys_virt() for LPAE kernel

2017-01-09 Thread Haiqing Bai
If LPAE is enabled, 3 level page table is used and the 'SECTION_SIZE' is (1<<21), so add_buffer_phys_virt() should align to (1 << 21). Signed-off-by: Haiqing Bai --- ...-ARM-Fix-add_buffer_phys_virt-align-issue.patch | 52 ++ meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb

Re: [OE-core] [PATCH] kexec: ARM: fix align issue of add_buffer_phys_virt() for LPAE kernel.

2017-01-09 Thread Bai, Haiqing
ok, I have sent the new patch for 2.0.14. Thanks From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: 2017年1月6日 22:32 To: Bai, Haiqing Cc: OE-core Subject: Re: [OE-core] [PATCH] kexec: ARM: fix align issue of add_buffer_phys_virt() for LPAE kernel. Can you rebase and resent the patch please

Re: [OE-core] [PATCH] glib-2.0: add configure option to control dbus related checking

2017-01-09 Thread Jussi Kukkonen
On 9 January 2017 at 04:54, Haiqing Bai wrote: > Fixed the issue that checking dbus modules is not controlled by switch > '--enable-dbus/--disable-dbus" which causes the inconsistent building > output by the package building sequence of glib-2.0 and dbus. > Also add PACKAGECONFIG line to automati

Re: [OE-core] [PATCH 4/7] flex: upgrade to 2.6.2

2017-01-09 Thread ChenQi
On 01/06/2017 10:59 PM, Burton, Ross wrote: On 26 December 2016 at 08:10, Chen Qi > wrote: + cp ${B}/src/stage1flex ${D}/${bindir} Can this not just use the flex from flex-native directly instead of having to install the stage1flex? Ross Hi Ross, I j

Re: [OE-core] could OE maybe point out when a recipe has upper case letters in it?

2017-01-09 Thread André Draszik
On Fri, 2017-01-06 at 08:34 -0500, Robert P. J. Day wrote: >   in a fit of silliness, i created some packagegroup recipes and, > without thinking, had the string "OE" as part of the recipe file name, > and was baffled when i kept getting errors that trying to add that > packagegroup to my image was

[OE-core] [PATCH v3] kernel-module-split: Append KERNEL_VERSION string to kernel module name

2017-01-09 Thread ola . redell
From: Ola Redell The KERNEL_VERSION string is added to kernel module package names in order to make the kernel modules for different kernel versions distinct packages instead of different versions of the same package. With this change, when a new kernel is installed together with its kernel modul

[OE-core] [PATCH V2 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-09 Thread Patrick Ohly
The /etc passwd files in a rootfs consist of the default entries from base-passwd plus anything that gets added via package installation, EXTRA_USERS_PARAMS and/or system sysusers. The execution order of preinst scripts is not perfectly deterministic, or at least unrelated changes caused it to cha

Re: [OE-core] [PATCH] iproute2 4.7.0 -> 4.9.0

2017-01-09 Thread Burton, Ross
On 9 January 2017 at 01:23, Zheng, Ruoqin wrote: > I just refer to previous “iproute2-4.3.0-musl.patch” patch to produce this > patch, So should I write Upstream-Status tag as same as last patch or merge > iproute2-4.9.0-musl.patch to iproute2-4.3.0-musl.patch ? > > I'd squash it into the existin

Re: [OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-09 Thread Patrick Ohly
On Sat, 2017-01-07 at 09:09 +0100, Patrick Ohly wrote: > On Fri, 2017-01-06 at 13:29 -0800, Randy Witt wrote: > > > > There are times that the work directories help with the debugging of > > build failures. The logs aren't always enough. So a person might want > > to do something like remove the

Re: [OE-core] [PATCH 1/2] selftest/bbtests.py: do not hardcode 'tmp' for TMPDIR

2017-01-09 Thread Burton, Ross
On 9 January 2017 at 07:09, Chen Qi wrote: > +tmp_dir = get_bb_var('TMPDIR') > +self.assertFalse(os.path.isfile(os.path.join(tmp_dir, > 'deploy/licenses/readline/generic_GPLv3'))) > +self.assertTrue(os.path.isfile(os.path.join(tmp_dir, > 'deploy/licenses/readline/generic_G

Re: [OE-core] [PATCH 2/2] selftest/buildoptions.py: do not hardcode 'tmp' for TMPDIR

2017-01-09 Thread Burton, Ross
On 9 January 2017 at 07:09, Chen Qi wrote: > -pkgs_path = g.glob(str(self.builddir) + > "/tmp/deploy/sources/allarch*/xcurs*") > +tmp_dir = get_bb_var('TMPDIR') > +pkgs_path = g.glob(str(tmp_dir) + "/deploy/sources/allarch*/ > xcurs*") > I think you meant DEPLOY_DIR_SRC :

Re: [OE-core] [PATCH v4] wic/isoimage-isohybrid: remove do_stage_partition()

2017-01-09 Thread Ed Bartosh
Hi Ioan-Adrian, Thank you for the patch! It looks good to me. +1 On Sat, Jan 07, 2017 at 08:03:01PM +0200, Ioan-Adrian Ratiu wrote: > The purpouse of this function was to check dependencies for building a > hybrid iso and build them using bitbake if not found. Calling bitbake in > this context m

[OE-core] [PATCH] linux-firmware: remove alternatives for brcmfmac-stdio.bin

2017-01-09 Thread Ross Burton
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin, which was required by kernels prior to 3.13. As these alternatives all have the same priority there's no determinism in which one is selected, and current kernels (since January 2014) use the appropriately versioned firm

[OE-core] [PATCH 00/74] Consolidated pull

2017-01-09 Thread Ross Burton
Hi, Consolidated pull for merging. Mostly green on the AB (on SHA 5525aca0fae9), the nightly-musl failure was caused by the new kernel headers interacting badly with musl and connman so these have both been removed and will be fixed shortly. Ross The following changes since commit dbb247cac5fbf

Re: [OE-core] [PATCH] zlib: update SRC_URI to fix fetching

2017-01-09 Thread Alexander Kanavin
On 01/05/2017 06:34 PM, Joshua Lock wrote: Upstream have removed the file from zlib.net as a new version has been released, switch to fetching from the official sourceforge mirror. [YOCTO #10879] If a new version has been released, you should also update to that version. Also, does upstream v

Re: [OE-core] [PATCH 4/7] flex: upgrade to 2.6.2

2017-01-09 Thread Burton, Ross
On 9 January 2017 at 01:53, ChenQi wrote: > I'm not sure if I understand it correctly. stage1flex has to be in sysroot > to be used safely. Otherwise, if rm_work is enabled, things are removed. > And for stage1flex to be in sysroot, it has to be installed. > > This reminded me that there was work

[OE-core] Yocto Project Status WW02

2017-01-09 Thread Jolley, Stephen K
Current Dev Position: YP 2.3 M2 -> M3 Next Deadline: YP 2.3 M2 by Jan 23, 2017 SWAT team rotation: Joshua -> Armin https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: *The M1 issues proved tricky to debug and potentially meant there were widespread p

[OE-core] [PATCH] flex: upgrade to 2.6.2

2017-01-09 Thread Ross Burton
Patches dropped as they are merged upstream: - CVE-2016-6354.patch - 0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch - do_not_create_pdf_doc.patch Apply a patch from github to simplify cross-compilation and not need a flex-native to bootstrap. Signed-off-by: Ross Burton --- ...oid-c-comm

[OE-core] [PATCH v2 1/2] externalsrc.bbclass: Add task buildclean

2017-01-09 Thread Ola x Nilsson
The buildclean task should call the package build system clean command, just implemented for Make for now. This is meant for recipes where S == B, but can be useful as a standalone task for other recipes too. When S == B, set it to run before do_clean which will do what most developers expect whe

[OE-core] [PATCH v2 2/2] oe-selftest: devtool: Add test for externalsrc buildclean

2017-01-09 Thread Ola x Nilsson
Signed-off-by: Ola x Nilsson --- meta/lib/oeqa/selftest/devtool.py | 46 +++ 1 file changed, 46 insertions(+) diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 19c5ccf..c37d194 100644 --- a/meta/lib/oeqa/selftest/devtool

[OE-core] [PATCH v3 1/2] externalsrc.bbclass: Add task buildclean

2017-01-09 Thread Ola x Nilsson
The buildclean task should call the package build system clean command, just implemented for Make for now. This is meant for recipes where S == B, but can be useful as a standalone task for other recipes too. When S == B, set it to run before do_clean which will do what most developers expect whe

[OE-core] [PATCH v3 2/2] oe-selftest: devtool: Add test for externalsrc buildclean

2017-01-09 Thread Ola x Nilsson
Test both for S == B and S != B. Signed-off-by: Ola x Nilsson --- meta/lib/oeqa/selftest/devtool.py | 46 +++ 1 file changed, 46 insertions(+) diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 2512c69..abe6090 100644 --

Re: [OE-core] bug with dpkg-native and sstate-cache mirrors

2017-01-09 Thread Anders Oleson
Bump. Can anyone comment on this? Does this sound like a bug? Right forum? On Tue, Dec 20, 2016 at 7:45 PM, Anders Oleson wrote: > Should I open a bug report for this? > Does this make sense and does it sound like a problem? > Are you interested in a patch or fixes? I see some activity with dpkg,

Re: [OE-core] [PATCH v3] kernel-module-split: Append KERNEL_VERSION string to kernel module name

2017-01-09 Thread Bruce Ashfield
On Mon, Jan 9, 2017 at 4:54 AM, wrote: > From: Ola Redell > > The KERNEL_VERSION string is added to kernel module package names in order > to > make the kernel modules for different kernel versions distinct packages > instead > of different versions of the same package. With this change, when a

[OE-core] [PATCH V3 0/4] Skip selftests depending on distro and its features

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Originally, the selftests were defined for the 'poky' distro. However, there are more supported distros, including nodistro, poky-lsb and poky-tiny. These series takes into consideration the distro name and its features to skip certain tests. [YOCTO #8525] The following

[OE-core] [PATCH V3 3/4] selftest: runtime-test: skip image-install test for poky-tiny

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval poky-tiny cannot build full-cmdline image, so skip this test in this case. Signed-off-by: Leonardo Sandoval --- meta/lib/oeqa/selftest/runtime-test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/selftest/runtime-test.py b/meta/lib/oeqa/selftest/

[OE-core] [PATCH V3 1/4] selftest: devtool: use distro agnostic recipes for devtool checks

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval The recipes being replaced are not compatible with all distros, so use mraa and virtual/make for some checks. Signed-off-by: Leonardo Sandoval --- meta/lib/oeqa/selftest/devtool.py | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/

[OE-core] [PATCH V3 2/4] selftest: imagefeatures: skip tests based on distro features and supported fstypes

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Some images (clutter and weston) requires certain distros features to be present, so check presence before proceeding. Some distros does not support the ext4* fstypes (poky-tiny only supports cpio.gz) so skip the test if this is the case. Signed-off-by: Leonardo Sandova

[OE-core] [PATCH V3 4/4] selftest: sstatetests: skip glibc-initial tests and use a more generic image

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval There are mainly two changes: 1) Some distros uses non-glibc so skip those tests requiring glibc-initial as target 2) instead of using core-image-sato, use a more generic image (core-image-minimal) for hash tests. Signed-off-by: Leonardo Sandoval --- meta/lib/oeqa/self

[OE-core] [PATCH] recipes-test: exclude recipes from world target

2017-01-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval These recipes should be excluded from target 'world' because these are just intended to be used internally by oe-selftest (devtool, recipetool, etc.) Signed-off-by: Leonardo Sandoval --- meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb | 2 ++ met

Re: [OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-09 Thread Randy Witt
On Mon, Jan 9, 2017 at 2:25 AM, Patrick Ohly wrote: > > > > > In principle I agree. Okay, let's separate the two. > > I hit one snag when starting to do that: the implementation of download > removal depends on do_rm_work from rm_work.bbclass for hooking into the > build of a recipe at the right

[OE-core] State of bitbake world, Failed tasks 2017-01-05

2017-01-09 Thread Martin Jansa
== Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!colspan='6'|Failed depencencies!!|Signatures !!colspan='12'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64 ||q

[OE-core] [jethro][PATCH] kernel.bbclass: use correct path in postrm's call to update-alternatives

2017-01-09 Thread ola . redell
From: Ola Redell The postrm script for the kernel-image package needs the same path when calling 'update-alternatives --remove', as the one given to 'update-alternatives --install' in the postinst script. Without this change, the postrm script fails to remove the alternative. This applies to [je

Re: [OE-core] Babeltrace - Backport fix to fido (as-needed.inc: add babeltrace exception)

2017-01-09 Thread Khem Raj
add the release maintainers to the request too. Armin in this case. On Fri, Jan 6, 2017 at 1:41 PM, Jonathan Rajotte Julien wrote: > Hi, > > Reposting to mailing list since I was not allowed without a subscription. > > Both Alexander Kanavin (Babeltrace recipe maintainer) and Richard Purdie > wer

Re: [OE-core] enabling gccgo( not gc )

2017-01-09 Thread Khem Raj
On Fri, Jan 6, 2017 at 10:49 AM, Kiran Pradeep wrote: > Hi, > > I uses recipes for gcc 4.9.1 and need to enable support for gccgo compiler. > To layers/oe-core/meta/recipes-devtools/gcc/gcc-configure-common.inc, I > added > LANGUAGES ?= "c,go,c++${FORTRAN}${JAVA}" > > That helps me build the gccgo

Re: [OE-core] [PATCH 1/3] gcc-source.inc: cleanly disable do_rm_work

2017-01-09 Thread Khem Raj
On Fri, Jan 6, 2017 at 1:55 AM, Patrick Ohly wrote: > Using "deltask" assumes that do_rm_work has been added already, which > won't be the case anymore in the upcoming improved rm_work.bbclass, > because then an anonymous python method will add do_rm_work. > > Setting RM_WORK_EXCLUDE works with th

Re: [OE-core] [PATCH 09/16] boost: drop flags bits, fix for x32

2017-01-09 Thread Khem Raj
it will be interesting to know some performance changes due to this patch if any On Thu, Jan 5, 2017 at 12:31 PM, Christopher Larson wrote: > > On Thu, Jan 5, 2017 at 1:29 PM, Burton, Ross wrote: >> >> On 5 January 2017 at 19:46, Christopher Larson wrote: >>> >>> +Upstream-Status: Pending >> >>

[OE-core] [PATCH] Provide additional OECORE_EXTRA_SYSROOT variable

2017-01-09 Thread Andreas Cord-Landwehr
When compiling against a Yocto generated SDK and using an install folder outside of the SDK's folder, CMake must be configure by using the respective CMAKE_FIND_ROOT_PATH. This CMake cache variable is set in the toolchain file and hence can only be configured via environment variables; unless one w

[OE-core] OpenEmbedded Developers Meeting in Portland before ELC

2017-01-09 Thread Philip Balister
As we do around each Embedded Linux Conference, OpenEmbedded will host a developer meeting to discuss the state of OpenEmbedded and what efforts we should focus on over the next six months or so. All developers and users are welcome to attend. We like to hear feedback from a variety of people over

[OE-core] [PATCH] canned-wks: remove mpc8315e-rdb.wks

2017-01-09 Thread Ed Bartosh
This file has been moved to meta-yocto-bsp/wic/ Signed-off-by: Ed Bartosh --- scripts/lib/wic/canned-wks/mpc8315e-rdb.wks | 6 -- 1 file changed, 6 deletions(-) delete mode 100644 scripts/lib/wic/canned-wks/mpc8315e-rdb.wks diff --git a/scripts/lib/wic/canned-wks/mpc8315e-rdb.wks b/script

[OE-core] [PATCH V2] iproute2 4.7->4.9

2017-01-09 Thread Zheng Ruoqin
Upgrade iproute2 from 4.7 to 4.9 Signed-off-by: Zheng Ruoqin --- .../iproute2/iproute2/iproute2-4.3.0-musl.patch| 85 - .../iproute2/iproute2/iproute2-4.9.0-musl.patch| 131 + .../{iproute2_4.7.0.bb => iproute2_4.9.0.bb} | 7 +- 3 files changed, 1

[OE-core] [PATCH 0/2] selftest: fix path assumption

2017-01-09 Thread Chen Qi
The following changes since commit 840e221ea7c35177fda37af618c4727fa7754789: bitbake: event: Replace slightly elderly bbmake references! (2017-01-09 13:39:13 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/selftest-path-assumption http://git.pok

Re: [OE-core] [PATCH 2/2] selftest/buildoptions.py: do not hardcode 'tmp' for TMPDIR

2017-01-09 Thread ChenQi
On 01/09/2017 06:35 PM, Burton, Ross wrote: On 9 January 2017 at 07:09, Chen Qi > wrote: -pkgs_path = g.glob(str(self.builddir) + "/tmp/deploy/sources/allarch*/xcurs*") +tmp_dir = get_bb_var('TMPDIR') +pkgs_path = g.glob(str

[OE-core] [PATCH 1/2] selftest/bbtests.py: fix path assumption for LICENSE_DIRECTORY

2017-01-09 Thread Chen Qi
Fix path assumption for LICENSE_DIRECTORY, otherwise, the test case may fail even if the functionality it tests works well. Signed-off-by: Chen Qi --- meta/lib/oeqa/selftest/bbtests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/bbtests.py b/m

[OE-core] [PATCH 2/2] selftest/buildoptions.py: fix path assumption for DEPLOY_DIR_SRC

2017-01-09 Thread Chen Qi
Fix path assumption for DEPLOY_DIR_SRC, otherwise, the testcase may fail even if the functionality works well. Signed-off-by: Chen Qi --- meta/lib/oeqa/selftest/buildoptions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta

Re: [OE-core] [PATCH 4/9] ovmf: deploy firmware in image directory

2017-01-09 Thread Ricardo Neri
On Wed, 2017-01-04 at 11:01 +0100, Patrick Ohly wrote: > On Wed, 2016-12-28 at 13:38 -0800, Ricardo Neri wrote: > > > do_install_class-target() { > > > -OVMF_DIR_SUFFIX="X64" > > > -if [ "${TARGET_ARCH}" != "x86_64" ] ; then > > > -OVMF_DIR_SUFFIX="Ia32" # Note the different capita

Re: [OE-core] [PATCH 6/9] ovmf_git.bb: enable Secure Boot

2017-01-09 Thread Ricardo Neri
On Wed, 2017-01-04 at 11:10 +0100, Patrick Ohly wrote: > On Wed, 2016-12-28 at 14:54 -0800, Ricardo Neri wrote: > > On Wed, 2016-12-21 at 14:11 +0100, Patrick Ohly wrote: > > > The recipe now compiles OVMF twice, once without Secure Boot, once > > > with. This is the same approach as in > > > https

Re: [OE-core] [PATCH 8/9] runqemu: support UEFI with OVMF firmware

2017-01-09 Thread Ricardo Neri
On Wed, 2017-01-04 at 10:43 +0100, Patrick Ohly wrote: > On Wed, 2016-12-28 at 15:33 -0800, Ricardo Neri wrote: > > On Wed, 2016-12-21 at 14:11 +0100, Patrick Ohly wrote: > > > +# File name of a OVMF BIOS file, to be added with -drive > > > if=pflash. > > > +# Found in the same plac

Re: [OE-core] [PATCH 8/9] runqemu: support UEFI with OVMF firmware

2017-01-09 Thread Patrick Ohly
On Mon, 2017-01-09 at 19:50 -0800, Ricardo Neri wrote: > On Wed, 2017-01-04 at 10:43 +0100, Patrick Ohly wrote: > > To > > test that supporting separate code and variables also works, I've > > implemented that locally so that ovmf.fd ovmf_secboot.fd, ovmf_code.fd, > > ovmf_secboot_code.fd and ovmf_

Re: [OE-core] [PATCH 4/9] ovmf: deploy firmware in image directory

2017-01-09 Thread Patrick Ohly
On Mon, 2017-01-09 at 19:50 -0800, Ricardo Neri wrote: > On Wed, 2017-01-04 at 11:01 +0100, Patrick Ohly wrote: > > On Wed, 2016-12-28 at 13:38 -0800, Ricardo Neri wrote: > > > > do_install_class-target() { > > > > -OVMF_DIR_SUFFIX="X64" > > > > -if [ "${TARGET_ARCH}" != "x86_64" ] ; then