Re: [OE-core] [PATCH] meson: add sysroot property

2020-09-30 Thread Khem Raj
On Wed, Sep 30, 2020 at 9:40 AM Alexander Kanavin wrote: > > Wait, how does it work in native meson then? > native technical is not cross compiled but nativesdk is in a way same as building a target package. > Alex > > On Wed 30. Sep 2020 at 17.06, ayaka wrote: >> >> I know the environment setu

Re: [OE-core] [PATCH] meson: add sysroot property

2020-09-30 Thread Randy Li
On 01/10/2020 00:40, Alexander Kanavin wrote: Wait, how does it work in native meson then? It is the nativesdk meson has this problem, that is what cross build requests for. You can try the Intel MediaSDK, I reported this issue to Gstreamer for this but it comes to the issue of OE. Or you

Re: [OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Khem Raj
On Wed, Sep 30, 2020 at 3:19 PM Otavio Salvador wrote: > > Em qua., 30 de set. de 2020 às 18:55, Khem Raj escreveu: > > On Wed, Sep 30, 2020 at 2:41 PM Otavio Salvador > > wrote: > > > > > > Em qua., 30 de set. de 2020 às 18:31, Khem Raj > > > escreveu: > > > > On Wed, Sep 30, 2020 at 2:17 PM

Re: [OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Otavio Salvador
Em qua., 30 de set. de 2020 às 18:55, Khem Raj escreveu: > On Wed, Sep 30, 2020 at 2:41 PM Otavio Salvador > wrote: > > > > Em qua., 30 de set. de 2020 às 18:31, Khem Raj > > escreveu: > > > On Wed, Sep 30, 2020 at 2:17 PM Otavio Salvador > > > wrote: > > > > diff --git a/meta/recipes-graphics

[OE-core][dunfell 38/41] wic: Add --offset argument for partitions

2020-09-30 Thread Steve Sakoman
From: Joshua Watt Add support for an --offset argument when defining a partition. Many SoCs require that boot partitions be located at specific offsets. Prior to this argument, most WKS files were using the --align attribute to specify the location of these fixed partitions but this is not ideal

[OE-core][dunfell 33/41] kernel-yocto: add KBUILD_DEFCONFIG search location to failure message

2020-09-30 Thread Steve Sakoman
From: Bruce Ashfield It was pointed out that since the check for the existence of KBUILD_DEFCONFIG knows where it is looking, that should be part of the error/log message. We only look in one location for the defconfigs, so add where we checked to the message. Signed-off-by: Bruce Ashfield Sig

[OE-core][dunfell 40/41] wic: Fix error message when reporting invalid offset

2020-09-30 Thread Steve Sakoman
From: Joshua Watt The error message was reporting the calculated offset instead of the current offset, which made it confusing. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie (cherry picked from commit 2be775cfe1b49ce3889b5dc326e2b67a9667f18a) Signed-off-by: Steve Sakoman --- scrip

[OE-core][dunfell 31/41] openssh: Allow enable/disable of rng-tools recommendation on sshd

2020-09-30 Thread Steve Sakoman
From: Otavio Salvador We are adding a new PACKAGECONFIG option ('rng-tools') to control if we wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are enabling it by default so there is no behavior change. Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie (cherry picked

[OE-core][dunfell 41/41] wic: Add 512 Byte alignment to --offset

2020-09-30 Thread Steve Sakoman
From: Joshua Watt Allows the --offset argument to use the "s" or "S" suffix to specify that it is reporting the number of 512 byte sectors. This is required for some SoCs where the mask ROM looks for an item at a sector that isn't aligned to a 1KB boundary. Signed-off-by: Joshua Watt Signed-of

[OE-core][dunfell 37/41] lttng-modules: backport writeback.h changes from 2.12.x to fix kernel 5.4.62+

2020-09-30 Thread Steve Sakoman
From: Bruce Ashfield Backporting the kernel version changes for writeback.h to fix compilation against kernel stable versions 5.4.62+ This is a combination of upstream commits: 87b2aff [fix: writeback: Fix sync livelock due to b_dirty_time processing (v5.9)] b74b25f [fix: version ranges for

[OE-core][dunfell 39/41] wic: Fix --extra-space argument handling

2020-09-30 Thread Steve Sakoman
From: Joshua Watt 467f84e12b ("wic: Add --offset argument for partitions") broke the --extra-space argument handling in wic. Fix the option and add a unit test for the argument. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie (cherry picked from commit 87722a92c18f94917c8f70afc8cd0763

[OE-core][dunfell 30/41] sysvinit rc: Use PSPLASH_FIFO_DIR for progress fifo

2020-09-30 Thread Steve Sakoman
From: Michael Gloff psplash expects the fifo to be in /run or specified by PSPLASH_FIFO_DIR. This patch allows psplash to quit normally. Also, fix the work around of using echo directly into the fifo and use psplash-write. Signed-off-by: Michael Gloff Signed-off-by: Richard Purdie (cherry pick

[OE-core][dunfell 36/41] linux-yocto/5.4: update to v5.4.65

2020-09-30 Thread Steve Sakoman
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6c3d34dea2fc Linux 5.4.65 ddb279d64b72 net: disable netpoll on fresh napis 09c45065257b tipc: fix shutdown() of connectionless socket b95eb482c288 taprio: Fix us

[OE-core][dunfell 35/41] linux-yocto/5.4: update to v5.4.64

2020-09-30 Thread Steve Sakoman
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6ffabce36fc8 Linux 5.4.64 beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 58c3e86d42d2 cfg80211: regulatory: reject invalid hints 08ee

[OE-core][dunfell 34/41] linux-yocto/config: netfilter: Enable nat for ipv4 and ipv6

2020-09-30 Thread Steve Sakoman
From: Bruce Ashfield Integrating the following commit(s): 80452c7c245 netfilter: Enable nat for ipv4 and ipv6 Signed-off-by: Bruce Ashfield (cherry picked from commit 788623ab2913e760da9405de1c3a2633140122eb) Signed-off-by: Steve Sakoman --- meta/recipes-kernel/linux/linux-yocto-rt_5.4.b

[OE-core][dunfell 32/41] sstate.bbclass: Check file ownership before doing 'touch -a'

2020-09-30 Thread Steve Sakoman
From: Norman Stetter In contrast to 'touching' a file without parameters 'touch -a' can only be performed by the file owner. In case of a shared sstate-cache served locally (e.g. over NFS), where the user running bitbake is not the owner of sstate-cache files, even if he has write access on grou

[OE-core][dunfell 25/41] oeqa/selftest/incompatible_lib: Fix append usage

2020-09-30 Thread Steve Sakoman
From: Richard Purdie It's pure luck this has worked so far, add a missing space to the append. Signed-off-by: Richard Purdie (cherry picked from commit 793e0575b1cebb953276b5f93ff31e48c19779c8) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/incompatible_lic.py | 2 +- 1 file ch

[OE-core][dunfell 24/41] oeqa/qemurunner: Increase serial timeout

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Increase the serial login timeout from 60 to 120s. This seems like a long time, however for a qemumips image with systemd+PAM and openssh, (e.g. core-image-sato-sdk + DISTRO=poky-altcfg), the getty connects to systemd's pam module which waits on logind and 45s for all this to

[OE-core][dunfell 26/41] oeqa/selftest/containerimage: Update to match assumptions in configuration

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys. It also doesn't work with systemd. Update the configuration to make sure neither of these effect the test. Signed-off-by: Richard Purdie (cherry picked from commit e2f277657f1db6a0f805ac07d318a3850535d69

[OE-core][dunfell 27/41] ssh-pregen-hostkeys: Add a recipe with pregenerated ssh host keys

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Host keys are getting bigger and taking an ever increasing amount of time to generate. Whilst we do need to test that works, we don't need to test it in every image. Add a recipe which can be added to images with pre-generated keys, allowing us to speed up tests on the autobu

[OE-core][dunfell 28/41] bash: fix CVE-2019-18276

2020-09-30 Thread Steve Sakoman
From: De Huo An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and o

[OE-core][dunfell 29/41] packagegroup: rrecommend perf also for musl on ARM

2020-09-30 Thread Steve Sakoman
From: Christian Eggers The perf recipe builds fine for musl on ARM. Fixes: d758a4445a ("packagegroup: Disable packages not available on musl") Signed-off-by: Christian Eggers Signed-off-by: Richard Purdie (cherry picked from commit 7a905f66d3a6d9018b18c1a8021c1cb8bf7d12ac) Signed-off-by: Steve

[OE-core][dunfell 22/41] buildtools: Handle generic environment setup injection

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Currently buildtools has its own hacked environment setup. We added capability for generic script fragements but this code was never updated to use it even if several components it contains needs it. Remove a hardcoded variable in favour of the generic scripts to avoid bugs

[OE-core][dunfell 23/41] buildtools-tarball: Fix conflicts with oe-selftest and other tooling

2020-09-30 Thread Steve Sakoman
From: Richard Purdie OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence we were seeing selftest failures when newer buildtools-tarballs that use this were run on the autobuilder. Unset the variable after use to avoid these issues. Signed-off-by: Richard Purdie (cherry picked f

[OE-core][dunfell 20/41] curl: Change SRC_URI from http to https

2020-09-30 Thread Steve Sakoman
From: Randy MacLeod The official links on: https://curl.haxx.se/download.html use https now and we're seeing this warning: WARNING: curl-native-7.72.0-r0 do_fetch: Failed to fetch URL http://curl.haxx.se/download/curl-7.72.0.tar.bz2, attempting MIRRORS if available Signed-off-by: Randy M

[OE-core][dunfell 11/41] cve-update-db-native: remove unused variable

2020-09-30 Thread Steve Sakoman
From: Chris Laplante Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit 790f8a5bfbd1851226fa5fc5b09e79f6396e747d) Signed-off-by: Steve Sakoman --- meta/recipes-core/meta/cve-update-db-native.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes

[OE-core][dunfell 10/41] cve-update-db-native: move -journal checking into do_fetch

2020-09-30 Thread Steve Sakoman
From: Chris Laplante It was always questionable to do this in an anonymous function, but now with multiconfig it is a critical mistake and leads to more strange "Exception: sqlite3.OperationalError: disk I/O error" errors. Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry pic

[OE-core][dunfell 02/41] python3-jinja2: Import from meta-oe/meta-python

2020-09-30 Thread Steve Sakoman
From: Richard Purdie This is used by some of the results handling code and needed as part of buildtools tarball on various autobuilder worker for testing. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim O

[OE-core][dunfell 14/41] insane: Check for feature check variables not being used

2020-09-30 Thread Steve Sakoman
From: Jacob Kroon Add a package QA check for wether any of the variables used by features_check.bbclass is set while not inheriting the class itself. Signed-off-by: Jacob Kroon Signed-off-by: Richard Purdie (cherry picked from commit c06489d102682504afe33f9fee3facd9628b3f57) Signed-off-by: Ste

[OE-core][dunfell 07/41] xserver-xorg: fix CVE-2020-14346/14361/14362

2020-09-30 Thread Steve Sakoman
From: Chee Yang Lee fix : CVE-2020-14346 https://gitlab.freedesktop.org/xorg/xserver/-/commit/c940cc8b6c0a2983c1ec974f1b3f019795dd4cff CVE-2020-14361 https://gitlab.freedesktop.org/xorg/xserver/-/commit/144849ea27230962227e62a943b399e2ab304787 CVE-2020-14362 https://gitlab.freedesktop.org/xorg/

[OE-core][dunfell 16/41] xinput-calibrator: change SRC_URI to branch with libinput support

2020-09-30 Thread Steve Sakoman
Since "conf: Use xf86-input-libinput by default" [1] there are reports [2] of xinput-calibrator failing because it expects xf86-input-evdev and with the above patch xf86-input-libinput takes precedence. Fix this issue by using a branch of xinput calibrator which supports xf86-input-libinput. [1]

[OE-core][dunfell 08/41] libx11: fix CVE-2020-14363

2020-09-30 Thread Steve Sakoman
From: Chee Yang Lee Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman --- .../xorg-lib/libx11/CVE-2020-14363.patch | 36 +++ .../recipes-graphics/xorg-lib/libx11_1.6.9.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-graphics/xorg-lib/l

[OE-core][dunfell 13/41] sato-screenshot: improve .la removal

2020-09-30 Thread Steve Sakoman
From: Ross Burton Don't assume that the .la files are installed, because some libtool alternatives don't install these. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit e545ae3a796ceb4e2a468e9ec53cebfed721) Signed-off-by: Steve Sakoman --- meta/recipes-

[OE-core][dunfell 18/41] testexport: rename create_tarball method

2020-09-30 Thread Steve Sakoman
From: Konrad Weihmann as otherwise when using it in combination with archiver.bbclass we would have 2 methods of the same name but with different signatures leading to various hard to understand exceptions Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][dunfell 17/41] dropbear/openssh: Lower priority of key generation

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Where we have images with PAM+systemd, serial login can be extremely slow. The load generated by key generation does slow down the rest of the boot process. Lower the priority level of these systemd services, since we'd prefer to have the rest of the system boot more effecti

[OE-core][dunfell 19/41] packagegroups: remove strace and lttng-tools for rv32/musl

2020-09-30 Thread Steve Sakoman
From: Khem Raj These tools are not yet ported to rv32/musl Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit cf963ef65d524256c2d00e0588cd3b8b7ef56ff4) Signed-off-by: Steve Sakoman --- .../packagegroups/packagegroup-core-tools-debug.bb | 5 - .../p

[OE-core][dunfell 03/41] buildtools-tarball: Add python3-jinja2

2020-09-30 Thread Steve Sakoman
From: Richard Purdie This is used by various pieces of the result handling code, particularly the performance testing and we're seeing autobuilder failures that are easiest resolved using this. Acked-by: Tim Orling Signed-off-by: Tim Orling Signed-off-by: Richard Purdie (cherry picked from co

[OE-core][dunfell 09/41] cve-update-db-native: be less magical about checking whether the cve-check class is enabled

2020-09-30 Thread Steve Sakoman
From: Chris Laplante Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit cbc717350b21fb417fa6f83621022ac633a26124) Signed-off-by: Steve Sakoman --- meta/recipes-core/meta/cve-update-db-native.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -

[OE-core][dunfell 04/41] site: Make sys_siglist default to no

2020-09-30 Thread Steve Sakoman
From: Khem Raj glibc 2.32 has deprecated sys_siglist [1] since no is default for musl as well, therefore elevate it to common site file for all [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=b1ccfc061feee9ce616444ded8e1cd5acf9fa97f Signed-off-by: Khem Raj Signed-off-by: Richard Purdi

[OE-core][dunfell 01/41] python3-markupsafe: Import from meta-oe/meta-python

2020-09-30 Thread Steve Sakoman
From: Richard Purdie Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling Signed-off-by: Tim Orling Signed-off-by: Richard Purdie (cherry picked from commit a

[OE-core][dunfell 05/41] qemu : fix CVE-2020-16092

2020-09-30 Thread Steve Sakoman
From: Chee Yang Lee Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2020-16092.patch| 45 +++ 2 files changed, 46 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/

[OE-core][dunfell 06/41] bash : inlcude patch 17 & 18

2020-09-30 Thread Steve Sakoman
From: Chee Yang Lee Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman --- meta/recipes-extended/bash/bash_5.0.bb | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-extended/bash/bash_5.0.bb b/meta/recipes-extended/bash/bash_5.0.bb index 8ff9e6edaf..12d472be57 1006

[OE-core][dunfell 12/41] alsa-plugins: improve .la removal

2020-09-30 Thread Steve Sakoman
From: Ross Burton Don't assume that the .la files are installed, because some libtool alternatives don't install these. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit e92b24368b71e4b178f81097b2a8d141c3b65481) Signed-off-by: Steve Sakoman --- meta/recipes-

[OE-core][dunfell 21/41] meta: add/fix invalid Upstream-Status tags

2020-09-30 Thread Steve Sakoman
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 630ce8130598e2bca7231ac28a7cc18b5b942544) Signed-off-by: Steve Sakoman --- ...1-setup.py-pass-missing-libraries-to-Extension-for-mul.patch | 2 +- .../qemu/qemu/0001-qemu-Do-not-include-file-

[OE-core][dunfell 15/41] insane: check for missing update-alternatives inherit

2020-09-30 Thread Steve Sakoman
From: Andrey Zhizhikin Add a package QA check to test if the recipe sets ALTERNATIVE variable for any of its packages, and does not inherit update-alternatives class. This causes the do_rootfs to fail since a proper alternative cannot be created. Signed-off-by: Andrey Zhizhikin Signed-off-by: R

[OE-core][dunfell 00/41] Patch review

2020-09-30 Thread Steve Sakoman
Please review this next set of patches for dunfell and have comments back by end of day Friday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1440 The following changes since commit b39bda4cc62db12c0edfbe489d5a7f5988ede6a9: build-appliance-ima

Re: [OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Khem Raj
On Wed, Sep 30, 2020 at 2:41 PM Otavio Salvador wrote: > > Em qua., 30 de set. de 2020 às 18:31, Khem Raj escreveu: > > On Wed, Sep 30, 2020 at 2:17 PM Otavio Salvador > > wrote: > > > diff --git a/meta/recipes-graphics/wayland/weston-init/weston@.service > > > b/meta/recipes-graphics/wayland/w

Re: [OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Otavio Salvador
Em qua., 30 de set. de 2020 às 18:31, Khem Raj escreveu: > On Wed, Sep 30, 2020 at 2:17 PM Otavio Salvador > wrote: > > diff --git a/meta/recipes-graphics/wayland/weston-init/weston@.service > > b/meta/recipes-graphics/wayland/weston-init/weston@.service > > index 0a1df15bdf..ce8f4fb71a 100644 >

[OE-core] [dunfell][PATCH v2] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-30 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuilder, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native recreating

[OE-core] [PATCH] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-30 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuilder, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native recreating

Re: [OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Khem Raj
On Wed, Sep 30, 2020 at 2:17 PM Otavio Salvador wrote: > > From: Fabio Berton > > The /etc/default/weston file is already installed and it can be used > as systemd EnvironmentFile. > > Signed-off-by: Fabio Berton > Signed-off-by: Otavio Salvador > --- > > meta/recipes-graphics/wayland/weston-i

[OE-core] [PATCH] weston-init: Add environment file support for systemd unit file

2020-09-30 Thread Otavio Salvador
From: Fabio Berton The /etc/default/weston file is already installed and it can be used as systemd EnvironmentFile. Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston-init/weston@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/met

Re: [OE-core] [PATCH] meson: add sysroot property

2020-09-30 Thread Alexander Kanavin
Wait, how does it work in native meson then? Alex On Wed 30. Sep 2020 at 17.06, ayaka wrote: > I know the environment setup script would set PKG_CONFIG_PATH, > > but the meson won't take that env when translate the includedir > > property from the pkg-config. > > > > Signed-off-by: ayaka > > -

[OE-core] [PATCH] meson: add sysroot property

2020-09-30 Thread Randy Li
I know the environment setup script would set PKG_CONFIG_PATH, but the meson won't take that env when translate the includedir property from the pkg-config. Signed-off-by: ayaka --- meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/rec

[OE-core] Ongoing pseudo issues and request for help

2020-09-30 Thread Richard Purdie
As people have probably gathered we have some concerns about rare file mode corruption with pseudo. This is really really rare but its not right and we need to do something about it. As discussed on list recently, we need to make pseudo abort() when it encounters such an issue rather than hacking

Re: [OE-core] [PATCH v2] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Usama Arif
On 30/09/2020 15:03, Richard Purdie wrote: On Wed, 2020-09-30 at 11:48 +0100, Usama Arif wrote: The keys are only generated if they dont exist. The key generation can be turned off by setting FIT_GENERATE_KEYS to "0". The default key length for private keys is 2048 and the default format for p

Re: [OE-core] [PATCH v2] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Richard Purdie
On Wed, 2020-09-30 at 11:48 +0100, Usama Arif wrote: > The keys are only generated if they dont exist. The key > generation can be turned off by setting FIT_GENERATE_KEYS to "0". > The default key length for private keys is 2048 and the default > format for public key certificate is x.509. > > Sig

[OE-core] [dunfell] [PATCH] sstate.bbclass: Check file ownership before doing 'touch -a'

2020-09-30 Thread Norman
>From 1e04c79c8bb89ccd238654da101ccb753816a9ba Mon Sep 17 00:00:00 2001 From: Norman Stetter Date: Fri, 25 Sep 2020 13:49:43 +0200 Subject: [dunfell] [PATCH] sstate.bbclass: Check file ownership before doing 'touch -a' In contrast to 'touching' a file without parameters 'touch -a' can only be pe

Re: [OE-core] [PATCH 1/2] bjam-native: don't do debug builds

2020-09-30 Thread Richard Purdie
On Wed, 2020-09-30 at 13:25 +0100, Ross Burton wrote: > On Tue, 29 Sep 2020 at 23:21, Richard Purdie > wrote: > > This isn't so simple unfortunately. If the binaries are stripped, > > we > > can't do the debug symbols processing, the src packages are empty > > and > > so on, it has knock on reperc

Re: [OE-core] [PATCH 1/2] bjam-native: don't do debug builds

2020-09-30 Thread Ross Burton
On Tue, 29 Sep 2020 at 23:21, Richard Purdie wrote: > This isn't so simple unfortunately. If the binaries are stripped, we > can't do the debug symbols processing, the src packages are empty and > so on, it has knock on repercussions. This is a native-specific recipe, so is that relevant? Ross

Re: [OE-core][Patch] sstate.bbclass: Check file ownership before doing 'touch -a'

2020-09-30 Thread Martin Jansa
It was merged 2 days ago: https://git.openembedded.org/openembedded-core/commit/?id=f1554e8bd40c640fd58daac18ecf7b458e754109 On Wed, Sep 30, 2020 at 9:17 AM Norman wrote: > I would be happy to get some feedback on this patch. > > Cheers, > > Norman > > > -Ursprüngliche Nachricht- > > Von

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Usama Arif
On 30/09/2020 11:22, Richard Purdie via lists.openembedded.org wrote: On Wed, 2020-09-30 at 11:14 +0100, Usama Arif wrote: On 21/09/2020 14:24, Usama Arif via lists.openembedded.org wrote: On 21/09/2020 14:03, Richard Purdie wrote: On Tue, 2020-09-08 at 13:28 +0100, Usama Arif wrote: The k

[OE-core] [PATCH v2] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Usama Arif
The keys are only generated if they dont exist. The key generation can be turned off by setting FIT_GENERATE_KEYS to "0". The default key length for private keys is 2048 and the default format for public key certificate is x.509. Signed-off-by: Usama Arif --- meta/classes/kernel-fitimage.bbclass

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Richard Purdie
On Wed, 2020-09-30 at 11:14 +0100, Usama Arif wrote: > > On 21/09/2020 14:24, Usama Arif via lists.openembedded.org wrote: > > On 21/09/2020 14:03, Richard Purdie wrote: > > > On Tue, 2020-09-08 at 13:28 +0100, Usama Arif wrote: > > > > The keys are only generated if they dont exist. The key > > >

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-30 Thread Usama Arif
On 21/09/2020 14:24, Usama Arif via lists.openembedded.org wrote: On 21/09/2020 14:03, Richard Purdie wrote: On Tue, 2020-09-08 at 13:28 +0100, Usama Arif wrote: The keys are only generated if they dont exist. The key generation can be turned off by setting FIT_GENERATE_KEYS to "0". The defa

Re: [OE-core][Patch] sstate.bbclass: Check file ownership before doing 'touch -a'

2020-09-30 Thread Norman
I would be happy to get some feedback on this patch. Cheers, Norman > -Ursprüngliche Nachricht- > Von: openembedded-core@lists.openembedded.org > [mailto:openembedded-core@lists.openembedded.org] Im Auftrag von > Norman > Gesendet: Tuesday, September 29, 2020 8:55 AM > An: Andrey Zhizhi