[ptxdist] [PATCH v2 13/13] binutils: add license information

2021-12-04 Thread Roland Hieber
-by: Roland Hieber --- PATCH v2: - use "custom-exception" instead of "unknown" - rebase to current master, review and adapt MD5 sums accordingly PULL v1: https://lore.ptxdist.org/ptxdist/20200527112204.ll7ij44ahllid...@pengutronix.de --- rules/binutils.make | 11 +++

[ptxdist] [PATCH v2 08/13] lsof: add license information

2021-12-04 Thread Roland Hieber
From: Felicitas Jung Signed-off-by: Felicitas Jung [rhi: use "custom" instead of "unknown"] Reviewed-by: Roland Hieber Signed-off-by: Roland Hieber --- PATCH v2: - use "custom" instead of "unknown" - rebase to current master, review and update MD5

[ptxdist] [PATCH v2 06/13] libmng: add license information

2021-12-04 Thread Roland Hieber
From: Felicitas Jung the libpng license differs in word, but chose it anyway as content wise all points are dealt with in a similar way. Signed-off-by: Felicitas Jung [rhi: too different from libpng license, classify as custom. Also use the whole LICENSE file.] Reviewed-by: Roland Hieber

[ptxdist] [PATCH v2 10/13] python-routing: add license information

2021-12-04 Thread Roland Hieber
From: Felicitas Jung Signed-off-by: Felicitas Jung [rhi: classify as NIST-PD, which was accepted by SPDX in the meantime] Reviewed-by: Roland Hieber Signed-off-by: Roland Hieber --- PATCH v2: - use NIST-PD instead of "unknown" PULL v1: https://lore.ptxdist.org/ptxdist/2020

[ptxdist] [PATCH v2 11/13] python-rplicmp: add license information

2021-12-04 Thread Roland Hieber
From: Felicitas Jung Signed-off-by: Felicitas Jung [rhi: classify as NIST-PD, which was accepted by SPDX in the meantime] Reviewed-by: Roland Hieber Signed-off-by: Roland Hieber --- PATCH v2: - use NIST-PD instead of "unknown" PULL v1: https://lore.ptxdist.org/ptxdist/2020

[ptxdist] [PATCH v2 12/13] simplerpl: add license information

2021-12-04 Thread Roland Hieber
From: Felicitas Jung Signed-off-by: Felicitas Jung [rhi: classify as NIST-PD, which was accepted by SPDX in the meantime] Reviewed-by: Roland Hieber Signed-off-by: Roland Hieber --- PATCH v2: - use NIST-PD instead of "unknown" PULL v1: https://lore.ptxdist.org/ptxdist/2020

[ptxdist] [PATCH v2 07/13] libnetpbm: add license information

2021-12-04 Thread Roland Hieber
Co-authored-by: Felicitas Jung Signed-off-by: Felicitas Jung Signed-off-by: Roland Hieber --- PATCH v2: - redo completely PULL v1: https://lore.ptxdist.org/ptxdist/20200527112204.ll7ij44ahllid...@pengutronix.de --- rules/libnetpbm.make | 8 1 file changed, 8 insertions(+) diff

Re: [ptxdist] [PATCH 2/3] add package for rockchip firmware binaries

2021-12-04 Thread Roland Hieber
E_ROCKCHIP_RK356x_BL32 > + install -v -D -m644 > $(FIRMWARE_ROCKCHIP_DIR)/bin/rk35/rk3568_bl32_v1.05.bin \ > + > $(FIRMWARE_ROCKCHIP_PKGDIR)/usr/lib/firmware/rk3568_bl32_v1.05.bin > +endif > + > + @$(call touch) > + > +# > -

Re: [ptxdist] [PATCH v2 04/13] hdparm: add license information

2021-12-19 Thread Roland Hieber
On Fri, Dec 17, 2021 at 09:26:30AM +0100, Michael Olbrich wrote: > On Sun, Dec 05, 2021 at 01:41:59AM +0100, Roland Hieber wrote: > > From: Felicitas Jung > > > > Signed-off-by: Felicitas Jung > > [rhi: use "custom" instead of "unknown"] > >

Re: [ptxdist] [PATCH] dump1090fa: New package. Version 6.1

2021-11-16 Thread Roland Hieber
--- > +# Target-Install > +# > > + > +$(STATEDIR)/dump1090fa.targetinstall: > + @$(call targetinfo) > + @$(call install_init, dump1090fa) > + @$(c

[ptxdist] [PATCH] template: kernel: avoid config changes based on availability of pahole

2021-11-29 Thread Roland Hieber
add an option for it | and create a host package for pahole. | | Signed-off-by: Michael Olbrich Signed-off-by: Roland Hieber --- rules/templates/template-kernel-make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/templates/template-kernel-make b/rules/templates

Re: [ptxdist] [PATCH 1/1] python3-netifaces: new package

2021-11-01 Thread Roland Hieber
On Fri, Oct 29, 2021 at 12:12:19PM +0200, Matthias Fend wrote: > Hi Roland, > > Am 29.10.2021 um 11:19 schrieb Roland Hieber: > > Hi Matthias, > > > > On Tue, Oct 26, 2021 at 05:32:37PM +0200, Matthias Fend wrote: > > > netifaces provides an easy way to

Re: [ptxdist] [PATCH 1/1] python3-netifaces: new package

2021-10-29 Thread Roland Hieber
hon3-netifaces, DESCRIPTION, missing) > + > + @$(call install_glob, python3-netifaces, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-netifaces) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.25.1 > > > ___

Re: [ptxdist] [PATCH 1/2] dropbear: license review

2021-12-11 Thread Roland Hieber
On Fri, Dec 10, 2021 at 09:48:06AM +0100, Alexander Dahl wrote: > Hello Roland, > > Am Sonntag, 5. Dezember 2021, 23:11:05 CET schrieb Roland Hieber: > > Commit 80326bc43e7 (2020-11-16, Alexander Dahl: "dropbear: version bump > > 2019.78 -> 2020.79") ment

[ptxdist] [PATCH 2/2] fontconfig: license review

2021-12-05 Thread Roland Hieber
Since we deprecated the public_domain identifier in commit 76d1f680233955839298 (2021-08-06, Roland Hieber: "doc: working with licensing information in packages"), classify the snippet in ftglue.c ("This code is explicitely put in the public domain") as a custom license. S

[ptxdist] [PATCH 1/2] dropbear: license review

2021-12-05 Thread Roland Hieber
sion referred to the libtomcrypt license, which is licensed as, alternatively, WTFPL, or "LibTomCrypt is public domain. As should all quality software be.". Classify it as a custom license, as we deprecated the public_domain license identifier in commit 76d1f680233955839298 (2021-08-

Re: [ptxdist] [PATCH] redis: new package

2021-12-03 Thread Roland Hieber
-server) > + > + @$(call install_link, redis, /usr/bin/redis-server, > /usr/bin/redis-check-aof) > + @$(call install_link, redis, /usr/bin/redis-server, > /usr/bin/redis-check-rdb) > + > + @$(call install_alternative, redis, 0, 0, 0644, /etc/redis.conf) > + >

[ptxdist] [PATCH 2/1] host-ptx-code-signing-dev: version bump 0.5.1 -> 0.6

2021-07-20 Thread Roland Hieber
Version 0.6 sets up keys for the 'kernel-module' role. Signed-off-by: Roland Hieber --- Meant to be applied along with "[PATCH] kernel: add support for kernel module signing", but I forgot to include this in the series. https://lore.ptxdist.org/ptxdist/20210719183053.3799-1-...@peng

Re: [ptxdist] [PATCH 2/6] rules/gnu-efi: Add new package.

2021-07-20 Thread Roland Hieber
On Tue, Jul 20, 2021 at 03:08:53PM +0200, Christian Melki wrote: > On 7/19/21 11:09 AM, Roland Hieber wrote: > > Hi, > > > > generally you can just prefix the commit message with the package name > > (no "rules/"), that's how we usually do it. And

Re: [ptxdist] [PATCH 2/6] rules/gnu-efi: Add new package.

2021-07-19 Thread Roland Hieber
init, gnu-efi) > + @$(call install_fixup, gnu-efi,PRIORITY,optional) > + @$(call install_fixup, gnu-efi,SECTION,base) > + @$(call install_fixup, gnu-efi,AUTHOR,"Christian Melki > ") > + @$(call install_fixup, gnu-efi,DESCRIPTION,missing) > + @$(call install_finish, gnu-efi) >

Re: [ptxdist] [PATCH 2/6] rules/gnu-efi: Add new package.

2021-07-19 Thread Roland Hieber
On Mon, Jul 19, 2021 at 11:09:40AM +0200, Roland Hieber wrote: > On Fri, Jul 16, 2021 at 03:41:03PM +0200, Christian Melki wrote: > > +# No tags: use a fake descriptive commit-ish to include the date > > +GNU_EFI_VERSION:= 3.0.13 &

[ptxdist] [PATCH] kernel: add support for kernel module signing

2021-07-19 Thread Roland Hieber
that make use of need to be evaluated recursively when they are used ('=' instead of ':='). All other recipes using KERNEL_* variables already take care of this. Signed-off-by: Roland Hieber --- Note: this depends on "[PATCH v5] ptxd_lib_code_signing: cs_get_ca(): improve error handl

Re: [ptxdist] [PATCH] kernel: add support for kernel module signing

2021-07-23 Thread Roland Hieber
On Wed, Jul 21, 2021 at 10:54:53AM +0200, Michael Olbrich wrote: > On Mon, Jul 19, 2021 at 08:30:53PM +0200, Roland Hieber wrote: > > Use the code signing role 'kernel-modules' to supply the kernel with the > > keys for kernel module signing and additional CAs for the kernel's

Re: [ptxdist] [PATCH] gitignore generated man pages

2021-07-23 Thread Roland Hieber
Apparently this one fell through the cracks... - Roland On Sun, Jun 27, 2021 at 12:49:44AM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 57bfdcc10c24

Re: [ptxdist] [PATCH] kernel: add support for kernel module signing

2021-07-23 Thread Roland Hieber
On Fri, Jul 23, 2021 at 12:39:28PM +0200, Michael Olbrich wrote: > On Fri, Jul 23, 2021 at 12:17:36PM +0200, Roland Hieber wrote: > > On Wed, Jul 21, 2021 at 10:54:53AM +0200, Michael Olbrich wrote: > > > On Mon, Jul 19, 2021 at 08:30:53PM +0200, Roland Hieber wrote: > > &g

[ptxdist] [PATCH v2 1/3] kernel: add CAs from the code signing provider to the kernel trust root

2021-07-23 Thread Roland Hieber
the options for the perf and iio tools, were this is not needed. All other recipes using KERNEL_* variables also already take care of this.) Signed-off-by: Roland Hieber --- PATCH v2: - new in v2, split off from "[PATCH] kernel: add support for kernel module signing" - split docs

[ptxdist] [PATCH v2 2/3] kernel: add support for module signing

2021-07-23 Thread Roland Hieber
ing module signing in PTXdist. Signed-off-by: Roland Hieber --- PATCH v2: - rebase to current master - split trusted key handling into its own patch (see previous patch) - add CONFIG_MODULE_SIG_KEY to KENREL_BASE_OPT instead of KERNEL_SIGN_OPT, and only if module signing is enabled in the plat

[ptxdist] [PATCH v2 3/3] host-ptx-code-signing-dev: version bump 0.5 -> 0.6

2021-07-23 Thread Roland Hieber
Version 0.6 sets up keys for the 'kernel-modules' role. Signed-off-by: Roland Hieber --- PATCH v2: - rebase to current master after commit bd8b3d01cbd0ce3af98f ("host-ptx-code-signing-dev: version bump 0.4 -> 0.5") was applied PATCH v1: https://lore.ptxdist.org/ptxdist/2021072

[ptxdist] [PATCH] templates/code-signing-provider: set up SoftHSM 'imx-habv4-srk' role group

2021-07-23 Thread Roland Hieber
Also provide some example code to set up the role group for the SoftHSM use case. Fixes: f1fc06cd534092bd1a4a (2021-07-08, "templates/code-signing-provider: set up the 'imx-habv4-srk' role group") Signed-off-by: Roland Hieber --- .../code-signing-provider/ptxdist-set-keys-

[ptxdist] [PATCH] fixup! doc: code signing: add illustrative flowchart

2021-07-14 Thread Roland Hieber
Just fix a typo… Signed-off-by: Roland Hieber --- doc/dev_code_signing_flowchart.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dev_code_signing_flowchart.svg b/doc/dev_code_signing_flowchart.svg index 7b06b2f0bbfe..e7aaa6bb7dd8 100644 --- a/doc

[ptxdist] [PATCH 1/2] doc: code signing: define code signing consumers

2021-07-14 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/dev_code_signing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/dev_code_signing.rst b/doc/dev_code_signing.rst index 56ac0e3b3217..5a6196cb2826 100644 --- a/doc/dev_code_signing.rst +++ b/doc/dev_code_signing.rst @@ -10,6 +10,8 @@ This is also

Re: [ptxdist] [PATCH] cairo: fix license identifier

2021-07-28 Thread Roland Hieber
On Wed, Jul 28, 2021 at 01:48:09PM +0200, Bastian Krause wrote: > > On 7/28/21 11:49 AM, Roland Hieber wrote: > > On Wed, Jul 28, 2021 at 11:01:07AM +0200, Bastian Krause wrote: > >> Cairo is dual-licensed: > >> > >> "Cairo is free s

Re: [ptxdist] [PATCH] fscryptctl: new package

2021-07-28 Thread Roland Hieber
ctl,AUTHOR,"Ahmad Fatoum > ") > + @$(call install_fixup, fscryptctl,DESCRIPTION, "Low-level Linux fscrypt > control tool") > + > + @$(call install_copy, fscryptctl, 0, 0, 0755, -, /usr/bin/fscryptctl) > + > + @$(call install_finish, fscryptctl) > + > + @$(call to

Re: [ptxdist] [PATCH] cairo: fix license identifier

2021-07-28 Thread Roland Hieber
> # Prepare > -- > 2.30.2 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to > ptxdist-requ...@pengutronix.de &

Re: [ptxdist] [PATCH 3/6] spirv-tools: version bump 2021.4 -> 1.3.204.0, separate spirv-headers

2022-02-24 Thread Roland Hieber
lib/libSPIRV-Tools-shared.so > - @mkdir -p $(SPIRV_TOOLS_PKGDIR)/usr/include > - @cp -r $(SPIRV_HEADERS_DIR)/include/spirv > $(SPIRV_TOOLS_PKGDIR)/usr/include > - @cp -r $(SPIRV_TOOLS_DIR)/include/spirv-tools > $(SPIRV_TOOLS_PKGDIR)/usr/include > - $(call touch) > - >

Re: [ptxdist] [RFC 1/2] libva-headers: new package

2022-02-24 Thread Roland Hieber
etinfo) > + # only install headers and libva.pc > + @rm -f $(LIBVA_HEADERS_PKGDIR)/usr/lib/libva* > + @rm -f $(LIBVA_HEADERS_PKGDIR)/usr/lib/pkgconfig/libva-drm.pc > + @$(call world/install.post, LIBVA_HEADERS) > + @$(call touch) > + > +# vim: syntax=make >

Re: [ptxdist] [PATCH 1/6] glslang: version bump 11.7.1 -> 1.3.204.0

2022-02-24 Thread Roland Hieber
# > > # Prepare > -- > 2.30.2 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to > ptxdis

Re: [ptxdist] [PATCH] lighttpd: version bump 1.4.63 -> 1.4.64

2022-03-01 Thread Roland Hieber
LIGHTTPD_OPENSSL) += mod_openssl > LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_REWRITE) += mod_rewrite > -LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL) += > mod_trigger_b4_dl > LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_WEBDAV) += mod_webdav > LIGHTTPD_MO

Re: [ptxdist] [PATCH v3] openssh: Version bump. v8.8p1 -> v8.9p1

2022-04-04 Thread Roland Hieber
.9p1/series > @@ -0,0 +1,4 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-Improve-detection-of-fzero-call-used-regs-all-suppor.patch > +# 35e561a03b8e1fd58ce4b40b565cdd3f - git-ptx-patches magic > -- > 2.32.0 > > > ___ >

Re: [ptxdist] [PATCH v2] strace: Version bump 5.9 -> 5.15

2022-01-06 Thread Roland Hieber
; and "GPL-2.0-or-later"). And please also add bundled/linux/GPL-2.0 for the actual GPL license text. > + file://tests/COPYING;md5=9df0366f01f6ac073e4438cf6aecacfb \ Thanks for the effort :-) The tests are not installed on the target, you can leave this one out. > file://LGPL-

[ptxdist] [PATCH 1/4] networkmanager: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: d27127994b1cb7e52917 (2017-01-11, "networkmanager: /usr merge") Signed-off-by: Roland Hieber --- projectroot/etc/init.d/NetworkManager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/etc/init.d/NetworkManager b/projectroot/etc/init.d/NetworkMan

[ptxdist] [PATCH 4/4] bootchart: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: eca5e27bdb57a64165dd (2017-01-11, "bootchart: /usr merge") Signed-off-by: Roland Hieber --- projectroot/usr/sbin/bootchartd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projectroot/usr/sbin/bootchartd b/projectroot/usr/sbin/bootchartd index 41

[ptxdist] [PATCH 3/4] rc-once: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: e74c5e613d9e1a7e3813 (2017-01-09, "rc-once: /usr merge") Signed-off-by: Roland Hieber --- projectroot/usr/lib/systemd/system/rc-once.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/usr/lib/systemd/system/rc-once.service b/projectro

[ptxdist] [PATCH 2/4] udev-legacy: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: 69841205bc7e114c40cc (2017-01-09, "udev-legacy: /usr merge") Signed-off-by: Roland Hieber --- projectroot/etc/init.d/udev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/etc/init.d/udev b/projectroot/etc/init.d/udev index 0e4a880bbb3b..8992ffe29

Re: [ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-31 Thread Roland Hieber
On Wed, Aug 23, 2023 at 12:49:59PM +0200, Roland Hieber wrote: > Trying to flash a FIT image over fastboot often results in errors like > this: > > Invalid sparse file format at header magic > error: write_sparse_skip_chunk: don't care size 18394488 is not a > multiple

[ptxdist] [PATCH v3 3/3] doc: ref_make_macros: document world/image-fit macro

2023-09-12 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v3: no change PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-3-...@pengutronix.de --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc

[ptxdist] [PATCH v3 1/3] kernel: add make target for the installed device trees

2023-09-12 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

[ptxdist] [PATCH v3 2/3] templates: add template for custom FIT images

2023-09-12 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v3: * select kernel and initrd image by default instead of TODO comments * select HOST_U_BOOT_TOOLS for mkimage (previously a fixup patch) PATCH v2: https://lore.ptxdist.org/ptxdist/20230831104425.2874985-2-...@pengutronix.de * no change PATCH v1

Re: [ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-09-12 Thread Roland Hieber
On Fri, Sep 01, 2023 at 08:31:58AM +0200, Michael Olbrich wrote: > On Wed, Aug 23, 2023 at 12:49:59PM +0200, Roland Hieber wrote: > > Trying to flash a FIT image over fastboot often results in errors like > > this: > > > > Invalid sparse file format at

Re: [ptxdist] [PATCH v2 2/3] templates: add template for custom FIT images

2023-09-12 Thread Roland Hieber
On Fri, Sep 01, 2023 at 08:48:40AM +0200, Michael Olbrich wrote: > On Thu, Aug 31, 2023 at 12:44:24PM +0200, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > > > --- > > PATCH v2: no change > > PATCH v1: > > https://lore.ptxdist.org/ptxdist/2023

Re: [ptxdist] [PATCH] libcap-ng: Add another fetch option.

2023-08-31 Thread Roland Hieber
AND GPL-2.0-or-later > > -- > > 2.34.1 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany

[ptxdist] [PATCH v2 2/3] templates: add template for custom FIT images

2023-08-31 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-2-...@pengutronix.de --- rules/templates/template-image-fit-in | 8 ++ rules/templates/template-image-fit-make | 34 + scripts/lib

[ptxdist] [PATCH v2 3/3] doc: ref_make_macros: document world/image-fit macro

2023-08-31 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-3-...@pengutronix.de --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc/ref_make_macros.rst b/doc

[ptxdist] [PATCH v2 1/3] kernel: add make target for the installed device trees

2023-08-31 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

[ptxdist] [PATCH v2] fixup! templates: add template for custom FIT images

2023-08-31 Thread Roland Hieber
'mkimage' is needed to build the FIT image, select the correct host package to make it available. Signed-off-by: Roland Hieber --- rules/templates/template-image-fit-in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/templates/template-image-fit-in b/rules/templates/template-image

[ptxdist] [PATCH] image-rauc: pick up hook script if it exists

2023-11-06 Thread Roland Hieber
in the manifest too (in the relevant slot or the [bundle] section), the image config will still need to be forked by BSPs in order to adapt the manifest for that use case. However, the mechanism to find the hook script is then already in place, and can be used as-is. Signed-off-by: Roland Hieber

[ptxdist] [PATCH] ptxd_make_vcs_version: always use all Git tags

2023-09-26 Thread Roland Hieber
Signed-off-by: Roland Hieber --- Steffen, do you still know why you chose a plain "git describe" first? scripts/lib/ptxd_make_vcs_version.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/ptxd_make_vcs_version.sh b/scripts/lib/ptxd_make_vcs_versio

[ptxdist] [PATCH] image-hdimg: fix building image without bootloader

2023-10-09 Thread Roland Hieber
, "image-hdimg: support using barebox with GPT") Signed-off-by: Roland Hieber --- rules/image-hdimg.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make index 2aa8aeddaf78..06712ca6d956 100644 --- a/rules/image-hdimg.make +++ b/rules/image-

[ptxdist] [PATCH] host-qemu: map target architecture for mipsel

2023-10-09 Thread Roland Hieber
Originally from DistroKit, see discussion there. Suggested-by: Oleksij Rempel Link: https://lore.distrokit.org/distrokit/20210715144711.p36hgbrm74spx...@pengutronix.de/ Signed-off-by: Roland Hieber --- rules/host-qemu.make | 5 + 1 file changed, 5 insertions(+) diff --git a/rules/host

Re: [ptxdist] [PATCH v2 2/2] rauc: select HOST_MESON

2023-08-16 Thread Roland Hieber
On Sun, Aug 13, 2023 at 09:48:44PM +0200, Roland Hieber wrote: > RAUC has been using meson since commit 6e72460fe79714249b81 (2023-06-30, > Enrico Jorns: "rauc: migrate to meson"), but now PTXdist warns about the > missing HOST_MESON dependency in the prepare stage. > &

[ptxdist] [PATCH] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-23 Thread Roland Hieber
pad the image to a multiple of 4 kiB to make it work with the fastboot sparse magic. Suggested-by: Ahmad Fatoum Signed-off-by: Roland Hieber --- scripts/lib/ptxd_make_fit_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_fit_image.sh b/scripts

[ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-23 Thread Roland Hieber
pad the image to a multiple of 4 kiB to make it work with the fastboot sparse magic. Suggested-by: Ahmad Fatoum Signed-off-by: Roland Hieber --- v2: clean up the temp image too --- scripts/lib/ptxd_make_fit_image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lib

[ptxdist] [PATCH] rootfs: resize terminal on login

2023-08-22 Thread Roland Hieber
, partly to silence resize's output, and partly to support shells that cannot determine the COLUMNS and LINES variables by themselves and rely on it being set explicitely. Signed-off-by: Roland Hieber --- projectroot/etc/profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projectroot/etc

[ptxdist] [PATCH 2/3] templates: add template for custom FIT images

2023-08-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/templates/template-image-fit-in | 8 ++ rules/templates/template-image-fit-make | 34 + scripts/lib/ptxd_lib_template.sh| 25 ++ 3 files changed, 67 insertions(+) create mode 100644 rules/templates

[ptxdist] [PATCH 1/3] kernel: add make target for the installed device trees

2023-08-22 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

[ptxdist] [PATCH 3/3] doc: ref_make_macros: document world/image-fit macro

2023-08-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst index b8cfe9eff644..fe300c45757a 100644 --- a/doc/ref_make_macros.rst +++ b/doc

[ptxdist] [PATCH v3 2/2] binutils: add license information

2022-12-12 Thread Roland Hieber
libiberty/xatexit.c, which only carries the following lines: | /* | * Copyright (c) 1990 Regents of the University of California. | * All rights reserved. | * | * %sccs.include.redist.c% | */ Reported-by: Felicitas Jung Signed-off-by: Roland Hieber --- PATCH v3:

[ptxdist] [PATCH v3 1/2] binutils: build with system zlib

2022-12-12 Thread Roland Hieber
We already depend on zlib in binutils.in, but currently the version bundled with binutils is used unnecessarily. Signed-off-by: Roland Hieber --- PATCH v3: new in v3 --- rules/binutils.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/binutils.make b/rules/binutils.make index

Re: [ptxdist] [PATCH v3 2/2] binutils: add license information

2022-12-12 Thread Roland Hieber
On Mon, Dec 12, 2022 at 11:17:26PM +0100, Roland Hieber wrote: > Only readelf and objdump are installed to the target, but they are > statically linked to the bundled zlib, libbfd, libctf, libiberty, and > libopcodes, which don't have the same licenses. Try a divide-and-conquer > s

[ptxdist] [PATCH 1/3] doc: ref_make_macros: fix jump target

2022-12-06 Thread Roland Hieber
Fixes: 3694633183ae70aeba06 ("rules: introduce new macros to install files to images/") Signed-off-by: Roland Hieber --- doc/ref_make_macros.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst index a9

[ptxdist] [PATCH 3/3] doc: ref: document config hash macros and variables

2022-12-06 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/ref_make_macros.rst| 18 ++ doc/ref_make_variables.rst | 9 + 2 files changed, 27 insertions(+) diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst index 4c1ca2f0375f..3ea331baee4b 100644 --- a/doc/ref_make_macros.rst

[ptxdist] [PATCH 2/3] doc: ref_make_macros: add missing synopses

2022-12-06 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/ref_make_macros.rst | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst index 19efb11f1093..4c1ca2f0375f 100644 --- a/doc/ref_make_macros.rst +++ b/doc

[ptxdist] [PATCH] doc: include instructions for layered documentation

2022-12-13 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/including_bsp_doc.inc | 34 ++ doc/index-layer-0-ptxdist.rst | 1 + doc/index.rst | 2 +- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 doc/index-layer-0-ptxdist.rst diff --git

Re: [ptxdist] [PATCH] doc: include instructions for layered documentation

2022-12-15 Thread Roland Hieber
On Thu, Dec 15, 2022 at 09:44:50AM +0100, Michael Olbrich wrote: > On Tue, Dec 13, 2022 at 02:23:49PM +0100, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > --- > > doc/including_bsp_doc.inc | 34 ++ > > doc/index-layer-0-

[ptxdist] [PATCH v2] host-libslirp: should not have a prompt, but build it in ALLYES

2023-03-17 Thread Roland Hieber
It's in the hosttools_noprompt section after all, and this way it gets compile-tested in ALLYES builds. Fixes: 81fbc066ec4975fbfd0f (2023-03-12, "libslirp: new package: user-mode networking library used by qemu") Signed-off-by: Roland Hieber --- v1-> v2: include in ALLYES builds

[ptxdist] [PATCH] image-hdimage: make barebox image configurable

2023-03-17 Thread Roland Hieber
The default name, 'barebox-image', is a symlink to the last installed file by the barebox recipe, which is not always the barebox that we want when multi-image support is enabled in the barebox config. Signed-off-by: Roland Hieber --- config/images/barebox_partitions.config | 2 +- platforms

[ptxdist] [PATCH 2/2] qemu, host-qemu: re-enable user networking via libslirp

2023-03-12 Thread Roland Hieber
://wiki.qemu.org/ChangeLog/7.2#SLIRP_module_(user-mode_networking) Fixes: e3060a69c0190dfa7131 (2022-12-15, "qemu: Version bump. 7.1.0 -> 7.2.0") Signed-off-by: Roland Hieber --- rules/host-qemu.in | 1 + rules/host-qemu.make | 1 + rules/qemu.in| 1 + rules/qemu.make

[ptxdist] [PATCH 1/2] libslirp: new package: user-mode networking library used by qemu

2023-03-12 Thread Roland Hieber
The host package will be used for qemu in the next commit. Signed-off-by: Roland Hieber --- rules/host-libslirp.in | 7 + rules/host-libslirp.make | 23 rules/libslirp.in| 10 +++ rules/libslirp.make | 58 4 files

[ptxdist] [PATCH] systemd: add option to install systemd-repart

2023-03-15 Thread Roland Hieber
It runs on first boot via systemd-repart.service, so don't install it by default. Signed-off-by: Roland Hieber --- rules/systemd.in | 8 rules/systemd.make | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rules/systemd.in b/rules/systemd.in index

[ptxdist] [PATCH v2] systemd: add option to install systemd-repart

2023-03-21 Thread Roland Hieber
It runs on first boot via systemd-repart.service only if config files are present, which users need to supply in a separate package. Signed-off-by: Roland Hieber --- v1 -> v2: * don't install /usr/lib/repart.d, notice the user in the kconfig help text that they should come from a separ

[ptxdist] [PATCH v2] image-hdimg: support using barebox with GPT

2023-03-16 Thread Roland Hieber
/latest/boards/imx.html#using-gpt-on-i-mx Signed-off-by: Roland Hieber --- v1 -> v2: just improve the commit message --- config/images/barebox_partitions.config | 2 +- config/images/hd.config | 1 + rules/image-hdimg.make | 3 +++ 3 files changed, 5 inserti

[ptxdist] [PATCH] host-libslirp: should not have a prompt

2023-03-16 Thread Roland Hieber
It's in the hosttools_noprompt section. Fixes: 81fbc066ec4975fbfd0f (2023-03-12, "libslirp: new package: user-mode networking library used by qemu") Signed-off-by: Roland Hieber --- rules/host-libslirp.in | 1 - 1 file changed, 1 deletion(-) diff --git a/rules/host-libslirp.in b/

[ptxdist] [PATCH] image-hdimg: support barebox with GPT

2023-03-16 Thread Roland Hieber
-location to its default value of 1024. For MBR, this config setting is ignored. Link: https://www.barebox.org/doc/latest/boards/imx.html#using-gpt-on-i-mx Signed-off-by: Roland Hieber --- config/images/barebox_partitions.config | 2 +- config/images/hd.config | 1 + rules/image

[ptxdist] [PATCH] doc: dev_patching: remove outdated note about 'extract --git'

2023-03-09 Thread Roland Hieber
Such problems should no longer occur since commit 48f2895f519004d9fa4a (2023-03-03, Michael Olbrich: "ptxd_make_world_init: make sure git from 'ptxdist --git extract ...' is ignored"). Signed-off-by: Roland Hieber --- doc/dev_patching.rst | 3 --- 1 file changed, 3 deletions(-)

Re: [ptxdist] [EXT] [PATCH] protobuf-c: new package

2023-03-09 Thread Roland Hieber
up, protobuf-c,SECTION,base) > + @$(call install_fixup, protobuf-c,AUTHOR,"Ian Abbott > ") > + @$(call install_fixup, protobuf-c,DESCRIPTION,missing) > + > + @$(call install_lib, protobuf-c, 0, 0, 0644, libprotobuf-c) > + > + @$(call install_finish, protobu

[ptxdist] [PATCH] doc: css: allow word-wrapping in grid table cells

2023-05-02 Thread Roland Hieber
Third Row continued | ++-+ Link: https://github.com/readthedocs/sphinx_rtd_theme/issues/1246 Signed-off-by: Roland Hieber --- doc/_static/css/custom.css | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/_static/css/custom.c

[ptxdist] [PATCH] vim: prevent file name conflicts with busybox

2023-04-04 Thread Roland Hieber
Busybox can install both xxd and vi, which will conflict with the files installed by the vim package. If both busybox tools are selected, don't make the vim menu selectable at all, otherwise make only the tools selectable that are not installed by busybox. Signed-off-by: Roland Hieber --- rules

Re: [ptxdist] [PATCH 1/3] python3-semantic-version: new package

2023-04-06 Thread Roland Hieber
l install_init, python3-semantic-version) > + @$(call install_fixup, python3-semantic-version,PRIORITY,optional) > + @$(call install_fixup, python3-semantic-version,SECTION,base) > + @$(call install_fixup, python3-semantic-version,AUTHOR,"Artur Wiebe > ") > + @$(call install_fixup, python3-semantic

Re: [ptxdist] [PATCH 3/3] python3-cryptography: Python package that wants to compile with rust and cargo...

2023-04-06 Thread Roland Hieber
-cryptography,AUTHOR,"Artur Wiebe > ") > + @$(call install_fixup, python3-cryptography,DESCRIPTION,missing) > + > + @$(call install_glob, python3-cryptography, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, pytho

[ptxdist] [PATCH 1/2] c-ares: fix license files variable name

2023-02-13 Thread Roland Hieber
The variable name did nothing, but LICENSE was auto-detected anyway. Now this just pins down the MD5. Fixes: d3e729ff2c2a12a834c8 (2018-05-30, "c-ares: version bump 1.10.0 -> 1.14.0") Signed-off-by: Roland Hieber --- rules/c-ares.make | 2 +- 1 file changed, 1 insertion(+), 1 dele

[ptxdist] [PATCH 2/2] open62541: version bump 1.2 -> 1.3.4

2023-02-13 Thread Roland Hieber
Update CMake options, and replace the remaining patch with the version that was merged upstream after the 1.3.4 release. Signed-off-by: Roland Hieber --- ...-UA_NODESET_DIR-to-be-custom-defined.patch | 144 -- patches/open62541-1.2/series | 4 - ...w

[ptxdist] [PATCH] cpputest: accept new source MD5 checksum

2023-06-13 Thread Roland Hieber
Apparently the release archive was repacked and re-uploaded to GitHub, even though this is generally considered bad practise. The only differences are Unix-style line-endings instead of MS-DOS line-endings in platforms/Dos/ALLTESTS.BAT, all files now belong to root:root instead of basvodde:staff,

[ptxdist] [PATCH v2] cpputest: accept new source MD5 checksum

2023-06-13 Thread Roland Hieber
-by: Roland Hieber --- v2: add S-o-b v1: https://lore.ptxdist.org/ptxdist/ziif%2fa9cxgydg...@pengutronix.de/ rules/cpputest.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/cpputest.make b/rules/cpputest.make index b900170c3633..cc57b1f9eae9 100644 --- a/rules

Re: [ptxdist] [PATCH 6/8] host-canfestival: add host package

2023-05-24 Thread Roland Hieber
On Wed, May 17, 2023 at 02:36:39PM +0200, Michael Olbrich wrote: > On Mon, May 15, 2023 at 09:20:52AM +0200, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > --- > > rules/host-canfestival.in | 6 ++ > > rules/host-canfestival.make | 29 +++

[ptxdist] [PATCH 3/2] templates: don't generate prompt for hosttools_noprompt packages

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH 1/2 and PATCH 2/2 can stay as they are. --- rules/templates/template-class-existing-target-in | 4 +--- rules/templates/template-class-in | 4 +--- scripts/lib/ptxd_lib_template.sh | 8 3 files changed, 10

[ptxdist] [PATCH v2 5/7] htmldoc: new package: HTML-to-PDF/PostScript/EPUB converter

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - fix configure options for host and target package (disable debug, sanitizier, maintainer) - depend on zlib, which is implicity found by autoconf PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-5-...@pengutronix.de

[ptxdist] [PATCH v2 6/7] host-libconfig: add host package

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-7-...@pengutronix.de --- rules/host-libconfig.in | 5 + rules/host-libconfig.make | 23 +++ 2 files changed, 28 insertions(+) create mode

[ptxdist] [PATCH v2 2/7] libbson: new package: routines related to BSON documents

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - add configure options for host package too - merge fixup patch removing commented LIBBSON_SUBDIR line PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-2-...@pengutronix.de --- rules/host-libbson.in | 6 +++ rules/host

[ptxdist] [PATCH v2 4/7] libevent: amend license and pin down license file

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-4-...@pengutronix.de --- rules/libevent.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/libevent.make b/rules/libevent.make index

[ptxdist] [PATCH v2 7/7] host-libevent: add host package

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-8-...@pengutronix.de --- rules/host-libevent.in | 5 + rules/host-libevent.make | 23 +++ 2 files changed, 28 insertions(+) create mode 100644

<    4   5   6   7   8   9   10   >