Re: [OE-core] [PATCH 2/2] wic/bootimg-efi: Add support for loading devicetree files

2022-08-02 Thread Jan Kiszka
On 01.08.22 16:12, Luca Ceresoli wrote: > Hello Jan, > > On Sat, 30 Jul 2022 10:24:43 +0200 > "Jan Kiszka" wrote: > >> From: Jan Kiszka >> >> For device tree using systems, add support to set a custom devices tree >> during UEFI boot. This requi

[OE-core] [PATCH 2/2] wic/bootimg-efi: Add support for loading devicetree files

2022-07-30 Thread Jan Kiszka
From: Jan Kiszka For device tree using systems, add support to set a custom devices tree during UEFI boot. This requires to copy the DTB file to the boot partition and to add the respective loader entries to the configuration files. Both grub and systemd-boot support only loading a specific

[OE-core] [PATCH 1/2] wic/bootimg-efi: Factor out some common bits

2022-07-30 Thread Jan Kiszka
From: Jan Kiszka The paths for configuring grub and systemd-boot have some common bits around copying the initrd files. This will even grow when adding dtb support. Factor this out into a class function. Along this, avoid evaluating 'create-unified-kernel-image' multiple times

Re: [OE-core] [PATCH 4/6] oe-git-proxy: disable shell pathname expansion for the whole script

2019-09-03 Thread Jan Kiszka
On 03.09.19 14:22, Henning Schild wrote: From: Henning Schild This truly fixes the issue that cbc148d5d93d5f3531434fee7b234a16196b3088 wanted to solve, without breaking the iteration over multiple entries. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 3 +++ 1 file changed, 3

Re: [OE-core] npm offline build for yocto

2019-03-07 Thread Jan Kiszka
of bitbake. https://yarnpkg.com/blog/2016/11/24/offline-mirror/ Sounds reasonable. Let me play with that, maybe try an ad-hoc integration into our layer first. Thanks, Jan Mike -Original Message- From: Jan Kiszka Sent: Thursday, March 07, 2019 3:37 AM To: Davis, Michael Cc: OE-core

[OE-core] npm offline build for yocto

2019-03-07 Thread Jan Kiszka
Hi Michael, I found your progress report (and unanswered question) on that topic in http://lists.openembedded.org/pipermail/openembedded-core/2018-April/268639.html. Did this effort go further? I just ran into it again while updating https://github.com/siemens/meta-iot2000 to Node.js >v6. I

[OE-core] [PATCH] wic: Ensure that sourceparams values can contain '='

2019-02-28 Thread Jan Kiszka
From: Jan Kiszka This allows '--sourceparams key1=val1=val11,key2=val2'. Signed-off-by: Jan Kiszka --- scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 3da7e23e61..ca206ece02

[OE-core] [PATCH] oe-git-proxy: Avoid resolving NO_PROXY against local files

2019-01-29 Thread Jan Kiszka
From: Jan Kiszka NO_PROXY may contain * elements, and if we are unlucky (or want to match all hosts with *), we will pick up local files rather than doing the match in match_host. Quoting helps here. Signed-off-by: Jan Kiszka --- scripts/oe-git-proxy | 4 ++-- 1 file changed, 2 insertions

[OE-core] [PATCH 0/3] rng-tools fixes and enhancements

2017-07-10 Thread Jan Kiszka
See patches for details. Jan Kiszka (3): rng-tools: Start as early as possible rng-tools: Don't use /dev/urandom as rngd default source rng-tools: Add support for Atheros 9170 hwrng meta/recipes-support/rng-tools/rng-tools/default | 11 +-- meta/recipes-support/rng-tools/rng-tools

[OE-core] [PATCH 2/3] rng-tools: Don't use /dev/urandom as rngd default source

2017-07-10 Thread Jan Kiszka
From: Jan Kiszka <jan.kis...@siemens.com> Big no-no when you want to have more than a toy device, so let's not make this a default. See also https://lwn.net/Articles/525459. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- meta/recipes-support/rng-tools/rng-tools/default |

[OE-core] [PATCH 1/3] rng-tools: Start as early as possible

2017-07-10 Thread Jan Kiszka
From: Jan Kiszka <jan.kis...@siemens.com> This helps systems with little architectural entropy to initialize the random pool earlier. We just need to wait for udev so that drivers have been probed already. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- meta/recipes-support/r

[OE-core] [PATCH 3/3] rng-tools: Add support for Atheros 9170 hwrng

2017-07-10 Thread Jan Kiszka
From: Jan Kiszka <jan.kis...@siemens.com> Useful only on devices with no other sources: USB WLAN sticks based on the Atheros 9170 (carl9170 kernel driver) provide a hardware random generator. However, the interface needs to be up in order to is the generator. That's not the case until if

[OE-core] [PATCH] tzdata: Install zone1970.tab

2017-06-16 Thread Jan Kiszka
The modern version of zone.tab is required by tzselect e.g. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- meta/recipes-extended/tzdata/tzdata_2017b.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/tzdata/tzdata_2017b.bb b/meta/recipes-extended/

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Jan Kiszka
On 2017-06-07 16:09, Davis, Michael wrote: > If offline builds, license checking, or stable dependency versions are not > important to you then you can use the meta-nodejs layer. It just uses the > yarn tool directly https://github.com/imyller/meta-nodejs. > In fact, meta-nodejs is already in

Re: [OE-core] [PATCH] tcf-agent: Fix daemon termination

2017-06-07 Thread Jan Kiszka
On 2017-06-07 18:33, Martin Kelly wrote: > On 06/07/2017 09:08 AM, Burton, Ross wrote: >> >> On 6 June 2017 at 18:28, Martin Kelly > > wrote: >> >> I sent a separate patch for fixing the systemd issue, so I think we >> can merge the two patches

Re: [OE-core] [PATCH] tcf-agent: Fix daemon termination

2017-06-07 Thread Jan Kiszka
On 2017-06-07 18:08, Burton, Ross wrote: > > On 6 June 2017 at 18:28, Martin Kelly > wrote: > > I sent a separate patch for fixing the systemd issue, so I think we > can merge the two patches separately (they're both needed): > >

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Jan Kiszka
On 2017-06-07 13:43, Alexander Kanavin wrote: > On 06/06/2017 06:14 PM, Jan Kiszka wrote: > >> Yeah, good points. Probably this problem is also related to OE >> reimplementing parts of the npm logic. >> >> But I suppose those concepts won't materialize very soon,

Re: [OE-core] Fun with npm shrinkwrap

2017-06-06 Thread Jan Kiszka
On 2017-06-06 16:12, Alexander Kanavin wrote: > On 06/06/2017 01:17 PM, Jan Kiszka wrote: >> devtool add / recipetool create do not work properly /wrt shrinkwrap >> when it comes to node-red-node-serialport. npm shrinkwrap finds a number >> of extraneous packages and refuses

[OE-core] Fun with npm shrinkwrap

2017-06-06 Thread Jan Kiszka
Hi all, devtool add / recipetool create do not work properly /wrt shrinkwrap when it comes to node-red-node-serialport. npm shrinkwrap finds a number of extraneous packages and refuses to generate an output. There are various workarounds discussed in [1]. For me this seems to work: diff --git

Re: [OE-core] [PATCH] tcf-agent: Fix daemon termination

2017-06-06 Thread Jan Kiszka
On 2017-06-01 02:17, Martin Kelly wrote: > On 05/02/2017 01:41 AM, Martin Kelly wrote: >> On 04/30/2017 08:28 AM, Jan Kiszka wrote: >>> From: Jan Kiszka <jan.kis...@siemens.com> >>> >>> The upstream init script uses SIGUSR2 to terminate that daemon becau

[OE-core] [PATCH] tcf-agent: Fix daemon termination

2017-04-30 Thread Jan Kiszka
From: Jan Kiszka <jan.kis...@siemens.com> The upstream init script uses SIGUSR2 to terminate that daemon because SIGTERM is ignored. As the killproc function does not support specifying a signal, switch to start-stop-daemon. Drop the retry loop because SIGUSR2 is lethal for agent. Sign