[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

[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 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.

[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 b

[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 +-

[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

[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 ---

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] 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 3/3] doc: custom.css: fix "View Page Source" align with newer sphinx_rtd_theme

2023-05-06 Thread Roland Hieber
uot;View Source" link with the baseline of the chapter marks again. This has no effect on sphinx_rtd_theme < 1.2.0 since the a element and the surrounding .wy-breadcrumbs-aside will be of the same height. Link: https://github.com/readthedocs/sphinx_rtd_theme/pull/1073 Signed-off-by: Roland Hieber --

[ptxdist] [PATCH 2/3] doc: custom.css: fix indentation

2023-05-06 Thread Roland Hieber
Make indentation consistent with the rest of the file. Fixes: 876d0ff2cb0f2ef54f81 (2017-07-14, "doc: css: use more ptxdist-like colors for admonitions") Signed-off-by: Roland Hieber --- doc/_static/css/custom.css | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff -

[ptxdist] [PATCH 1/3] doc: fix CSS/JS files not getting picked up by sphinx 5.3.0

2023-05-06 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/conf.py | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 92594f4078a0..3e53aa4db20e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -172,15 +172,16 @@ html_theme = 's

[ptxdist] [PATCH] uvc-gadget: update URL

2023-05-14 Thread Roland Hieber
While the old gitweb is still available on the same server via HTTP, cloning from it fails both with git and http protocol. Furthermore, the freedesktop.org GitLab has more release tags than the old gitweb. Signed-off-by: Roland Hieber --- rules/uvc-gadget.make | 2 +- 1 file changed, 1

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

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- ...-build-install-docs-or-desktop-files.patch | 28 patches/htmldoc-1.9.16/series | 4 ++ rules/host-htmldoc.in | 6 ++ rules/host-htmldoc.make | 29 rules/htmldoc.in

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

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-canfestival.in | 6 ++ rules/host-canfestival.make | 29 + 2 files changed, 35 insertions(+) create mode 100644 rules/host-canfestival.in create mode 100644 rules/host-canfestival.make diff --git a/rules/host

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

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-libbson.in | 6 +++ rules/host-libbson.make | 33 +++ rules/libbson.in| 9 + rules/libbson.make | 90 + 4 files changed, 138 insertions(+) create mode 100644 rules/host

[ptxdist] [PATCH 3/8] libconfig: correct license and pin down license files

2023-05-15 Thread Roland Hieber
As specified in the source file header comments, the library is actually LGPL-2.1-or-later, not -only. Signed-off-by: Roland Hieber --- rules/libconfig.make | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/libconfig.make b/rules/libconfig.make index 6fd5b0304bd7

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

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-libconfig.in | 5 + rules/host-libconfig.make | 23 +++ 2 files changed, 28 insertions(+) create mode 100644 rules/host-libconfig.in create mode 100644 rules/host-libconfig.make diff --git a/rules/host-libconfig.in b/rules

[ptxdist] [PATCH 8/8] host-libevent: add host package

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-libevent.in | 5 + rules/host-libevent.make | 23 +++ 2 files changed, 28 insertions(+) create mode 100644 rules/host-libevent.in create mode 100644 rules/host-libevent.make diff --git a/rules/host-libevent.in b/rules/host

[ptxdist] [PATCH 1/8] cpputest: new package: C++ unit test framework

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- patches/cpputest-3.8/autogen.sh | 1 + rules/cpputest.in | 7 + rules/cpputest.make | 56 + rules/host-cpputest.in | 5 +++ rules/host-cpputest.make| 23 ++ 5 files

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

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/libevent.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/libevent.make b/rules/libevent.make index 73470c59e9b4..f2860b69c4aa 100644 --- a/rules/libevent.make +++ b/rules/libevent.make @@ -22,7 +22,8 @@ LIBEVENT_SUFFIX

[ptxdist] [PATCH] fixup! libbson: new package: routines related to BSON documents

2023-05-15 Thread Roland Hieber
From: nobody --- rules/libbson.make | 1 - 1 file changed, 1 deletion(-) diff --git a/rules/libbson.make b/rules/libbson.make index af0eb8a13401..bd1d65596727 100644 --- a/rules/libbson.make +++ b/rules/libbson.make @@ -21,7 +21,6 @@ LIBBSON_SUFFIX:= tar.gz LIBBSON_URL

[ptxdist] [PATCH 1/2] templates: generate 'default y if ALLYES' for host packages

2023-05-15 Thread Roland Hieber
Make sure that all host packages are compile-tested. Signed-off-by: Roland Hieber --- rules/templates/template-class-existing-target-in | 2 +- rules/templates/template-class-in | 2 +- scripts/lib/ptxd_lib_template.sh | 2 ++ 3 files changed, 4 insertions(+), 2

[ptxdist] [PATCH 2/2] templates: set default section to hosttools_noprompt for host packages

2023-05-15 Thread Roland Hieber
Most host packages are not meant to be selected by users, instead they are selected by target packages. Signed-off-by: Roland Hieber --- scripts/lib/ptxd_lib_template.sh | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib

[ptxdist] [PATCH] mtd-utils: mtdinfo is not UBI-specific, move it up one submenu

2023-05-23 Thread Roland Hieber
mtdinfo without --ubi-info prints e.g. eraseblock size and amount of eraseblocks, flash type, and minimum input/output unit size. Signed-off-by: Roland Hieber --- rules/mtd-utils.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in

Re: [ptxdist] [PATCH] doc: environment: add urls to tarballs

2023-05-24 Thread Roland Hieber
endorVersion|.tar.bz2>`_ > * |ptxdistBSPName|.tar.bz2 (or a similar source) > - * ptxdist-|oselasTCNVendorptxdistversion|.tar.bz2 > - * OSELAS.Toolchain-|oselasTCNVendorVersion|.tar.bz2 > + > +Additionally, these source archives are needed to build toolcha

[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

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 v2 1/7] cpputest: new package: C++ unit test framework

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - add configure options for host package too PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-1-...@pengutronix.de --- patches/cpputest-3.8/autogen.sh | 1 + rules/cpputest.in | 7 + rules/cpputest.make

[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

[ptxdist] [PATCH v2 3/7] libconfig: correct license and pin down license files

2023-05-24 Thread Roland Hieber
As specified in the source file header comments, the library is actually LGPL-2.1-or-later, not -only. Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-3-...@pengutronix.de --- rules/libconfig.make | 5 - 1 file

[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] 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, a

[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] uvc-gadget: update URL

2023-06-14 Thread Roland Hieber
On Sun, May 14, 2023 at 05:29:25PM +0200, Roland Hieber wrote: > While the old gitweb is still available on the same server via HTTP, > cloning from it fails both with git and http protocol. Furthermore, > the freedesktop.org GitLab has more release tags than the old gitweb. > >

[ptxdist] [PATCH v2] uvc-gadget: update URL

2023-06-16 Thread Roland Hieber
While the old gitweb is still available on the same server via HTTP, cloning from it currently fails both with git and http protocol. Add the freedesktop.org GitLab as fallback. Signed-off-by: Roland Hieber --- v2: keep old URL, but add fd.o gitlab as fallback v1: https://lore.ptxdist.org

[ptxdist] [PATCH] dt-utils: version bump 2021.03.0 -> 2023.08.0

2023-08-03 Thread Roland Hieber
Change to the meson build system, and update license information (COPYING is now LICENSES/GPL-2.0-only.txt, and the implicit information from src/barebox-state.c is also given explicitely in the README). Signed-off-by: Roland Hieber --- rules/dt-utils.in | 1 + rules/dt-utils.make | 28

Re: [ptxdist] [PATCH] xz: update URL

2023-08-03 Thread Roland Hieber
= http://tukaani.org/xz/$(XZ).$(XZ_SUFFIX) > +XZ_URL := https://tukaani.org/xz/$(XZ).$(XZ_SUFFIX) > XZ_SOURCE:= $(SRCDIR)/$(XZ).$(XZ_SUFFIX) > XZ_DIR := $(BUILDDIR)/$(XZ) > XZ_LICENSE := public_domain AND LGPL-2.1-or-later AND GPL-2.0-or-later AND

[ptxdist] [PATCH] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- Would something like this make sense so it gets renamed automatically on how ptxdist migrate"? - Roland scripts/migrate/migrate_ptx | 7 +

[ptxdist] [PATCH v2] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- v2: fix from/to versions, the commit was not released yet… scripts/migrate/migrate_ptx | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sc

[ptxdist] [PATCH v3] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- v3: add back the missing \1 and \) in the replacement… v2: fix from/to versions, the commit was not released yet… scripts/migrate/migrate_ptx | 7 ++

[ptxdist] [PATCH 2/3] rauc: select HOST_MESON

2023-08-10 Thread Roland Hieber
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. Signed-off-by: Roland Hieber --- rules/rauc.in | 1 + 1 file changed, 1 insertion(+)

[ptxdist] [PATCH 3/3] rauc: version bump 1.10 -> 1.10.1

2023-08-10 Thread Roland Hieber
Changelog: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Roland Hieber --- .../{rauc-1.10 => rauc-1.10.1}/0001-README-clarify-license.patch | 0 patches/{rauc-1.10 => rauc-1.10.1}/series | 0 2 files changed, 0 insertions(+), 0 deletions(-)

[ptxdist] [PATCH 1/3] rauc: fix license and add license files checksums

2023-08-10 Thread Roland Hieber
: https://github.com/rauc/rauc/pull/1211 Signed-off-by: Roland Hieber --- .../0001-README-clarify-license.patch | 59 +++ patches/rauc-1.10/series | 4 ++ rules/rauc.make | 5 +- 3 files changed, 67 insertions(+), 1 dele

Re: [ptxdist] [PATCH 3/3] rauc: version bump 1.10 -> 1.10.1

2023-08-13 Thread Roland Hieber
On Thu, Aug 10, 2023 at 04:36:59PM +0200, Alexander Dahl wrote: > Hello Roland, > > Am Thu, Aug 10, 2023 at 01:02:56PM +0200 schrieb Roland Hieber: > > Changelog: > > https://github.com/rauc/rauc/releases/tag/v1.10.1 > > > > Signed-off-by: Roland Hieber &g

[ptxdist] [PATCH v2 1/2] rauc: fix license and add license files checksums

2023-08-13 Thread Roland Hieber
: https://github.com/rauc/rauc/pull/1211 Signed-off-by: Roland Hieber --- v2: correctly rebase to master (thanks to Alexander Dahl) v1: https://lore.ptxdist.org/ptxdist/20230810110256.2242386-1-...@pengutronix.de .../0001-README-clarify-license.patch | 59

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

2023-08-13 Thread Roland Hieber
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. Signed-off-by: Roland Hieber --- v2: no change in this version v1: https://lore.p

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] rootfs: resize terminal on login

2023-08-22 Thread Roland Hieber
#x27;eval' call, 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(+) dif

[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

[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] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-23 Thread Roland Hieber
this issue, we can simply 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_mak

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

2023-08-23 Thread Roland Hieber
this issue, we can simply 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(-)

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

2023-08-31 Thread Roland Hieber
_LICENSE := LGPL-2.1-or-later AND GPL-2.0-or-later > > -- > > 2.34.1 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ |

[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

[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] 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/temp

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 > mul

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 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

[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

[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

[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 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 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 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

[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
2023-03-16, "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/ru

[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

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

2023-11-06 Thread Roland Hieber
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] rtmpdump: update URL

2023-11-14 Thread Roland Hieber
The gitweb instance at git.ffmpeg.org no longer allows exporting snapshot archives. Switch to cloning the Git repository instead. Signed-off-by: Roland Hieber --- rules/rtmpdump.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make

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

2023-11-14 Thread Roland Hieber
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 --- PATCH v2: - introduce an explicit kconfig option PATCH v1: https://lore.ptxdist.org/ptxdist/20231106105534.3640846-1-...@pengutronix.de

[ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro

2023-11-20 Thread Roland Hieber
It does everything that is written out explicitely here; additionally it will also respect @PACKAGE@_SUBDIR if it should be set. Signed-off-by: Roland Hieber --- rules/templates/template-src-make-prog-make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/templates

[ptxdist] [PATCH v2] rtmpdump: update URL

2023-11-21 Thread Roland Hieber
tmpdump-2021-02-19-gf1b83c10d8be-f1b83c1/"). Signed-off-by: Roland Hieber --- PATCH v2: - git-clone over HTTPS, adapt md5sum PATCH v1: https://lore.ptxdist.org/ptxdist/20231114095802.1858942-1-...@pengutronix.de --- rules/rtmpdump.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[ptxdist] [PATCH] dt-utils: version bump 2023.08.0 -> 2023.11.0

2023-11-24 Thread Roland Hieber
The License section in the README has moved down two lines, otherwise everything stays the same. Signed-off-by: Roland Hieber --- rules/dt-utils.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/dt-utils.make b/rules/dt-utils.make index 78c251b4f5a3

Re: [ptxdist] [PATCH 1/6] gnutls: add license file and hash

2023-11-24 Thread Roland Hieber
------ > # Prepare > > base-commit: 1b6013c068b10a19c116be915cc4fe910ee29b13 > -- > 2.41.0 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany| Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |

[ptxdist] [PATCH] gnutls: add LGPL license text, add GPL-3.0 if built with openssl compat

2023-11-24 Thread Roland Hieber
./LICENSE mentions that the openssl compat code is licensed under GPL-3.0, and references the full license texts in doc/. Cc: Bruno Thomsen Signed-off-by: Roland Hieber --- rules/gnutls.make | 8 1 file changed, 8 insertions(+) diff --git a/rules/gnutls.make b/rules/gnutls.make index

Re: [ptxdist] [PATCH v2] mailmap: Add a few entries for improved commit statistics

2023-12-13 Thread Roland Hieber
rgen Borleis +Jürgen Borleis Ladislav Michl Ladislav Michl Michael Olbrich - Roland > +Florian Bäuerle > +Guillermo Rodríguez > +Jürgen Beisert > +Jürgen Beisert > +Ladislav Michl > +Ladislav Michl > +Michael Olbrich > +Thorsten Liepert > -- > 2.42.0 &

Re: [ptxdist] [PATCH v2] mailmap: Add a few entries for improved commit statistics

2023-12-14 Thread Roland Hieber
On Wed, Dec 13, 2023 at 07:40:34PM +0100, Uwe Kleine-König wrote: > On Wed, Dec 13, 2023 at 07:30:47PM +0100, Roland Hieber wrote: > > On Fri, Nov 03, 2023 at 02:02:47PM +0100, Uwe Kleine-König wrote: > > > When a single person uses different variants of their real name and >

Re: [ptxdist] [PATCH 5/5] image-rauc: Fix quotation marks / whitespace handling

2024-02-06 Thread Roland Hieber
_DESCRIPTION as expected. I guess if your bundle description contains any special chars like '(' or '$', bash starts interpreting those as bash syntax instead of plain words, which could lead to the error you see. Anyway, your patch gives me the correct results. Reviewed-b

[ptxdist] [PATCH] doc: contributing: explain what to do if license checksums change

2024-02-08 Thread Roland Hieber
Inspired by the discussion in https://lore.ptxdist.org/ptxdist/20240129100553.56125-1-ar...@4wiebe.de Cc: Artur Wiebe Signed-off-by: Roland Hieber --- doc/contributing.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/contributing.rst b/doc/contributing.rst index e4209480893d

[ptxdist] [PATCH] git-ptx-refresh-tags-editor: use mktemp instead of tempfile

2024-02-12 Thread Roland Hieber
On Debian 12 (bookworm), tempfile comes from debianutils, and prints a deprecation warning: WARNING: tempfile is deprecated; consider using mktemp instead. Switch to mktemp from coreutils, which is widely available. Signed-off-by: Roland Hieber --- scripts/git-ptx-refresh-tags-editor | 2

[ptxdist] [PATCH] rauc: version bump 1.10.1 -> 1.11.1

2024-02-20 Thread Roland Hieber
tream dropped autotools support, so there is no need to have an '-meson' in the archive name; drop that. [1]: https://github.com/rauc/rauc/commit/b20002582f6c754a9161 Signed-off-by: Roland Hieber --- rules/rauc.make | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) d

[ptxdist] [PATCH] image-rauc: improve error detection for hook script

2024-02-20 Thread Roland Hieber
er message. Signed-off-by: Roland Hieber --- rules/image-rauc.make | 4 1 file changed, 4 insertions(+) diff --git a/rules/image-rauc.make b/rules/image-rauc.make index def2ade1e237..a05c19f61de2 100644 --- a/rules/image-rauc.make +++ b/rules/image-rauc.make @@ -41,6 +41,10 @@ IMAGE_RAUC_BUN

[ptxdist] [PATCH] canfestival: port to Python 3

2024-02-20 Thread Roland Hieber
de to send the changes upstream. Remove a comment which referenced the old repository URL, which no longer exists. Signed-off-by: Roland Hieber --- .../0007-gnosis-port-to-python3.patch | 1912 + .../0008-port-to-python3.patch| 945 patches/can

Re: [ptxdist] [PATCH] canfestival: port to Python 3

2024-03-07 Thread Roland Hieber
On Thu, Mar 07, 2024 at 04:52:05PM +0100, Michael Olbrich wrote: > On Tue, Feb 20, 2024 at 11:33:52AM +0100, Roland Hieber wrote: > > The gnosis library is extracted and moved around by the objdictgen > > Makefile. Extract it early and do the same moving-around in the extract >

[ptxdist] [PATCH v2] canfestival: port to Python 3

2024-03-12 Thread Roland Hieber
de to send the changes upstream. Remove a comment which referenced the old repository URL, which no longer exists, and remove the recipe from staging. Signed-off-by: Roland Hieber --- PATCH v2: * remove recipe from staging PATCH v1: https://lore.ptxdist.org/ptxdist/20240220103352

[ptxdist] [PATCH 06/13] host-python3-jinja2: add host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-jinja2.in | 8 rules/host-python3-jinja2.make | 24 2 files changed, 32 insertions(+) create mode 100644 rules/host-python3-jinja2.in create mode 100644 rules/host-python3-jinja2.make diff --git a/rules

[ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0

2024-05-22 Thread Roland Hieber
ies both LGPL-2.1-or-later as well as "Academic Free License version 2.1" license statements. Signed-off-by: Roland Hieber --- Note: use "git diff -M1" to show the diff between the renamed files --- rules/{atk.in => at-spi2-core.in} | 19

[ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/paho-mqtt-cpp.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/paho-mqtt-cpp.make b/rules/paho-mqtt-cpp.make index 9cc30de202c9..bd71c7837529 100644 --- a/rules/paho-mqtt-cpp.make +++ b/rules/paho-mqtt-cpp.make @@ -14,8

[ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-markupsafe.in | 6 ++ rules/host-python3-markupsafe.make | 23 +++ 2 files changed, 29 insertions(+) create mode 100644 rules/host-python3-markupsafe.in create mode 100644 rules/host-python3-markupsafe.make diff

[ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/nanopb.in | 12 rules/nanopb.make | 49 +++ 2 files changed, 61 insertions(+) create mode 100644 rules/nanopb.in create mode 100644 rules/nanopb.make diff --git a/rules/nanopb.in b/rules

<    5   6   7   8   9   10   11   >