[OE-core] [PATCH 2/2] dhcp: add RDEPENDS for dhcp-client

2020-04-01 Thread Yu, Mingli
From: Mingli Yu Add iproute2 RDEPENDS for dhcp-client as /sbin/dhclient-systemd-wrapper which called by dhclient.service depends on ip command which provided by iproute2 package when systemd enabled in DISTRO_FEATURES. Signed-off-by: Mingli Yu --- meta/recipes-connectivity/dhcp/dhcp.inc | 1 +

[OE-core] [PATCH 1/2] dhclient: not always skip the nfsroot interface

2020-04-01 Thread Yu, Mingli
From: Mingli Yu Don't skip the nfsroot interface when use dhcp to get the address for nfsroot interface as the nfsroot interface may need dhclient to renew the lease. Signed-off-by: Mingli Yu --- .../dhcp/files/dhclient-systemd-wrapper| 26 +- 1 file changed, 25

Re: [OE-core] [PATCH v2] kernel.bbclass: Stop creating empty .scmversion files

2020-04-01 Thread Paul Burton via lists.openembedded.org
Hi Richard, On Wed, Apr 1, 2020 at 4:54 PM Richard Purdie wrote: > I get very nervous about patches like this that come in a day before > the final release build. Absolutely - I would too; I didn't realize a release was imminent & certainly had no expectation this would be part of it. > I'm not

Re: [OE-core] [PATCH] netbase: use git fetcher

2020-04-01 Thread Anuj Mittal
On Thu, 2020-04-02 at 02:37 +, Yu, Mingli wrote: > Hi RP, > > What's the error do you mean? I didn't find the error related to > netbase, could you help to provide more info? It's here: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825/steps/8/logs/step2d Thanks, Anuj -

Re: [OE-core] [PATCH] netbase: use git fetcher

2020-04-01 Thread Yu, Mingli
Hi RP, What's the error do you mean? I didn't find the error related to netbase, could you help to provide more info? Thanks, Mingli From: Richard Purdie Sent: Wednesday, April 1, 2020 17:20 To: Yu, Mingli ; openembedded-core@lists.openembedded.org Subject: R

[OE-core] [PATCH] xserver-xorg: upgrade 1.20.7 -> 1.20.8

2020-04-01 Thread Wang Mingyu
Signed-off-by: Wang Mingyu --- .../{xserver-xorg_1.20.7.bb => xserver-xorg_1.20.8.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.20.7.bb => xserver-xorg_1.20.8.bb} (89%) diff --git a/meta/recipes-graphics/xorg-xser

[OE-core] [PATCH] libusb1: upgrade 1.0.22 -> 1.0.23

2020-04-01 Thread Wang Mingyu
no-dll.patch removed since it is no available for 1.0.23 Signed-off-by: Wang Mingyu --- .../libusb/libusb1/no-dll.patch | 19 --- .../{libusb1_1.0.22.bb => libusb1_1.0.23.bb} | 5 ++--- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 meta/rec

[OE-core] [PATCH] elfutils: upgrade 0.178 -> 0.179

2020-04-01 Thread Wang Mingyu
Signed-off-by: Wang Mingyu --- .../elfutils/{elfutils_0.178.bb => elfutils_0.179.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/elfutils/{elfutils_0.178.bb => elfutils_0.179.bb} (97%) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.178

Re: [OE-core] [PATCH] netbase: use git fetcher

2020-04-01 Thread Yu, Mingli
I will look into it. Thanks, Mingli From: Richard Purdie Sent: Wednesday, April 1, 2020 17:20 To: Yu, Mingli ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] netbase: use git fetcher On Mon, 2020-03-16 at 17:24 +0800, mingli...@windriv

[OE-core] [PATCH v3] u-boot: Restore valid default environment for running system

2020-04-01 Thread Otavio Salvador
One significant change from previous OE-Core releases was the move from u-boot-fw-utils to libubootenv which offers a generic and not machine specific alternative. However, it is not fully functional as currently we don't provide the default environment nor the required configuration file to be use

Re: [OE-core] [PATCH v2] kernel.bbclass: Stop creating empty .scmversion files

2020-04-01 Thread Richard Purdie
On Wed, 2020-04-01 at 12:41 -0700, Paul Burton via lists.openembedded.org wrote: > The kernel_do_configure() task creates empty .scmversion files within > both the source & build directories. The presence of these files causes > the scm_version function within the kernel's scripts/setlocalversion t

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-01 Thread Richard Purdie
On Wed, 2020-04-01 at 15:09 -0700, Andre McCurdy wrote: > On Wed, Apr 1, 2020 at 3:02 PM Tim Orling wrote: > > On Wed, Apr 1, 2020 at 2:32 PM Tim Orling via > > lists.openembedded.org > > wrote: > > > On Wed, Apr 1, 2020 at 1:09 PM Andre McCurdy > > > wrote: > > > > It looks like there are some

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-01 Thread Andre McCurdy
On Wed, Apr 1, 2020 at 3:02 PM Tim Orling wrote: > On Wed, Apr 1, 2020 at 2:32 PM Tim Orling via lists.openembedded.org > wrote: >> On Wed, Apr 1, 2020 at 1:09 PM Andre McCurdy wrote: >>> >>> On Mon, Mar 30, 2020 at 12:43 PM Tim Orling >>> wrote: >>> > >>> > * Install directory defaults to scr

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-01 Thread Tim Orling
On Wed, Apr 1, 2020 at 2:32 PM Tim Orling via lists.openembedded.org wrote: > > > On Wed, Apr 1, 2020 at 1:09 PM Andre McCurdy wrote: > >> On Mon, Mar 30, 2020 at 12:43 PM Tim Orling >> wrote: >> > >> > * Install directory defaults to scripts/../buildtools >> > e.g. --directory is set by defa

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-01 Thread Tim Orling
On Wed, Apr 1, 2020 at 1:09 PM Andre McCurdy wrote: > On Mon, Mar 30, 2020 at 12:43 PM Tim Orling > wrote: > > > > * Install directory defaults to scripts/../buildtools > > e.g. --directory is set by default > > This avoids the user having to type in their sudo password > > to install in /

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-01 Thread Andre McCurdy
On Mon, Mar 30, 2020 at 12:43 PM Tim Orling wrote: > > * Install directory defaults to scripts/../buildtools > e.g. --directory is set by default > This avoids the user having to type in their sudo password > to install in /opt/poky/ > > * Use "." rather than "source" for sourcing the enviro

[OE-core] [PATCH v2] kernel.bbclass: Stop creating empty .scmversion files

2020-04-01 Thread Paul Burton via lists.openembedded.org
The kernel_do_configure() task creates empty .scmversion files within both the source & build directories. The presence of these files causes the scm_version function within the kernel's scripts/setlocalversion to always output the empty string, breaking the kernel's CONFIG_LOCALVERSION_AUTO=y func

Re: [OE-core] [PATCH] kernel.bbclass: Stop creating empty .scmversion files

2020-04-01 Thread Paul Burton via lists.openembedded.org
Hi Martin & Bruce, Thanks for your responses & filling in some of the background here. On Tue, Mar 31, 2020 at 6:32 PM Bruce Ashfield wrote: > Also note that in 2017 Trevor Woerner tried exactly the same fix that > you are doing, but ended up retracting it when he found a test case > that was st

[OE-core] [PATCH] binutils: Do not build gold linker on mips/glibc

2020-04-01 Thread Khem Raj
Using gnu_hash style is unsupported on gold for now therefore disable building gold on mips/glibc Certain applications poke for presence of gold linker and silently use it (webkit), therefore its best to disable building it Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils.inc

Re: [OE-core] [PATCH 2/5] archiver.bbclass: Make do_deploy_archives a recursive dependency

2020-04-01 Thread Mark Hatle
On 4/1/20 9:49 AM, Mark Hatle wrote: > (I know this is an old thread, but I ran into this as well..) > > ... > > On 3/11/20 6:40 AM, Paul Barker wrote: >> On Tue, 10 Mar 2020 23:18:33 + >> Richard Purdie wrote: >> >>> On Mon, 2020-03-09 at 14:21 +, Paul Barker wrote: To ensure tha

[OE-core] oeqa: testimage.bbclass with EFI and wic

2020-04-01 Thread Konrad Weihmann
Hi all, currently I'm trying to tailor a solution to make testimage.bbclass use wic images with EFI bootloader. As the code internally is using runqemu, adding the wic and ovmf options wasn't that hard, but now it seems to be stuck in the bootloader That's the log: [2J[01;01H[=3h[2J[01;01H[2

[OE-core][PATCH 1/5] lib/oe/package_manager: make sure to not remove packages in apt install

2020-04-01 Thread Jan Luebbe
apt install can decide to remove already installed packages if there are conflicts. Avoid this by explicitly specifying --no-remove. This will then cause a "E: Packages need to be removed but remove is disabled." message. Signed-off-by: Jan Luebbe --- meta/lib/oe/package_manager.py | 2 +- 1 fil

[OE-core][PATCH 2/5] lib/oe/package_manager: fix handling of last package

2020-04-01 Thread Jan Luebbe
In commit 7d214b34e11dc57316ed5c1c7747c4601286f6d2, only the code in the for loop was modified to store the pkgarch value. The code used if there was no empty line at the end was not modified. Instead of fixing the duplicated code, remove it and just make sure that a final empty line is processed.

[OE-core][PATCH 5/5] lib/oe/package_manager: don't try to rm /var/lib/opkg

2020-04-01 Thread Jan Luebbe
As opkglibdir starts with a /, os.path.join will ignore self.target_rootfs, leading to an attempt to remove /var/lib/opkg. This only fails if it exists on the host, explaining why this remained undiscovered for long. Signed-off-by: Jan Luebbe --- meta/lib/oe/package_manager.py | 3 +-- 1 file c

[OE-core][PATCH 0/5] fix populate_sdk for package_deb

2020-04-01 Thread Jan Luebbe
This series fixes bugs in lib/oe/package_manager which are triggered when using populate_sdk in a distro using PACKAGE_CLASSES = "package_ipk". The main issue is that apt install will try to remove already installed packages which conflict against those requested in the current install step. Is is

[OE-core][PATCH 4/5] lib/oe/package_manager: avoid installing provided packages via apt

2020-04-01 Thread Jan Luebbe
If there already is a package providing (and conflicting against) packages what should be installed, apt will try remove the conflicting package (target-sdk-provides-dummy) and any that depend on it (like apt and dpkg). This usually fails because of the protection of essential packages. In that cas

[OE-core][PATCH 3/5] lib/oe/package_manager: collect provided package names when using debs

2020-04-01 Thread Jan Luebbe
This is needed for a later change to avoid installing packages which are already provided by an installed package. Signed-off-by: Jan Luebbe --- meta/lib/oe/package_manager.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib

Re: [OE-core] [PATCH 2/5] archiver.bbclass: Make do_deploy_archives a recursive dependency

2020-04-01 Thread Mark Hatle
(I know this is an old thread, but I ran into this as well..) ... On 3/11/20 6:40 AM, Paul Barker wrote: > On Tue, 10 Mar 2020 23:18:33 + > Richard Purdie wrote: > >> On Mon, 2020-03-09 at 14:21 +, Paul Barker wrote: >>> To ensure that archives are captured for all dependencies of a typ

[OE-core][zeus][PATCH v2] u-boot-tools: Split out inc file

2020-04-01 Thread Joshua Watt
Spilts out the inc file for u-boot-tools so that BSPs can include it for their forked version of the tools, just like u-boot.inc. As an example, this recipe [1] builds mkimage u-boot as part of the u-boot recipe itself. This is incorrect because u-boot is a target recipe, which means that the unin

[OE-core][zeus][PATCH] u-boot-tools: Split out inc file

2020-04-01 Thread Joshua Watt
Spilts out the inc file for u-boot-tools so that BSPs can include it for their forked version of the tools, just like u-boot.inc. As an example, this recipe [1] builds mkimage u-boot as part of the u-boot recipe itself. This is incorrect because u-boot is a target recipe, which means that the unin

Re: [OE-core] [PATCH v2] u-boot: Restore valid default environment for running system

2020-04-01 Thread Otavio Salvador
On Wed, Apr 1, 2020 at 6:24 AM Richard Purdie wrote: ... > Sadly it breaks oe-selftest's sstatetests: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825 > > (reproduce with oe-selftest -r sstatetests.SStateTests) > > As well as world build file conflicts in deploy: > > https

Re: [OE-core] [PATCH v2] u-boot: Restore valid default environment for running system

2020-04-01 Thread Ayoub Zaki via Lists.Openembedded.Org
Hi, it's very handy to have the environment file in the DEPLOY folder to for example be able to integrate it to a WIC image. BR On Tue, Mar 31, 2020 at 5:32 PM Stefano Babic wrote: > Hi Otavio, > > On 31.03.20 17:16, Otavio Salvador wrote: > > One significant change from previous OE-Core rele

Re: [OE-core] [PATCH v2] u-boot: Restore valid default environment for running system

2020-04-01 Thread Richard Purdie
On Tue, 2020-03-31 at 12:16 -0300, Otavio Salvador wrote: > One significant change from previous OE-Core releases was the move > from > u-boot-fw-utils to libubootenv which offers a generic and not machine > specific alternative. However, it is not fully functional as > currently > we don't provide

Re: [OE-core] [PATCH] netbase: use git fetcher

2020-04-01 Thread Richard Purdie
On Mon, 2020-03-16 at 17:24 +0800, mingli...@windriver.com wrote: > From: Mingli Yu > > Use git repo as the the previous URL only stores > the latest source file and fails to locate the > source tar file if we don't upgrade timely. > > Signed-off-by: Mingli Yu > --- > meta/recipes-core/netbase

[OE-core] rootfs-postcommands: Enable rootfs_check_host_user_contaminated

2020-04-01 Thread Arnaud Pecoraro
Hello, We are having the same issue as described in the link below : https://lists.openembedded.org/g/openembedded-core/message?id=162040285 WARNING: Paths in the rootfs are owned by the same user or group as the user running bitbake. See the logfile for the specific paths. /data/poky-tmp/master

[OE-core] [PATCH] bzip2: Add test suite for bzip2

2020-04-01 Thread Rahul Chauhan
[YOCTO #13444] Signed-off-by: Rahul Kumar --- .../bzip2/0001-bzip2-modify-run-tests-script.patch | 218 + meta/recipes-extended/bzip2/bzip2/Makefile.am | 2 + meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 15 +- 3 files changed, 232 insertions(+), 3 deletions(-