[OE-core] [dunfell][master][PATCH] kernel.bbclass: Fix Module.symvers support

2020-06-25 Thread lili . li
From: Lili Li Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate vmlinux.symvers and reuse it for the second modpost"), kernel will generate new vmlinux.symvers instead of dumping all the vmlinux symbols into Module.symvers in the first pass. Error log:

[OE-core] [PATCH]] wpa-supplicant: Security fix CVE-2020-12695

2020-06-25 Thread akuster
From: Armin Kuster Source: http://w1.fi/security/ MR: 104452 Type: Security Fix Disposition: Backport from http://w1.fi/security/2020-1/ ChangeID: 81edff1c2c8bd592643ad3e9bba41447c34b3468 Description: Affects <= 2.9 wpa-supplicant Signed-off-by: Armin Kuster ---

[OE-core] [PATCH 1/2] musl: Update to tip of master

2020-06-25 Thread Khem Raj
Detailed changelog [1] Refresh patches [1] https://git.musl-libc.org/cgit/musl/log/?qt=range=1b4e84c56df0f8ca30f6bc05962a860f869e71df..fca7428c096066482d8c3f52450810288e27515c Signed-off-by: Khem Raj --- ...ynamic-linker-a-relative-symlink-to-libc.patch | 11 ++-

[OE-core] [PATCH 2/2] rxvt-unicode: Disable wtmp on musl

2020-06-25 Thread Khem Raj
This is not supported features on musl Fixes ../../rxvt-unicode-9.22/src/../libptytty/src/logging.C:348:17: error: 'WTMPX_FILE' was not declared in this scope; did you mean 'WTMP_FILE'? | 348 | updwtmpx (WTMPX_FILE, ); | | ^~ Signed-off-by: Khem Raj ---

[OE-core] [dunfell][PATCH] curl: Security fixes for CVE-2020-{8169/8177}

2020-06-25 Thread akuster
From: Armin Kuster Source: https://curl.haxx.se/ MR: 104472, 104458 Type: Security Fix Disposition: Backport from https://github.com/curl/curl/commit/{600a8cded447cd/8236aba58542c5f} ChangeID: 1300924f7a64b22375b4326daeef0b686481e30c Description: - Affected versions: curl 7.20.0 to and

Re: [OE-core] [dunfell][PATCH 2/2] runqemu: add QB_ROOTFS_EXTRA_OPT parameter

2020-06-25 Thread Konrad Weihmann
Hi all, I'd like this to be backported to dunfell, although it's something in between a bugfix and a feature addition. These both patches will unblock the usage of wic images in combination with testimage class, which I otherwise would consider broken for this use case. So I really would

[OE-core] [dunfell][PATCH 1/2] testimage: enable ovmf support

2020-06-25 Thread Konrad Weihmann
Add support for running wic images with EFI as testimage. Introduces a variable called QEMU_USE_OVMF for configuration. Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie (cherry picked from commit da0ab97f6104e63aa5e822f57eef8dfc3b524941) Signed-off-by: Konrad Weihmann ---

[OE-core] [dunfell][PATCH 2/2] runqemu: add QB_ROOTFS_EXTRA_OPT parameter

2020-06-25 Thread Konrad Weihmann
Content of the optional parameter will be appended to the rootfs-device in the qemu configuration, in case QB_ROOTFS_OPT is not specified. By default this is empty. Example use cases are: Defining 'readonly' when using squashfs, so multiple instances of qemu can share the same base image,

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 20:43 schrieb Paul Barker: On Thu, 25 Jun 2020 at 16:36, Stefan Herbrechtsmeier wrote: Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during do_compile.

[OE-core] [PATCH] libubootenv: bump to revision 86bd30a

2020-06-25 Thread Pierre-Jean Texier via lists.openembedded.org
This includes the following changes: 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP Signed-off-by: Pierre-Jean Texier --- meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 20:40 schrieb Otavio Salvador: Em qui., 25 de jun. de 2020 às 15:35, Stefan Herbrechtsmeier escreveu: Am 25.06.20 um 18:43 schrieb Otavio Salvador: Offline build, using go mod, I can only envision if we somehow provide a local server which uses the bitbake cache as source.

Re: [OE-core] Status of Go support

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 16:36, Stefan Herbrechtsmeier wrote: > > Am 24.06.20 um 22:24 schrieb Otavio Salvador: > > Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier > > escreveu: > >> The go-mod.bbclass download data from the internet during do_compile. If > >> you cut the internet

Re: [OE-core] Status of Go support

2020-06-25 Thread Otavio Salvador
Em qui., 25 de jun. de 2020 às 15:35, Stefan Herbrechtsmeier escreveu: > > Am 25.06.20 um 18:43 schrieb Otavio Salvador: > > Offline build, using go mod, I can only envision if we somehow provide > > a local server which uses the bitbake cache as source. This by itself > > is not a small project.

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 18:43 schrieb Otavio Salvador: Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier escreveu: Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during

[OE-core] [PATCH] runqemu: If using a vmtype image do not add the -no-reboot flag

2020-06-25 Thread Jason Wessel
There is no way to use runqemu and turn off the no-reboot flag with a command line argument. If someone really wants it back it can be added with the qemuparams="" argument. Also if you use the "halt -p" from user space, the qemu will exit when it is complete. It is impossible to test self

Re: [OE-core] Status of Go support

2020-06-25 Thread Khem Raj
On 6/25/20 9:43 AM, Otavio Salvador wrote: > Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier > escreveu: >> Am 24.06.20 um 22:24 schrieb Otavio Salvador: >>> Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier >>> escreveu: The go-mod.bbclass download data from the

Re: [OE-core] Status of Go support

2020-06-25 Thread Otavio Salvador
Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier escreveu: > Am 24.06.20 um 22:24 schrieb Otavio Salvador: > > Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier > > escreveu: > >> The go-mod.bbclass download data from the internet during do_compile. If > >> you cut the

Re: [OE-core] [PATCH 1/2] icu: merge .inc into main recipe

2020-06-25 Thread Steve Sakoman
On Thu, Jun 25, 2020 at 6:09 AM Alexander Kanavin wrote: > > I think you may have to recreate them by hand. OK, I'll put together a patch for the 66.1 recipe in dunfell that implements the changes you have in the second patch of the series. In the interest of minimizing changes I'll keep the

Re: [OE-core] Distro name

2020-06-25 Thread Khem Raj
On 6/25/20 3:52 AM, Pankaj Vinadrao Joshi wrote: > Hi, > i have built image for raspberrypi4-64 using openembedded-core and i am > trying to run some test specific to lkp but i am getting issue with the > distro > which is nodistro.0 but the test needs distro for it > > i am attaching the

Re: [OE-core] [PATCH 1/2] icu: merge .inc into main recipe

2020-06-25 Thread Alexander Kanavin
I think you may have to recreate them by hand. Alex On Thu, 25 Jun 2020 at 18:04, Steve Sakoman wrote: > Is this patch series suitable for dunfell as-is (the concern being the > contents of the version bump) or would a backport to 66.1 be > necessary? > > Steve > > On Tue, Jun 23, 2020 at

Re: [OE-core] [PATCH 1/2] icu: merge .inc into main recipe

2020-06-25 Thread Steve Sakoman
Is this patch series suitable for dunfell as-is (the concern being the contents of the version bump) or would a backport to 66.1 be necessary? Steve On Tue, Jun 23, 2020 at 11:09 AM Alexander Kanavin wrote: > > Both parts are rather convoluted, so it is better to have them in a single > file.

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during do_compile. If you cut the internet connection after a do_fetch the do_compile failed: Yes, this was the better we

Re: [OE-core] Distro name

2020-06-25 Thread Pankaj Vinadrao Joshi
Thanks paul,thanks for suggestion sure i will definitely go through online tutorial but what i read from openemdedded document is , https://www.openembedded.org/wiki/OpenEmbedded-Core Distro-less (DISTRO = "nodistro" and default values are used) what why i am bit confused about distro.In Yocto

Re: [OE-core] [PATCH 1/1 v3] python3-setuptools: patch entrypoints for faster initialization

2020-06-25 Thread Alexander Kanavin
Unfortunately I have to add a revert of this, as the patch is really not possible to rebase onto latest setuptools. Please submit it upstream and get it accepted there first. Alex On Wed, 24 Jun 2020 at 01:43, Trevor Gamblin wrote: > setuptools' pkg_resources module has major performance

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

2020-06-25 Thread Rahul Kumar
Source: git://sourceware.org/git/bzip2-tests.git Type: Enhancement Description: bzip2 now has a test suite available at git://sourceware.org/git/bzip2-tests.git. This is a collection of "interesting" .bz2 files that can be used to test bzip2 works correctly. They come from different projects.

[OE-core] ✗ patchtest: failure for ttf-fonts: Update ttf-ubuntu-font-family recipe

2020-06-25 Thread Patchwork
== Series Details == Series: ttf-fonts: Update ttf-ubuntu-font-family recipe Revision: 1 URL : https://patchwork.openembedded.org/series/24835/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core][PATCH] ttf-fonts: Update ttf-ubuntu-font-family recipe

2020-06-25 Thread Daniel Gomez
Current version 0.80 is no longer available with the link in the recipe. Update it to use 0.83 version. Signed-off-by: Daniel Gomez --- ...ont-family_0.80.bb => ttf-ubuntu-font-family_0.83.bb} | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename

Re: [OE-core] Distro name

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:52, Pankaj Vinadrao Joshi wrote: > > [Edited Message Follows] > > Hi, > i have built image for raspberrypi4-64 using openembedded-core and i am > trying to run some test specific to lkp but i am getting issue with the distro > which is nodistro.0 but the test needs

[OE-core] Distro name

2020-06-25 Thread Pankaj Vinadrao Joshi
[Edited Message Follows] Hi, i have built image for raspberrypi4-64 using openembedded-core and i am trying to run some test specific to lkp but i am getting issue with the distro which is nodistro.0 but the test needs distro for it i am attaching the output of  os-realease *ID=nodistro*

[OE-core] Distro name

2020-06-25 Thread Pankaj Vinadrao Joshi
Hi, i have built image for raspberrypi4-64 using openembedded-core and i am trying to run some test specific to lkp but i am getting issue with the distro which is nodistro.0 but the test needs distro for it i am attaching the output of  os-realease *ID=nodistro* *NAME="OpenEmbedded"*

Re: [OE-core] [PATCH v2 26/26] package_manager: Rename PkgsList classes

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Rename all *PkgsList classeds to PkgsList to enable dynamic calling. > > Signed-off-by: Fredrik Gustafsson > --- > .../oe/package_managers/deb/package_manager.py| 4 ++-- > .../oe/package_managers/ipk/package_manager.py| 12

Re: [OE-core] [PATCH v2 22/26] package_manager: Rename Indexer classes

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Rename all *Indexer classeds to PkgIndexer to enable dynamic calling. Typo: classes. > > Signed-off-by: Fredrik Gustafsson > --- > meta/lib/oe/package_manager.py| 22 +-- >

Re: [OE-core] [PATCH v2 21/26] package_manager.py: Move DpkgIndexer

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Let the code that is only used by opkg package manager live in that Typo here: This commit moves the dpkg indexer not the opkg one. -- Paul Barker Konsulko Group -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [OE-core] [PATCH v2 14/26] rootfs.py: Dynamic load of rootfs

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Decide which rootfs we should load in run time without any hard coded > values but look at which package type that is used. > > Signed-off-by: Fredrik Gustafsson > --- > meta/lib/oe/package_managers/deb/rootfs.py | 4 +- >

Re: [OE-core] [PATCH v2 18/26] package_manager: Rename RpmPM to PkgPM, etc.

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Rename all *PM classeds to PkgPM for consistency sake and cleanup some Type: classes. > naming that now can be improved. > > Signed-off-by: Fredrik Gustafsson > --- > meta/lib/oe/package_manager.py| 4 +-- >

Re: [OE-core] [PATCH v2 06/26] manifest.py: Dynamic load of manifest

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Decide which manifest we should load in run time without any hard coded > values but look at which package type that is used. > > Signed-off-by: Fredrik Gustafsson > --- > meta/lib/oe/manifest.py | 10 ++-- >

Re: [OE-core] [PATCH v2 02/26] package_managers: Add directory structure

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > This is first part of a refactoring to split up the package managers to > different files making it easier to extend OE-Core with more package > managers. > > Signed-off-by: Fredrik Gustafsson > --- >

Re: [OE-core] [PATCH v2 10/26] sdk.py: Dynamic load of sdk

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Decide which sdk we should load in run time without any hard coded > values but look at which package type that is used. > > Signed-off-by: Fredrik Gustafsson > --- > meta/lib/oe/package_managers/deb/sdk.py | 4 ++-- >

Re: [OE-core] [PATCH v2 01/26] nopackages.bbclass: Get tasks from variable

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:22, Fredrik Gustafsson wrote: > > Get tasks from a variable instead of having them hardcoded. This will > enable other layers to add tasks that should be deleted when nopackages > is used. > > Signed-off-by: Fredrik Gustafsson > --- > meta/classes/nopackages.bbclass |

Re: [OE-core] Add package managers as a plugin

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 11:21, Fredrik Gustafsson wrote: > > Poky today has three different package managers, the well-known formats deb > and rpm is supported as well as ipkg that is good for embedded devices. > > When building and having a good cache hit, a significant amount of time is > spent

Re: [OE-core] Add package managers as a plugin

2020-06-25 Thread Alexander Kanavin
Apologies, but these metrics do not look particularly convincing - 15s vs 20s? Can you try it with an image several gigabytes in size? Core-image-sato-sdk-ptest is a good option. Alex On Thu, 25 Jun 2020 at 12:14, Fredrik Gustafsson < fredrik.gustafs...@axis.com> wrote: > Poky today has three

[OE-core] [PATCH v2 24/26] package_manager.py: Move OpkgPkgsList

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by opkg package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 27 -- .../package_managers/ipk/package_manager.py | 85 +++ meta/lib/oe/rootfs.py

[OE-core] [PATCH v2 07/26] sdk.py: Move RpmSdk

2020-06-25 Thread Fredrik Gustafsson
Let the sdk only used by the rpm package manager live in the rpm directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/rpm/sdk.py | 113 meta/lib/oe/sdk.py | 106 +- 2 files changed, 115 insertions(+), 104

[OE-core] [PATCH v2 02/26] package_managers: Add directory structure

2020-06-25 Thread Fredrik Gustafsson
This is first part of a refactoring to split up the package managers to different files making it easier to extend OE-Core with more package managers. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/deb/__init__.py | 3 +++ meta/lib/oe/package_managers/ipk/__init__.py | 3 +++

[OE-core] [PATCH v2 21/26] package_manager.py: Move DpkgIndexer

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by opkg package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 74 --- .../package_managers/deb/package_manager.py | 74 +++ 2 files

[OE-core] [PATCH v2 06/26] manifest.py: Dynamic load of manifest

2020-06-25 Thread Fredrik Gustafsson
Decide which manifest we should load in run time without any hard coded values but look at which package type that is used. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 10 ++-- meta/lib/oe/package_managers/deb/manifest.py | 2 +-

[OE-core] [PATCH v2 20/26] package_manager.py: Move OpkgIndexer

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by opkg package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 53 --- .../package_managers/ipk/package_manager.py | 52 ++ 2 files

[OE-core] [PATCH v2 18/26] package_manager: Rename RpmPM to PkgPM, etc.

2020-06-25 Thread Fredrik Gustafsson
Rename all *PM classeds to PkgPM for consistency sake and cleanup some naming that now can be improved. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 4 +-- .../package_managers/deb/package_manager.py | 4 +--

[OE-core] [PATCH v2 17/26] package_manager.py: Move OpkgPM

2020-06-25 Thread Fredrik Gustafsson
Let the package_manager only used by the ipk package manager live in the ipk directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 419 - .../package_managers/ipk/package_manager.py | 426 ++

[OE-core] [PATCH v2 13/26] rootfs.py: Move OpkgRootfs

2020-06-25 Thread Fredrik Gustafsson
Let the rootfs only used by the ipk package manager live in the ipk directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/ipk/rootfs.py | 381 + meta/lib/oe/rootfs.py | 268 +-- 2 files changed, 383 insertions(+), 266

[OE-core] [PATCH v2 22/26] package_manager: Rename Indexer classes

2020-06-25 Thread Fredrik Gustafsson
Rename all *Indexer classeds to PkgIndexer to enable dynamic calling. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 22 +-- .../package_managers/deb/package_manager.py | 8 +-- .../package_managers/ipk/package_manager.py | 7

[OE-core] [PATCH v2 10/26] sdk.py: Dynamic load of sdk

2020-06-25 Thread Fredrik Gustafsson
Decide which sdk we should load in run time without any hard coded values but look at which package type that is used. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/deb/sdk.py | 4 ++-- meta/lib/oe/package_managers/ipk/sdk.py | 4 ++--

[OE-core] [PATCH v2 16/26] package_manager.py: Move DpkgPM

2020-06-25 Thread Fredrik Gustafsson
Let the package_manager only used by the dpkg package manager live in the dpkg directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 328 -- .../package_managers/deb/package_manager.py | 402 ++

[OE-core] [PATCH v2 19/26] package_manager.py: Move RpmIndexer

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by rpm package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 36 --- .../package_managers/rpm/package_manager.py | 36 +++ 2 files

[OE-core] [PATCH v2 15/26] package_manager.py: Move RpmPM

2020-06-25 Thread Fredrik Gustafsson
Let the package_manager only used by the rpm package manager live in the rpm directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 358 + .../package_managers/rpm/package_manager.py | 363 ++ 2 files changed, 364

[OE-core] [PATCH v2 11/26] rootfs.py: Move RpmRootfs

2020-06-25 Thread Fredrik Gustafsson
Let the rootfs only used by the rpm package manager live in the rpm directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/rpm/rootfs.py | 147 + meta/lib/oe/rootfs.py | 142 +--- 2 files changed, 149 insertions(+),

[OE-core] [PATCH v2 12/26] rootfs.py: Move DpkgRootfs

2020-06-25 Thread Fredrik Gustafsson
Let the rootfs only used by the dpkg package manager live in the dpkg directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/deb/rootfs.py | 473 + meta/lib/oe/rootfs.py | 93 +--- 2 files changed, 475 insertions(+), 91

[OE-core] [PATCH v2 25/26] package_manager.py: Move DpkgPkgsList

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by dpkg package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py| 79 --- .../package_managers/deb/package_manager.py | 79 +++

[OE-core] [PATCH v2 14/26] rootfs.py: Dynamic load of rootfs

2020-06-25 Thread Fredrik Gustafsson
Decide which rootfs we should load in run time without any hard coded values but look at which package type that is used. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/deb/rootfs.py | 4 +- meta/lib/oe/package_managers/ipk/rootfs.py | 4 +-

[OE-core] [PATCH v2 23/26] package_manager.py: Move RpmPkgsList

2020-06-25 Thread Fredrik Gustafsson
Let the code that is only used by rpm package manager live in that package manager owned directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_manager.py | 5 - meta/lib/oe/package_managers/rpm/package_manager.py | 4 meta/lib/oe/rootfs.py

[OE-core] [PATCH v2 05/26] manifest: Move OpkgManifest

2020-06-25 Thread Fredrik Gustafsson
Let the manifest only used by the ipk package manager live in the ipk directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 71 +- meta/lib/oe/package_managers/ipk/manifest.py | 76 meta/lib/oe/rootfs.py

[OE-core] [PATCH v2 26/26] package_manager: Rename PkgsList classes

2020-06-25 Thread Fredrik Gustafsson
Rename all *PkgsList classeds to PkgsList to enable dynamic calling. Signed-off-by: Fredrik Gustafsson --- .../oe/package_managers/deb/package_manager.py| 4 ++-- .../oe/package_managers/ipk/package_manager.py| 12 +++- .../oe/package_managers/rpm/package_manager.py| 2 +-

[OE-core] [PATCH v2 03/26] manifest: Move RpmManifest

2020-06-25 Thread Fredrik Gustafsson
Let the manifest only used by the rpm package manager live in the rpm directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 51 +- meta/lib/oe/package_managers/rpm/manifest.py | 57 meta/lib/oe/rootfs.py

[OE-core] [PATCH v2 09/26] sdk.py: Move OpkgSdk

2020-06-25 Thread Fredrik Gustafsson
Let the sdk only used by the ipk package manager live in the ipk directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/ipk/sdk.py | 93 + meta/lib/oe/sdk.py | 84 +- 2 files changed, 94 insertions(+), 83

[OE-core] Add package managers as a plugin

2020-06-25 Thread Fredrik Gustafsson
Poky today has three different package managers, the well-known formats deb and rpm is supported as well as ipkg that is good for embedded devices. When building and having a good cache hit, a significant amount of time is spent in the phase of generating a rootfs, which is really about the

[OE-core] [PATCH v2 01/26] nopackages.bbclass: Get tasks from variable

2020-06-25 Thread Fredrik Gustafsson
Get tasks from a variable instead of having them hardcoded. This will enable other layers to add tasks that should be deleted when nopackages is used. Signed-off-by: Fredrik Gustafsson --- meta/classes/nopackages.bbclass | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-)

[OE-core] [PATCH v2 08/26] sdk.py: Move DpkgSdk

2020-06-25 Thread Fredrik Gustafsson
Let the sdk only used by the dpkg package manager live in the dpkg directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/package_managers/deb/sdk.py | 94 + meta/lib/oe/sdk.py | 86 +- 2 files changed, 95 insertions(+), 85

[OE-core] [PATCH v2 04/26] manifest: Move DpkgManifest

2020-06-25 Thread Fredrik Gustafsson
Let the manifest only used by the dpkg package manager live in the dpkg directory. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 23 + meta/lib/oe/package_managers/deb/manifest.py | 27 meta/lib/oe/rootfs.py

[OE-core] Add package managers as a plugin

2020-06-25 Thread Fredrik Gustafsson
Poky today has three different package managers, the well-known formats deb and rpm is supported as well as ipkg that is good for embedded devices. When building and having a good cache hit, a significant amount of time is spent in the phase of generating a rootfs, which is really about the

[OE-core] [V3][PATCH] xinit: add rxvt-unicode in RDEPENDS

2020-06-25 Thread Changqing Li
From: Changqing Li fix below error: /etc/X11/xinit/xinitrc: line 55: exec: xterm: not found by default, xinit will generate /etc/X11/xinit/xinitrc, and have below config in it: XTERM -geometry 80x50+494+51 & XTERM -geometry 80x20+494-0 & exec XTERM -geometry 80x66+0+0 -name login the default

Re: [OE-core] [PATCH] checklayer: parse LAYERDEPENDS with bb.utils.explode_dep_versions2()

2020-06-25 Thread Nicolas Dechesne
On Thu, Jun 25, 2020 at 9:59 AM Nicolas Dechesne wrote: > > LAYERDEPENDS is a string of this format: > "DEPEND1 (optional version) DEPEND2 (optional version) ..." > > However when we parse LAYERDEPENDS in _get_layer_collections() we > parse it as a simple string, and if any optional versions are

[OE-core] [PATCH] python3-setuptools: update to 47.3.0

2020-06-25 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- ...hon3-setuptools_47.1.1.bb => python3-setuptools_47.3.0.bb} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools_47.1.1.bb =>

[OE-core] [PATCH] checklayer: parse LAYERDEPENDS with bb.utils.explode_dep_versions2()

2020-06-25 Thread Nicolas Dechesne
LAYERDEPENDS is a string of this format: "DEPEND1 (optional version) DEPEND2 (optional version) ..." However when we parse LAYERDEPENDS in _get_layer_collections() we parse it as a simple string, and if any optional versions are there the 'depends' field is wrong. For example, running

Re: [OE-core] package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 08:04, Rahul Kumar wrote: > > Hi khem Raj, > > Create a patch to update.sample where it asks for /bin/sh instead > > I don't think we can create a patch to update.sample file because this is git > hidden file. > > .git/hooks/update.sample > > In my Patch fetching

Re: [OE-core] package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest

2020-06-25 Thread Rahul Kumar
Hi khem Raj, Create a patch to update.sample where it asks for /bin/sh instead I don't think we can create a patch to update.sample file because this is git hidden file. .git/hooks/update.sample In my Patch fetching bzip2-tests.git repository as mentioned below Is there any issue with below

Re: [OE-core] [PATCH][dunfell] u-boot: introduce UBOOT_INITIAL_ENV

2020-06-25 Thread Andreas Müller
On Thu, Jun 18, 2020 at 5:19 PM Andreas Müller wrote: > > From: Ming Liu > > It defaults to ${PN}-initial-env, no functional changes with current > implementation, but this allows it to be changed in individual u-boot > recipes. > > If UBOOT_INITIAL_ENV is empty, then no initial env would be