[ptxdist] [PATCH v2] rules/syslogng.make: Use CROSS_LIB_DIR for module paths

2021-09-03 Thread Christian Melki
Be more specific about where modules (.so files) end up and searched for. Let them land in a CROSS_LIB_DIR path. Signed-off-by: Christian Melki --- rules/syslogng.make | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/syslogng.make b/rules/syslogng.make index

Re: [ptxdist] python3-lxml: package seems to be broken due to libxslt config options

2021-09-03 Thread Michael Olbrich
On Wed, Sep 01, 2021 at 08:37:27PM +0200, Felix Mellmann wrote: > Hi there, > > I've just encountered a problem when using python3-lxml on PTXdist master > branch: > > $ python3 > Python 3.7.10 (default, Aug  1 2021, 00:00:00) > [GCC 10.2.1 20200822] on linux > Type "help", "copyright",

Re: [ptxdist] [PATCH] rules/syslogng.make:

2021-09-03 Thread Michael Olbrich
Please write a useful Subject. In general, the subject usually starts with ':' and then a brief summary. Probably about installing to CROSS_LIB_DIR. Michael On Mon, Aug 30, 2021 at 01:54:23PM +0200, Christian Melki wrote: > Be more specific about where modules (.so files) end up and searched

Re: [ptxdist] [PATCH 2/2] templates: Introduce new u-boot template

2021-09-03 Thread Michael Olbrich
On Thu, Aug 26, 2021 at 10:48:42AM +0200, Alexander Dahl wrote: > This differs slightly from the generic u-boot package to have consistent > naming schemes for file names you can configure through menu in the > generic package. Also version is not configurable through menu here. I like this in

Re: [ptxdist] PTXCONF_RAUC_COMPATIBLE location

2021-09-03 Thread Michael Olbrich
On Tue, Aug 24, 2021 at 03:03:04PM +0200, r...@pengutronix.de wrote: > On Tue, Aug 24, 2021 at 06:44:55AM +, Denis Osterland-Heim wrote: > > Hi Roland, > > > > Am Montag, den 23.08.2021, 11:13 +0200 schrieb Roland Hieber: > > > On Mon, Aug 23, 2021 at 07:41:24AM +, Denis Osterland-Heim

Re: [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion

2021-09-03 Thread Michael Olbrich
On Thu, Aug 19, 2021 at 09:27:46AM +0200, Robin van der Gracht wrote: > KERNEL_DTB is not set. This results in a FIT image without device tree > inclusion. > > Signed-off-by: Robin van der Gracht > --- > rules/kernel-fit.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [ptxdist] [PATCH 3/2] rng-tools: fix dependency for systemd services and init script

2021-09-03 Thread Michael Olbrich
On Thu, Aug 12, 2021 at 03:42:54PM +0200, Roland Hieber wrote: > Both call rngd, so it does not make sense to install them without rngd. > Furthermore, the systemd unit is useless without systemd itself. > > Fixes: 88f17567fbef465e9bf2 (2021-06-07, "rng-tools: allow installing rngtest > without

Re: [ptxdist] [PATCH 4/5] openvpn: still allow initV support

2021-09-03 Thread Michael Olbrich
On Thu, Aug 12, 2021 at 12:40:14PM +0200, Juergen Borleis wrote: > Signed-off-by: Juergen Borleis > --- > rules/openvpn.make | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/rules/openvpn.make b/rules/openvpn.make > index 46cca64..d5f2b81 100644 > ---

Re: [ptxdist] [PATCH 2/5] php: reanimate PHP as PHP8

2021-09-03 Thread Michael Olbrich
On Thu, Aug 12, 2021 at 12:40:12PM +0200, Juergen Borleis wrote: > PHP5 is gone with commit f356f581e17a9474bdc01dbe3907f96558101609 > "php5: remove old package" > > Let's try now with PHP8 instead and a minimal feature set due to limited > test options. The remaining features can be extended

Re: [ptxdist] [PATCH 2/5] php: reanimate PHP as PHP8

2021-09-03 Thread Michael Olbrich
On Thu, Aug 12, 2021 at 12:40:12PM +0200, Juergen Borleis wrote: > PHP5 is gone with commit f356f581e17a9474bdc01dbe3907f96558101609 > "php5: remove old package" > > Let's try now with PHP8 instead and a minimal feature set due to limited > test options. The remaining features can be extended

Re: [ptxdist] [PATCH v2 4/4] ptxd_lib_code_signing: enforce cleaning up on init

2021-09-03 Thread Michael Olbrich
On Tue, Aug 10, 2021 at 12:00:00PM +0200, Roland Hieber wrote: > Similarly to cs_init_softhsm, introduce cs_init for non-SoftHSM use > cases. In both cases, clean up any left-over files from previous > installations to ensure a clean state, and enforce their use for > existing providers. > >

Re: [ptxdist] [PATCH v2 3/4] ptxd_lib_code_signing: let providers clean up their installed files

2021-09-03 Thread Michael Olbrich
On Tue, Aug 24, 2021 at 04:54:57PM +0200, Bastian Krause wrote: > On 8/10/21 11:59 AM, Roland Hieber wrote: > > Currently, sysroot-host/var/lib/keys/${keyprovider} is left over even > > when the provider package is cleaned, which could lead to > > inconsistencies and leaked key material in the

Re: [ptxdist] [PATCH v2 5/5] ptxd_lib_code_signing: add key whitelist checks

2021-09-03 Thread Michael Olbrich
On Mon, Aug 09, 2021 at 10:06:08AM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > PATCH v2: > - cs_check_whitelisted: make "needle" local variable (feedback by >Michael Olbrich) > - cs_check_whitelisted: error out with ERROR_KEY_NOT_WHITELISTED also >if whitelist

Re: [ptxdist] [PATCH v2 4/5] ptxd_lib_code_signing: provide consumer functions with some environment

2021-09-03 Thread Michael Olbrich
On Mon, Aug 09, 2021 at 10:06:07AM +0200, Roland Hieber wrote: > The code signing consumer functions should be able to retrieve some > information about the recipe in which they were called in order to make > additional checks if needed. Refactor the (shell cs_get_*, …) calls into > macro calls of

Re: [ptxdist] [PATCH v2 1/5] ptxd_make_world_common: make the package name available to scripts

2021-09-03 Thread Michael Olbrich
On Mon, Aug 09, 2021 at 10:06:04AM +0200, Roland Hieber wrote: > Variables named ${pkg} are already widely used throughout the code base > for different purposes, so name it ${pkg_name} instead. > > Signed-off-by: Roland Hieber > --- > Turned out I didn't need it for this series, but I still

Re: [ptxdist] [PATCH v2 3/5] ptxd_lib_code_signing: refactor hard-coded SoftHSM PIN in PKCS11 URIs

2021-09-03 Thread Michael Olbrich
On Mon, Aug 09, 2021 at 10:06:06AM +0200, Roland Hieber wrote: > We'll need this type of function more often later. I don't see another user of this function in the rest of the series. > > Signed-off-by: Roland Hieber > --- > PATCH v2: no changes > > PATCH v1: >