[OE-core] [PATCH] mdadm: Disable Werror

2019-05-02 Thread Khem Raj
Werror spews more warnings with gcc9, like other distros ( debian/fedora) disable Warnings as errors Fixes super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member] Signed-off-by: Khem Raj ---

Re: [OE-core] [PATCH 1/1] license_image: Don't try to hard link license files

2019-05-02 Thread Richard Purdie
On Thu, 2019-05-02 at 21:30 +, p...@betafive.co.uk wrote: > From: Paul Barker > > This change allows us to support the placement of WORKDIR and > DEPLOY_DIR > on different devices. As the license files are typically small, the > increase in disk usage and build time should be negligible. > >

[OE-core] [PATCH v2] distutils: Run python from the PATH in the -native case as well

2019-05-02 Thread Douglas Royds via Openembedded-core
The python distutils generate a python wrapper script for each package, containing shebang lines pointing to the python executable. In our case, this is a fully-qualified path to python-native in the recipe-sysroot-native. Ubuntu 18.04 restricts the useful length of the shebang line to 125 charact

[OE-core] [PATCH 1/1] license_image: Don't try to hard link license files

2019-05-02 Thread paul
From: Paul Barker This change allows us to support the placement of WORKDIR and DEPLOY_DIR on different devices. As the license files are typically small, the increase in disk usage and build time should be negligible. Signed-off-by: Paul Barker --- meta/classes/license_image.bbclass | 7 -

[OE-core] [PATCH 0/1] license_image: Don't try to hard link license files

2019-05-02 Thread paul
From: Paul Barker Stumbled across a build failure when setting up my new build machine with DEPLOY_DIR set to a location outside TMPDIR on a separate drive. This only occurs if COPY_LIC_MANIFEST is also set but it's definitely worth fixing. This applies cleanly to both master and warrior. The ba

Re: [OE-core] [PATCH v2] icu: Added armeb support.

2019-05-02 Thread Richard Purdie
On Thu, 2019-04-18 at 11:17 +0800, Lei Maohui wrote: > Make icu support arm32 BE. > > Upstream-Status: Pending > > Signed-off-by: Lei Maohui > --- > .../icu/icu/0001-Make-icu-support-arm-BE.patch | 28 > ++ > meta/recipes-support/icu/icu_64.2.bb | 1 + >

[OE-core] [PATCH] wic: allow to create a rootfs subdir partition

2019-05-02 Thread Riccardo Ferrazzo
Allows to create a rootfs partition starting from a subdirectory of the rootfs. The subdirectory path can be specified as a `sourceparams` value in the form `subdir=`. The path can either start with `/` or not. It will be treated as relative to the rootfs anyway. Cannot specify a path outside th

[OE-core] [OE-Core][PATCH v6 4/6] systemd: create preset files instead of installing in image

2019-05-02 Thread Alex Kiernan
From: Jonas Bonn At first boot, systemd will create the /etc/systemd/system directory from service preset files. As such, for a normal, writable /etc (writable rootfs), there is no need to set up this directory at image creation time. This patch changes the systemd machinery to create preset fi

[OE-core] [OE-Core][PATCH v6 5/6] systemctl-native: Rewrite in Python supporting preset-all and mask

2019-05-02 Thread Alex Kiernan
Rewrite systemctl-native in Python so that extending/testing it is easier. Now that the systemd class sets up service presets instead of actively enabling services, the 'enable' and 'disable' subcommands for systemctl are not actually used anywhere. As such, we can remove these to make sure that

[OE-core] [OE-Core][PATCH v6 2/6] systemd: do not create machine-id

2019-05-02 Thread Alex Kiernan
From: Jonas Bonn There is no reason to have an emtpy machine-id as part of the systemd package. Either: i) the filesystem is writable and the file will be created automatically; or ii) the filesystem is read-only, in which case the empty machine-id file should be created as part of the read-on

[OE-core] [OE-Core][PATCH v6 3/6] systemd-conf: simplify creation of machine-specific configuration

2019-05-02 Thread Alex Kiernan
From: Alex Kiernan The configuration files that systemd installs are just skeletons detailing the available options and their default values. The recommended means of changing the configuration is to provide snippets in configuration directories. For example, journald.conf settings are best set

[OE-core] [OE-Core][PATCH v6 0/6] systemd stateless configuration

2019-05-02 Thread Alex Kiernan
This patch set is largely Jonas Bonn's to move towards a "stateless" configuration: These patches make some modifications to systemd with the long-term goal of being able to run OE in systemd's "stateless" configuration. "Stateless" boils down to building an image with empty /etc and /var

[OE-core] [OE-Core][PATCH v6 1/6] systemd: don't build firstboot by default

2019-05-02 Thread Alex Kiernan
From: Jonas Bonn The firstboot service prompts the user for information about the host at first boot. Systemd determines whether or not a boot is a "first boot" by the existence of the file /etc/machine-id. Since oe-core always includes this file (it is part of the systemd package), the firstbo

[OE-core] [OE-Core][PATCH v6 6/6] image: call systemctl preset-all for images

2019-05-02 Thread Alex Kiernan
From: Alex Kiernan Rather than rely on systemd's default invocation of preset-all at runtime, we pre-populate the symlink tree as part of of the image. This is done late so any overrides of presets during rootfs construction should already have happened. Whilst we don't strictly need this for th

[OE-core] [PATCH 1/2] meta: unset REQUIRED_DISTRO_FEATURES for libx11 and its dependents

2019-05-02 Thread liu . ming50
From: Ming Liu This is to allow libx11 to be built without the requirement for x11 distro feature. The reason for doing this is because the libx11 is providing libx11-locale package and that is being depended by libxkbcommon at runtime, and libxkbcommon is not a X11 specific recipe, it should be

[OE-core] [PATCH 2/2] libxkbcommon: RDEPENDS on libx11-locale

2019-05-02 Thread liu . ming50
From: Ming Liu This fixes a following runtime issue observed when a qtwayland client running on weston compositor: | xkbcommon: ERROR: couldn't find a Compose file for locale "C" Signed-off-by: Ming Liu --- meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.4.bb | 4 1 file changed, 4 insert

[OE-core] [PATCH 0/2] Fix a libxkbcommon runtime error

2019-05-02 Thread liu . ming50
From: Ming Liu We had observed a runtime error when we run a QT application on weston compositor, as follows: | xkbcommon: ERROR: couldn't find a Compose file for locale "C" after some investigation, we found the libx11-locale is being required by libxkbcommon at runtime, or else we get the abov

[OE-core] [PATCH v2 1/4] mesa: Convert recipe to use meson build system

2019-05-02 Thread Marco Felsch
From: Fabio Berton - Remove all non related meson patches - Change radeon driver to r100 - Add python3-mako-native and gettext-native to DEPENDS Based on https://patchwork.openembedded.org/patch/158748/ Upstream-Status: Submitted [openembedded-core@lists.openembedded.org] Signed-off-by: Fa

[OE-core] [PATCH v2 0/4] Mesa improvements

2019-05-02 Thread Marco Felsch
Hi, this series covers a few changes made by mesa-19. Since now mesa uses meson as build system. This switch is covered by Fabio's patch. Futhermore the imx gallium targets gets squashed into the kmsro target. At last the gallium swrast and virgl shouldn't be build per default. Fabio Berton (1)

[OE-core] [PATCH v2 2/4] mesa: fix imx gallium driver PACKAGECONFIG option

2019-05-02 Thread Marco Felsch
Since commit [1] the imx-drm driver is covered by the generic kmsro driver. [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \ 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2 Upstream-Status: Submitted [openembedded-core@lists.openembedded.org] Signed-off-by: Marco Felsch --- Changelog: v

[OE-core] [PATCH v2 4/4] mesa: make gallium virgl optional

2019-05-02 Thread Marco Felsch
Same as for the swrast target it isn't a good solution to enable the target per default since we compiling for embedded targets most the time. Make this target optional to save some memory. Upstream-Status: Submitted [openembedded-core@lists.openembedded.org] Signed-off-by: Marco Felsch --- Chan

[OE-core] [PATCH v2 3/4] mesa: make gallium swrast target optional

2019-05-02 Thread Marco Felsch
Most the time we are compiling for embedded targets which have dedicated hardware combinations. Setting swrast default on isn't a good solution for such devices because if the hardware render node have an issue or don't support a special format/request mesa will fallback to the software renderer. T

Re: [OE-core] [OE-Core][PATCH] uboot-sign: Fix build when UBOOT_DTB_BINARY is empty

2019-05-02 Thread Alex Kiernan
On Wed, Apr 17, 2019 at 7:31 PM Alex Kiernan wrote: > > When UBOOT_DTB_BINARY is empty and because the code now changes > directory into ${B}, the test for the existence becomes `[ -f ]` which > succeeds and subsequently the install fails. > > Reorder the code so it's clear that UBOOT_DTB_BINARY e

[OE-core] Newcomer bugs

2019-05-02 Thread Richard Purdie
Apologies for cross posting but I wanted a wider audience to see this. The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropria

[OE-core] [PATCH] opkg: fix ptest packaging when OPKGLIBDIR == libdir

2019-05-02 Thread Martin Jansa
there is small issue with ptest packaging in cases where OPKGLIBDIR is set to /usr/lib. Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered: ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python

Re: [OE-core] [oe-commits] [openembedded-core] 59/67: opkg: add ptest

2019-05-02 Thread Martin Jansa
Hi, there is small issue with this in cases where OPKGLIBDIR is set to /usr/lib. Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered: ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but n

Re: [OE-core] [v2][PATCH] manual tests migrate to selftest

2019-05-02 Thread Richard Purdie
Hi Armin, This patch needs quite a bit more work unfortunately. On Tue, 2019-04-30 at 07:46 -0700, Armin Kuster wrote: > [v2] > add check for python cairo module > pybootchartgui.py needs it > > don't use relative path to pybootchartgui.py, use absolute > > fix endline check data to reflect cur

Re: [OE-core] [RFT][PATCH] gcc-9.0: Add recipes for upcoming gcc 9.0 release in mid-2019

2019-05-02 Thread richard . purdie
On Wed, 2019-05-01 at 20:01 -0700, Khem Raj wrote: > On Wed, May 1, 2019 at 4:34 AM Richard Purdie > wrote: > > On Tue, 2019-04-30 at 12:24 -0700, Khem Raj wrote: > > > Its already in RC phase now. > > > > > > Signed-off-by: Khem Raj > > > > I ran this on the autobuilder: > > > > https://autob