[OE-core] why does local.conf.sample not mention qemumips64?

2015-10-22 Thread Robert P. J. Day
not sure i asked this once upon a time but since the OE layer contains a machine definition for qemumips64, why doesn't local.conf.sample contain a sample line for that? just curious. rday -- Robert P. J. Day

Re: [OE-core] [oe] cups-filters

2015-10-22 Thread Steffen Sledz
On 22.10.2015 09:50, Richard Leitner wrote: > On 10/21/2015 04:01 PM, Steffen Sledz wrote: >> Does anybody know about a recipe providing cups-filters? >> >> http://layers.openembedded.org was not really helpful here. > > I have one which works for my purposes but it is not really tested... > It

Re: [OE-core] [oe] cups-filters

2015-10-22 Thread Steffen Sledz
On 22.10.2015 10:54, Richard Leitner wrote: > On 10/22/2015 10:52 AM, Steffen Sledz wrote: >> On 22.10.2015 09:50, Richard Leitner wrote: >>> On 10/21/2015 04:01 PM, Steffen Sledz wrote: Does anybody know about a recipe providing cups-filters? http://layers.openembedded.org was not

Re: [OE-core] [PATCH 0/5] tuning support for 1st and 2nd generation Intel Atom CPUs

2015-10-22 Thread Saul Wold
Hi Andre, On 10/19/2015 11:59 AM, Andre McCurdy wrote: Andre McCurdy (5): tune-corei7.inc: fix PACKAGE_EXTRA_ARCHS_tune-corei7-32 typo This change makes sense and addresses an issue. tune-bonnell.inc: support for first generation Intel Atom CPUs tune-silvermont.inc: support for

Re: [OE-core] U-boot file is being removed when image-recipe is rebuild which uses wic.bz2

2015-10-22 Thread Otavio Salvador
On Wed, Oct 21, 2015 at 11:38 AM, Ahsan, Noor wrote: > Your help will be much appreciated. I am trying to locate the issue but no > luck yet. We reproduced this at O.S. Systems autobuilder today[1]. It seems very close to what you see. 1.

Re: [OE-core] [PATCH] cups: explicitly configure with systemd when needed

2015-10-22 Thread Burton, Ross
On 21 October 2015 at 18:41, Andrew Shadura wrote: > + ${systemd_system_unitdir} \ > This isn't needed as systemd.bbclass handles it for you. Ross -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH] cups: explicitly configure with systemd when needed

2015-10-22 Thread Andrew Shadura
On 22 October 2015 12:59:13 CEST, "Burton, Ross" wrote: >On 21 October 2015 at 18:41, Andrew Shadura > >wrote: > >> + ${systemd_system_unitdir} \ >> > >This isn't needed as systemd.bbclass handles it for you. Well, that's what

[OE-core] [PATCH] base-files: stage /etc/skel

2015-10-22 Thread Ioan-Adrian Ratiu
Having skel in the staging area lets other recipes access these files. For ex. recipes inheriting useradd, if passing "-m" to USERADD_PARAM, .bashrc and .profile are put automatically in $HOME, as expected. Signed-off-by: Ioan-Adrian Ratiu ---

Re: [OE-core] [PATCH] cups: explicitly configure with systemd when needed

2015-10-22 Thread Burton, Ross
On 22 October 2015 at 12:06, Andrew Shadura wrote: > >This isn't needed as systemd.bbclass handles it for you. > > > Well, that's what I thought too, but no, in fact it doesn't. > That would be because SYSTEMD_SERVICES doesn't list the extra units that using

[OE-core] [PATCH 0/2] Enable logs for ping test fail

2015-10-22 Thread mariano . lopez
From: Mariano Lopez These two patches add some logging and checking on the interfaces when qemu is started. The following changes since commit 8578bc17b54da97d42b257b3c8f398ac52b91a9f: libc-package: Fix localedef multilib dependency issues (2015-10-20 10:12:01

[OE-core] [PATCH 1/2] qemurunner: Show the output of runqemu script

2015-10-22 Thread mariano . lopez
From: Mariano Lopez This change will show runqemu output in the logs when running the runtime tests. This is helpful for debugging testimage errors. [YOCTO #8550] Signed-off-by: Mariano Lopez --- meta/lib/oeqa/utils/qemurunner.py

[OE-core] [PATCH 2/2] runqemu-ifup: Check if the tap interface is set up correctly

2015-10-22 Thread mariano . lopez
From: Mariano Lopez The process to set up a tap interface is as follows: - tap interface is created - An IP address is assigned to the tap interface - The interface is bring up - A route is added to the target using the tap interface Of all

[OE-core] [PATCH 1/2] systemd: test target boot time against unit timeout

2015-10-22 Thread Benjamin Esquivel
the new test: oeqa.runtime.systemd.SystemdJournalTests.test_systemd_boot_time will query the target boot time from journactl and will compare it against the default systemd's unit start timeout: (TimeoutStartSec) if the boot time is greater than the timeout, it will fail the reason is because

[OE-core] confused by task flags in base.bbclass

2015-10-22 Thread Robert P. J. Day
confused ... addtask install after do_compile do_install[dirs] = "${D} ${B}" # Remove and re-create ${D} so that is it guaranteed to be empty do_install[cleandirs] = "${D}" what is the purpose of having "${D}" in both the first and second line? i thought the "cleandirs" task flag would

[OE-core] [PATCH 2/2] systemd: skip service tests on long boot times

2015-10-22 Thread Benjamin Esquivel
arrange the runtime systemd services testing to depend upon the checking of the boot time to be less than systemd's unit (services) start timeout this will prevent the service tests failing on a condition that is well known to happen when the virtual target is choked on IO/CPU resources

[OE-core] [PATCH 0/2] adding runtest/systemd boot time test

2015-10-22 Thread Benjamin Esquivel
=Introduction= there has been a number of bugs filed against failing systemd services, or units, that appear to be random and very hard to reproduce. The bugs have been found at the autobuilder instances and not much information about what caused the failure can be found example bugs for the

[OE-core] [PATCH] gnupg: set development_version as no

2015-10-22 Thread wenzong.fan
From: Wenzong Fan The development_version used to mark if gnupg is a beta version. The checking logic in autogen.sh always assume that gnupg is beta if below command is not run in gnupg's git-repo: './autogen.sh --find-version 2 1 7' This does not work for

Re: [OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder

2015-10-22 Thread Ahsan, Noor
-Original Message- From: Ahsan, Noor Sent: Wednesday, October 21, 2015 9:04 PM To: openembedded-core@lists.openembedded.org Cc: Ahsan, Noor Subject: [RFC] rawcopy.py: Copy source file in image creation build folder From: Noor * When a file is given using

[OE-core] [PATCH] scripts/oe-publish-sdk: YP#6659

2015-10-22 Thread Costin Constantin
This patch fixes a small bug that prevents seting a git repo in exported SDK layers dir. Before setting a git repo, that directory needs to be created. Signed-off-by: Costin Constantin --- scripts/oe-publish-sdk | 4 ++-- 1 file changed, 2 insertions(+), 2

[OE-core] [PATCH] smart/rpm: nativesdk should get RPM_ETCRPM from SDKTARGETSYSROOT not NATIVE_SYSROOT

2015-10-22 Thread Bian Naimeng
The config file of rpm will be installed into SDKTARGETSYSROOT for each architecture, so RPM_ETCRPM should be set to SDKTARGETSYSROOT/etc/rpm. Signed-off-by: Bian Naimeng --- meta/recipes-devtools/python/python-smartpm_git.bb | 14 ++

[OE-core] [PATCH 4/5] mtools_4.0.18.bb: Use create_wrapper() for mcopy

2015-10-22 Thread Randy Witt
mcopy uses the IBM850 codepage from gconv. The default install location for gconv will not match the actual install location since it can be pulled from sstate. This patch overrides the default location when running by adding GCONV_PATH to the environment for mcopy. [YOCTO #7629] Signed-off-by:

[OE-core] [PATCH 5/5] wic/utils/oe/misc.py: Preserve PATH when running native tools

2015-10-22 Thread Randy Witt
Previously exec_native_cmd() would remove all items from PATH except for the native sysroot. This can cause issues for the tools that are created using create_wrapper(). Now instead of wiping out the PATH, run a sanity check to check if the command is in the native sysroot. Signed-off-by: Randy

[OE-core] [PATCH 0/5] Fix live images when using the extensible sdk

2015-10-22 Thread Randy Witt
The following changes since commit 505a82673ac2487df5ea343a6422c2fc47018831: build-appliance-image: Update to jethro head revision (2015-10-21 23:13:11 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib rewitt/codepage

[OE-core] [PATCH 1/5] Add 850 codepage to uninative-tarball

2015-10-22 Thread Randy Witt
--- meta/recipes-core/meta/uninative-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 41f7927..21f3bd9 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++

[OE-core] [PATCH 2/5] scripts/oe-pkgdata-util: Fix variable name in error handling

2015-10-22 Thread Randy Witt
From: Richard Purdie Fix: logger.error('Unable to find pkgdata directory %s' % pkgdata_dir) NameError: global name 'pkgdata_dir' is not defined Signed-off-by: Richard Purdie --- scripts/oe-pkgdata-util | 2 +- 1 file

[OE-core] [PATCH 3/5] populate_sdk_base: Ensure PKGDATA_DIR exists

2015-10-22 Thread Randy Witt
From: Richard Purdie Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass

Re: [OE-core] [PATCH 3/5] populate_sdk_base: Ensure PKGDATA_DIR exists

2015-10-22 Thread Christopher Larson
On Thu, Oct 22, 2015 at 8:30 PM, Randy Witt wrote: > -do_populate_sdk[dirs] = "${TOPDIR}" > +do_populate_sdk[dirs] = "${TOPDIR} ${PKGDATA_DIR}" > I hope do_populate_sdk doesn't care where it's run from, as this doesn't just make sure the dir exists, it changes the

[OE-core] [PATCH v2] cups: update systemd support

2015-10-22 Thread Andrew Shadura
Add PACKAGECONFIG for systemd, enable it when systemd is enabled in DISTRO_FEATURES. Pass the correct path to systemd units, ensure they're installed into the package. Drop custom systemd unit files, use those shipped by the upstream instead. Signed-off-by: Andrew Shadura

Re: [OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder

2015-10-22 Thread Leonardo Sandoval
+else: +dst = os.path.join(cr_workdir, source_params['file']) +dd_cmd = "cp src dst" +exec_cmd(dd_cmd) the constructed dst variable is not being included into the dd_cmd, is it? I would expect something like dd_cmd = "cp %s %s" % (src, dst) --

Re: [OE-core] [PATCH 1/3] libsdl: support native compilation

2015-10-22 Thread Dmitry Eremin-Solenikov
Hello, 2015-10-19 17:44 GMT+03:00 Mark Hatle : > On 10/19/15 9:17 AM, Dmitry Eremin-Solenikov wrote: >> qemu-native can use SDL backend for graphical output. Currently it is >> expected to use libsdl provided by the host. However this can lead to >> library

Re: [OE-core] [PATCH v2 4/7] systemd: make dbus an optional build time dependency

2015-10-22 Thread Joshua Lock
On 21/10/15 17:09, Burton, Ross wrote: On 20 October 2015 at 10:47, Joshua Lock > wrote: +PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" This also disables the code by default which is a change from the previous

[OE-core] [PATCH v3 02/52] build-compare: drop PATCHTOOL setting

2015-10-22 Thread Joshua Lock
From: Paul Eggleton We don't need PATCHTOOL to be set to git in this recipe, and setting it that way requires that the running user has git user & email configured, which on a build server it might well not be. Signed-off-by: Paul Eggleton

[OE-core] [PATCH v3 00/52] Various metadata tweaks v3

2015-10-22 Thread Joshua Lock
The following series are some tidy ups and changes made whilst porting a distro with systemd and a Weston + Xwayland userland to Jethro. Please consider them for inclusion. Changes since v2: * Backport weston patch to make enabling/disabling of systemd-login explicit * Mention the change in

[OE-core] [PATCH v3 06/52] grub-efi, gummiboot: Emit correct path in startup.nsh

2015-10-22 Thread Joshua Lock
From: Khem Raj when we generate hddimage and use it to prepare SD card using scripts/contrib/mkefidisk.sh as described here http://elinux.org/Minnowboard:MinnowMaxYoctoProject The content of startup.nsh contains bootx64.efi but this file is actually not in same dir as

[OE-core] [PATCH v3 03/52] tzdata: reinstate changes reverted in 2014c upgrade

2015-10-22 Thread Joshua Lock
From: Paul Eggleton OE-Core commit 57af3fb9662106f0a65a1b4edf83e2398be0a8f1 upgraded tzdata but also reverted a couple of changes to SUMMARY and LIC_FILES_CHKSUM. Reinstate these (with an update to the README md5 value since that has changed slightly, without any

[OE-core] [PATCH v3 28/52] gcc-5.2: Fix various _FOR_BUILD and related variables

2015-10-22 Thread Joshua Lock
From: Mark Hatle When doing a FOR_BUILD thing, you have to override CFLAGS with CFLAGS_FOR_BUILD. And if you use C++, you also have to override CXXFLAGS with CXXFLAGS_FOR_BUILD. Without this, when building for mingw, you end up trying to use the mingw headers for a host

[OE-core] [PATCH v3 22/52] libc-package: Fix localedef multilib dependency issues

2015-10-22 Thread Joshua Lock
From: Richard Purdie Building nativesdk-glibc-locale results in many messages like: QA Issue: nativesdk-locale-base-en-sg rdepends on localedef, but it isn't a build dependency? [build-deps] It should depend on ${MLPREFIX}localedef, not just localedef to

[OE-core] [PATCH v3 24/52] populate SDK: prepare calling of bb.utils for exceptions

2015-10-22 Thread Joshua Lock
From: Benjamin Esquivel bb.utils.remove, bb.utils.movefile and bb.utils.mkdirhier can throw exceptions that need handling and proper error messages more work is required for these methods to handle properly the exceptions that can be raised within the various

[OE-core] [PATCH v3 36/52] oeqa/selftest/bbtests: clean up local DL_DIR/SSTATE_DIR safely

2015-10-22 Thread Joshua Lock
From: Ross Burton Now that the selftests clean selftest.inc in the tearDown using bitbake in a function passed to addCleanup (which happens after teardown) will use the default configuration and not the customised one. As the intention was to clean away the temporary

[OE-core] [PATCH v3 27/52] sudo: fix file permission for /etc/pam.d/sudo

2015-10-22 Thread Joshua Lock
From: Chen Qi The file permission should be 0644 instead of 0664. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- meta/recipes-extended/sudo/sudo_1.8.14p3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH v3 32/52] useradd_base.bbclass: Do not warn without a reason

2015-10-22 Thread Joshua Lock
From: Peter Kjellerstedt In c0da4270c76375a7a8cbcc09319fe4570ebbc5bd two bbwarn were changed to bbnote for the case where an added user or group already exists. The same should have been done for groupmems, groupdel and userdel as well since the warnings that are

[OE-core] [PATCH v3 34/52] oeqa/utils/ftools: Ignore the exception if file does not exist

2015-10-22 Thread Joshua Lock
From: Leonardo Sandoval There may be cases where the configuration file (path) does not exist, thus the remove_from_file should catch this exception. In case the exception is not the latter (errno.ENOENT), then re-raise it. [YOCTO #8540]

[OE-core] [PATCH v3 31/52] qemu: disable Valgrind

2015-10-22 Thread Joshua Lock
From: Ross Burton Qemu has an automatic dependency on valgrind which cannot be disabled, which causes non-deterministic builds and build failures. As Valgrind wasn't enabled previously make this deterministic by forcibly disabling it. Signed-off-by: Ross Burton

[OE-core] [PATCH v3 33/52] oeqa/selftest/manifest.py: Test support for manifests

2015-10-22 Thread Joshua Lock
From: Benjamin Esquivel adding support for tests to verify that manifest contents contain entries that exist in an specified pkgdata dir tests added: - manifest.VerifyManifest.test_image_manifest_entries - manifest.VerifyManifest.test_SDK_manifest_entries

[OE-core] [PATCH 3/3] runqemu-internal: Enable support for use virtio devices.

2015-10-22 Thread Aníbal Limón
Enable virtio usage for default in runqemu also get rid of duplicate configuration from now all qemu machines uses virtio. [YOCTO #8427] Signed-off-by: Aníbal Limón --- scripts/runqemu-internal | 59 ++-- 1 file changed,

[OE-core] [PATCH 0/3] runqemu improvements

2015-10-22 Thread Aníbal Limón
The first patch enable support for use kvm without vhost a new option (kvm-vhost) was added for use kvm with vhost, The second and third patch enables usage of virtio devices/drivers in qemu machines by default, I ran all oe-core qemu machines with core-image-minimal, i tested arm, arm64,

[OE-core] [PATCH v3 43/52] oeqa/selftest/wic: remove numbers from test names

2015-10-22 Thread Joshua Lock
From: Ross Burton There isn't any required ordering of tests, and the numbers meant that the tests didn't appear in oe-selftest --list-classes. Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/wic.py | 46

[OE-core] [PATCH v3 26/52] openssh: fix file permission for /etc/pam.d/sshd

2015-10-22 Thread Joshua Lock
From: Chen Qi The file permission should be 0644 instead of 0755. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- meta/recipes-connectivity/openssh/openssh_7.1p1.bb | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH v2 3/7] weston: add PACKAGECONFIG to build with systemd-login support

2015-10-22 Thread Joshua Lock
On 21/10/15 17:14, Burton, Ross wrote: On 20 October 2015 at 10:47, Joshua Lock > wrote: +# Weston with systemd-login support +PACKAGECONFIG[systemd] = ",,systemd dbus" This means it is impossible to have a distro with

Re: [OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder

2015-10-22 Thread Ahsan, Noor
-Original Message- From: Leonardo Sandoval [mailto:leonardo.sandoval.gonza...@linux.intel.com] Sent: Thursday, October 22, 2015 7:02 PM To: Ahsan, Noor; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder >

[OE-core] [PATCH 1/3] runqemu: Enable support for kvm without vhost in x86 and x86_64

2015-10-22 Thread Aníbal Limón
KVM can be used without vhost so add a new option to runqemu for use kvm with vhost. Example, runqemu qemux86 core-image-minimal kvm # kvm without vhost runqemu qemux86 core-image-minimal kvm-vhost # kvm with vhost [YOCTO #7443] Signed-off-by: Aníbal Limón

[OE-core] [PATCH v3 15/52] oetest: Add tearDownLocal class

2015-10-22 Thread Joshua Lock
From: Mariano Lopez In the current state there are some runtime test that don't run the tearDown method fromm oeRuntimeTest class because the tearDown class is overwritten in the child class. This change adds tearDownLocal method in oeRuntimeTest class that will

[OE-core] [PATCH v3 14/52] test-empty-image: rename from core-image-empty

2015-10-22 Thread Joshua Lock
From: Alex Franco As the empty image isn't a "core" image, and it's meant for testing Additionally, don't set LICENSE as it is inherited from image [YOCTO #7664] Signed-off-by: Alex Franco Signed-off-by: Ross Burton

[OE-core] [PATCH v3 17/52] classes/populate_sdk_ext: consistent indentation

2015-10-22 Thread Joshua Lock
From: Paul Eggleton Make indentation consistent here in preparation for the changes that follow. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie ---

[OE-core] [PATCH v3 16/52] oeqa/runtime: Fix setUp and tearDown methods

2015-10-22 Thread Joshua Lock
From: Mariano Lopez Currently some of the runtime test overwrites the setUp and tearDown methods provided by oeRuntimeTest, this will avoid some checks required when running the test suit. This patch changes the setUp and tearDown methods for their local

[OE-core] [PATCH v3 20/52] classes/populate_sdk_ext: detect and warn if running in OE environment

2015-10-22 Thread Joshua Lock
From: Paul Eggleton If you run the extensible SDK environment setup script in a shell session where oe-init-build-env has been run already, and attempt to use the two together, strange things happen - you may not even be running devtool from the extensible SDK, but

[OE-core] [PATCH v3 19/52] classes/populate_sdk_ext: add note to env setup script

2015-10-22 Thread Joshua Lock
From: Paul Eggleton Print a note at the end of the environment setup script pointing to devtool. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie ---

[OE-core] [PATCH v3 12/52] image-live: make SYSLINUX_ROOT changable in image recipes

2015-10-22 Thread Joshua Lock
From: Chris Hallinan Signed-off-by: Ross Burton --- meta/classes/image-live.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index fa7a131..23e4a5c 100644

[OE-core] [PATCH v3 18/52] classes/populate_sdk_ext: prevent image construction from executing on install

2015-10-22 Thread Joshua Lock
From: Paul Eggleton In order to prepare the build system within the extensible SDK, we actually go ahead and build the targets specified by SDK_TARGETS (by default the image the SDK was built for). Assuming that's an image, we don't actually need to build the image

[OE-core] [PATCH v3 23/52] devtool: handle virtual providers

2015-10-22 Thread Joshua Lock
From: Paul Eggleton For modify / extract / upgrade, if the specified "recipe" is not actually a recipe but a virtual target such as virtual/kernel, map it correctly to the actual recipe and make sure we use that name within the workspace. Thanks to Chris Larson for

[OE-core] [PATCH v3 09/52] devtool: extract: fix error handling

2015-10-22 Thread Joshua Lock
From: Paul Eggleton If recipe parsing fails we need to exit out instead of attempting to use the data object that's set to None, which resulted in a traceback. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton

[OE-core] [PATCH v3 11/52] toolchain-shar-extract.sh: provide proper path for env_setup_script

2015-10-22 Thread Joshua Lock
From: "Maxin B. John" The toolchain install script suggest the user to source env_setup_script from wrong path now. eg: " Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ .

[OE-core] [PATCH 2/3] linux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.

2015-10-22 Thread Aníbal Limón
In order to use virtio devices as default in runqemu script because these drivers are designed to use in vrit providing better performance. [YOCTO #8427] Signed-off-by: Aníbal Limón --- meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | 1 +

[OE-core] [PATCH v3 25/52] sanity.bbclass: expand warning when chmod fails

2015-10-22 Thread Joshua Lock
From: Alex Franco As suggested, add exception message to warning in sanity.bbclass when chmod fails on TMPDIR. [YOCTO #7669] Signed-off-by: Alex Franco Signed-off-by: Ross Burton ---

[OE-core] [PATCH v3 21/52] toolchain-shar-extract.sh: print full-length title underline

2015-10-22 Thread Joshua Lock
From: Paul Eggleton Print a line that's the full length of the title that it's underneath. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta/files/toolchain-shar-extract.sh | 5

[OE-core] [PATCH v3 29/52] rpm: remove spurious build dependencies

2015-10-22 Thread Joshua Lock
From: Ross Burton make, patch and binutils are assumed to exist on the host, so there's no need to have them in DEPENDS and can result in the building of make-native for no good reason. Signed-off-by: Ross Burton ---

[OE-core] [PATCH v3 30/52] i2c-tools: fix inverted RDEPENDS

2015-10-22 Thread Joshua Lock
From: Matt Madison The runtime dependency between i2c-tools and i2c-tools-misc was backwards when the packages were split. With this change, including i2c-tools in an image no longer drags in perl. Signed-off-by: Matt Madison Signed-off-by: Ross

[OE-core] [PATCH v3 13/52] scripts/gen-lockedsig-cache: fix race with temp file creation

2015-10-22 Thread Joshua Lock
From: Paul Eggleton As part of populating the sstate-cache with an artifact (.tgz file) we create a temp file and then atomically move it to the final name. Due to the glob used in this script such temp files were being matched, and between the time they were

[OE-core] [PATCH v3 41/52] oeqa/selftest/wic: fix cleaning

2015-10-22 Thread Joshua Lock
From: Ross Burton In some situations the native tools built in setUpClass() are wiped from the sysroot by the time the tests are executed, likely due to the cleanup performed in the base setUp() method. Avoid this by doing all of the preparatory building in setUpLocal.

[OE-core] [PATCH v3 44/52] oeqa/selftest: improve config writing and cleanup

2015-10-22 Thread Joshua Lock
From: Ross Burton The selftest.inc configuration file is deleted in both tearDown() and setUp() so there's no need to use addCleanup() to remove statements from it. Use write_config instead of append_config if the intention is to start from an empty config file, for

[OE-core] [PATCH v3 48/52] weston: add PACKAGECONFIG to build with systemd-login support

2015-10-22 Thread Joshua Lock
Automatically enable this support for distributions which have systemd in DISTRO_FEATURES. We add additional patches to weston, backported from Weston git, to support the newer single libsystemd pkg-config file and to make the enabling of systemd-login support explicit. Signed-off-by: Joshua

[OE-core] [PATCH v3 38/52] oeqa/selftest/buildoptions: Use the correct script for cleaning the workdir

2015-10-22 Thread Joshua Lock
From: Leonardo Sandoval The script 'cleanupworkdir' does not exit, so changing it to 'cleanup-workdir'. Signed-off-by: Leonardo Sandoval Signed-off-by: Ross Burton ---

[OE-core] [PATCH v3 45/52] archiver.bbclass: Fixes and improves archiver class for kernel and gcc packages

2015-10-22 Thread Joshua Lock
From: Alejandro Hernandez gcc packages use a shared source directory, this causes an issue since the archiver will try to patch the same source several times (one for each gcc package), producing an error, the archiver class used stamp-base to check this,

[OE-core] [PATCH v3 40/52] oeqa/selftest/wic: corrected testcase decorator for test18_iso_image

2015-10-22 Thread Joshua Lock
From: Daniel Istrate Changed testcase decorator for TC test18_iso_image from 1264 to 1346. Signed-off-by: Daniel Istrate Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/wic.py | 2 +- 1

Re: [OE-core] [PATCH v3 00/52] Various metadata tweaks v3

2015-10-22 Thread Joshua Lock
On 22/10/15 16:21, Joshua Lock wrote: The following series are some tidy ups and changes made whilst porting a distro with systemd and a Weston + Xwayland userland to Jethro. Ugh, please ignore - due to user error driving the pull request scripts this series includes a bunch of patches I

[OE-core] [PATCH v3 42/52] oeqa/selftest: clean up selftest.inc in teardown

2015-10-22 Thread Joshua Lock
From: Ross Burton Test cases may want to do call bitbake in setUpClass() but at that point the previous selftest.inc is still present which could change the build configuration and result in any built artifacts being removed in the next bitbake invocation as part of the

[OE-core] [PATCH v3 51/52] xserver-xorg: add Xwayland RRECOMMENDS

2015-10-22 Thread Joshua Lock
Xwayland has the same runtime dependencies as the standard xserver so set RRECOMMENDS the same way. Signed-off-by: Joshua Lock --- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v3 37/52] oeqa/selftest/bbtests: Updated bitbake TCs

2015-10-22 Thread Joshua Lock
From: Daniel Istrate - Added new TC test_force_task_1 (1354); check that do_package_write_rpm() re-executes upon changes in package image. - Updated TC test_force_task_2 (163); changed test recipe to zlib and added do_package() to the task execution list. -

[OE-core] [PATCH v3 50/52] weston: add a PACKAGECONFIG option for xwayland support

2015-10-22 Thread Joshua Lock
Signed-off-by: Joshua Lock --- meta/recipes-graphics/wayland/weston_1.8.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston_1.8.0.bb b/meta/recipes-graphics/wayland/weston_1.8.0.bb index ec7d4f4..544144d

[OE-core] [PATCH v3 52/52] xserver-xorg: drop empty ${PN}-security-policy package

2015-10-22 Thread Joshua Lock
The SecurityPolicy hasn't been included since 2007[1] and the last remnants were removed from the code base in 2010[2]. 1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03ca 2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d Signed-off-by: Joshua Lock

[OE-core] [PATCH v3 49/52] systemd: make dbus an optional build time dependency

2015-10-22 Thread Joshua Lock
The dbus buildtime dependency is only required in order to build dbus related tests in modern systemd, make this a PACKAGECONFIG option. This changes the default behaviour to no longer build dbus related tests without explicitly enabling the PACKAGECONFIG. Signed-off-by: Joshua Lock

[OE-core] [PATCH v3 47/52] systemd: add PACKAGECONFIG to build with compatibility libraries

2015-10-22 Thread Joshua Lock
Systemd < 209 shipped separate pc files for various interfaces, these can still be generated for compatibility with code using the older interfaces. Add a PACKAGECONFIG option to build systemd with the compatibility pc files. Signed-off-by: Joshua Lock FIX:

[OE-core] [PATCH v3 01/52] common-licenses: use correct GFDL-1.1 license text

2015-10-22 Thread Joshua Lock
From: Paul Eggleton It seems that the GFDL 1.1 license file that was originally committed was actually the 1.2 version. Replace it with the 1.1 version fetched from http://www.gnu.org/licenses/old-licenses/fdl-1.1.txt. Signed-off-by: Paul Eggleton

[OE-core] [PATCH v3 04/52] gcc-4.x: fix wrong warning when using the universal zero initializer {0}

2015-10-22 Thread Joshua Lock
From: Kai Kang When I upgrade efivar to 0.21, it fails to compile with error messages: | linux.c:850:9: error: missing braces around initializer [-Werror=missing-braces] | struct ifreq ifr = { 0, }; | ^ It is a known issue of gcc. Backport patch from

[OE-core] [PATCH v3 07/52] linux-yocto-custom: fix typo in Upstream-Status tag

2015-10-22 Thread Joshua Lock
From: Ross Burton Signed-off-by: Ross Burton --- .../linux/linux-yocto-custom/0001-linux-version-tweak.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v3 05/52] coreutils: fix for native and nativesdk

2015-10-22 Thread Joshua Lock
From: Robert Yang The do_install_append is used for moving/renaming for ALTERNATIVE, but it breaks native and nativesdk, for example there is no ln, but ln.coreutils, that makes coreutils-native or nativesdk-coreutils doesn't work. This patch fixes the problem.

[OE-core] [PATCH v3 10/52] classes/base: provide hints on PACKAGECONFIG error

2015-10-22 Thread Joshua Lock
From: Joe MacDonald Commit 771f89498c introduces an error message that is very rarely hit and when it is, it is usually easy to trace the root cause very quickly. The information provided in the error message isn't enough to lead you back to the actual failure,

[OE-core] [PATCH v3 46/52] build-appliance-image: Update to jethro head revision

2015-10-22 Thread Joshua Lock
From: Richard Purdie Signed-off-by: Richard Purdie --- meta/recipes-core/images/build-appliance-image_12.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v3 08/52] metadata_scm: rewrite git hash logic

2015-10-22 Thread Joshua Lock
From: Ross Burton The code to get the git and branch hash for the current commit in a specific repository was quite complex and prone to breakage, replace it with subprocess and git rev-parse. Signed-off-by: Ross Burton ---

[OE-core] [PATCH v3 35/52] oeqa/utils/ftools: From functions that expect data, check if None

2015-10-22 Thread Joshua Lock
From: Leonardo Sandoval ftools functions that expect data may get 'None'; this patch does this check and return immediately if this is the case. Signed-off-by: Leonardo Sandoval Signed-off-by: Ross Burton

Re: [OE-core] why does local.conf.sample not mention qemumips64?

2015-10-22 Thread Paul Eggleton
On Thursday 22 October 2015 04:14:15 Robert P. J. Day wrote: > not sure i asked this once upon a time but since the OE layer > contains a machine definition for qemumips64, why doesn't > local.conf.sample contain a sample line for that? just curious. I don't think it's intentional, more likely

[OE-core] [PATCH] Add entry for qemumips64 to local.conf.sample.

2015-10-22 Thread Robert P. J. Day
For whatever reason, qemumips64 isn't mentioned in local.conf.sample as a valid target machine. Signed-off-by: Robert P. J. Day --- diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample index 3ae24ab..92ee7a1 100644 --- a/meta/conf/local.conf.sample +++