Re: [OE-core] [PATCH 1/1] go.bbclass: Allow network in do_compile

2022-03-11 Thread lukas . funke
On Wed, Mar 9, 2022 at 07:43 PM, Bruce Ashfield wrote: > > On Wed, Mar 9, 2022 at 3:10 AM wrote: > >> On Thu, Mar 3, 2022 at 05:46 PM, Bruce Ashfield wrote: >> >> On Thu, Mar 3, 2022 at 10:13 AM wrote: >> >> On Thu, Mar 3, 2022 at 04:34 AM, Bruce Ashfield wrote: >> >> On Wed, Mar 2, 2022

Re: [OE-core] [PATCH 1/1] go.bbclass: Allow network in do_compile

2022-03-09 Thread lukas . funke
On Thu, Mar 3, 2022 at 05:46 PM, Bruce Ashfield wrote: > > On Thu, Mar 3, 2022 at 10:13 AM wrote: > >> On Thu, Mar 3, 2022 at 04:34 AM, Bruce Ashfield wrote: >> >> On Wed, Mar 2, 2022 at 4:57 PM Andrei Gherzan wrote: >> >> >> Mar 1, 2022 20:15:52 Bruce Ashfield : >> >> On Tue, Mar 1, 2022

Re: [OE-core] [PATCH 1/1] go.bbclass: Allow network in do_compile

2022-03-01 Thread lukas . funke
On Tue, Mar 1, 2022 at 02:14 PM, Bruce Ashfield wrote: > > On Tue, Mar 1, 2022 at 6:42 AM Andrei Gherzan wrote: > >> >> On Tue, 1 Mar 2022, at 01:55, Bruce Ashfield wrote: >> >>> On Mon, Feb 28, 2022 at 8:17 PM Bruce Ashfield via >>> lists.openembedded.org >>> wrote: >>> On Mon,

Re: [OE-core] [PATCH 1/1] go.bbclass: Allow network in do_compile

2022-03-03 Thread lukas . funke
On Thu, Mar 3, 2022 at 04:34 AM, Bruce Ashfield wrote: > > On Wed, Mar 2, 2022 at 4:57 PM Andrei Gherzan wrote: > >> >> Mar 1, 2022 20:15:52 Bruce Ashfield : >> >> >>> On Tue, Mar 1, 2022 at 10:54 AM wrote: >>> On Tue, Mar 1, 2022 at 02:14 PM, Bruce Ashfield wrote: On Tue,

Re: [OE-Core][PATCH v2 4/4] recipetool: Add handler to create go recipes

2023-10-17 Thread Lukas Funke
Hi Richard, On 17.10.2023 15:53, Richard Purdie wrote: On Tue, 2023-10-17 at 15:26 +0200, Lukas Funke wrote: From: Lukas Funke Signed-off-by: Lukas Funke --- scripts/lib/recipetool/create_go.py | 730 1 file changed, 730 insertions(+) create mode 100644

[OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-17 Thread Lukas Funke
From: Lukas Funke This patch series adds a recipetool handler in order to create 'go' recipes. Each recipe contains a list of dependencies in their SRC_URI variable which are derived from the projects `go.mod` file. For each dependency the corresponding license file uri/hash is added

[OE-Core][PATCH v2 3/4] recipetool: Ignore *.go files while scanning for licenses

2023-10-17 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 143bc63e9d..293198d1c8 100644 --- a/scripts/lib/recipetool/create.py

[OE-Core][PATCH v2 1/4] classes: go-vendor: Add go-vendor class

2023-10-17 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- meta/classes/go-vendor.bbclass | 135 + 1 file changed, 135 insertions(+) create mode 100644 meta/classes/go-vendor.bbclass diff --git a/meta/classes/go-vendor.bbclass b/meta/classes/go-vendor.bbclass new file

[OE-Core][PATCH v2 2/4] selftest: recipetool: Add test for go recipe handler

2023-10-17 Thread Lukas Funke
From: Lukas Funke This commit adds a test for the go recipetool handler. The choosen go project to test the created recipe was picked randomly. The SRC_URIs and the LIC_FILES_CHKSUMs are checked against there reference values. Signed-off-by: Lukas Funke --- meta/lib/oeqa/selftest/cases

[OE-Core][PATCH v2 4/4] recipetool: Add handler to create go recipes

2023-10-17 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- scripts/lib/recipetool/create_go.py | 730 1 file changed, 730 insertions(+) create mode 100644 scripts/lib/recipetool/create_go.py diff --git a/scripts/lib/recipetool/create_go.py b/scripts/lib/recipetool

[OE-Core][PATCH v3 4/4] recipetool: Add handler to create go recipes

2023-11-02 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- scripts/lib/recipetool/create_go.py | 751 1 file changed, 751 insertions(+) create mode 100644 scripts/lib/recipetool/create_go.py diff --git a/scripts/lib/recipetool/create_go.py b/scripts/lib/recipetool

[OE-Core][PATCH v3 0/4] recipetool: Add handler to create go recipes

2023-11-02 Thread Lukas Funke
From: Lukas Funke This patch series adds a recipetool handler in order to create 'go' recipes. Each recipe contains a list of dependencies in their SRC_URI. Dependencies are derived from the projects `go.mod` file. For each dependency the corresponding license file uri/hash is added. The recipe

[OE-Core][PATCH v3 1/4] classes: go-vendor: Add go-vendor class

2023-11-02 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- meta/classes/go-vendor.bbclass | 200 + 1 file changed, 200 insertions(+) create mode 100644 meta/classes/go-vendor.bbclass diff --git a/meta/classes/go-vendor.bbclass b/meta/classes/go-vendor.bbclass new file

[OE-Core][PATCH v3 3/4] recipetool: Ignore *.go files while scanning for licenses

2023-11-02 Thread Lukas Funke
From: Lukas Funke Signed-off-by: Lukas Funke --- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 143bc63e9d..293198d1c8 100644 --- a/scripts/lib/recipetool/create.py

[OE-Core][PATCH v3 2/4] selftest: recipetool: Add test for go recipe handler

2023-11-02 Thread Lukas Funke
From: Lukas Funke This commit adds a test for the go recipetool handler. The choosen go project to test the created recipe was picked randomly. The SRC_URIs and the LIC_FILES_CHKSUMs are checked against there reference values. Signed-off-by: Lukas Funke --- meta/lib/oeqa/selftest/cases

[OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Lukas Funke
From: Lukas Funke Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories if the devices filesystem is not supported. Signed-off-by: Lukas Funke --- meta/recipes-core/udev/udev

Re: [OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Lukas Funke
Hi Richard, On 07.11.2023 13:15, Richard Purdie wrote: On Tue, 2023-11-07 at 13:00 +0100, Lukas Funke wrote: From: Lukas Funke Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories

Re: [OE-core] [langdale][kirkstone][PATCH] go-mod.bbclass: Allow network in do_compile

2023-09-27 Thread Lukas Funke
On 10.09.2023 23:26, Martin Jansa wrote: On Sun, Mar 12, 2023 at 10:15 AM Martin Jansa via lists.openembedded.org wrote: On Tue, Jan 3, 2023 at 5:03 PM Lukas Funke < lukas.funke-...@weidmueller.com> wrote: Martin, first of all: thank you for testing the patches. As usual the corner

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-23 Thread Lukas Funke
nks for testing! Cheers, Lukas Thanks, Slava On 17.10.2023 15:26, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This patch series adds a recipetool handler in order to create 'go' recipes. Each recipe contains a list of dependencies in their SRC_URI variable which are derived f

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-24 Thread Lukas Funke
On 24.10.2023 09:12, Vyacheslav Yurkov wrote: Hey Lukas On 24.10.2023 08:33, Lukas Funke wrote: - I placed the correct URL into SRC_URI, but do_go_vendor still failed with following stacktrace: File: '/home/uvv/projects/yocto-lorch-mapro/openembedded-core/meta/classes/go-vendor.bbclass

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-24 Thread Lukas Funke
On 23.10.2023 20:06, Vyacheslav Yurkov wrote: On 23.10.2023 14:18, Lukas Funke wrote: Hi Slava, On 22.10.2023 20:34, Vyacheslav Yurkov wrote: Hey Lukas, Thanks a lot for the patch. A few questions/comments from my initial test below. - I tried it with a go-based backend I have by providing

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-24 Thread Lukas Funke
Hi Slava, On 23.10.2023 19:05, Vyacheslav Yurkov wrote: On 23.10.2023 14:18, Lukas Funke wrote: Hi Slava, On 22.10.2023 20:34, Vyacheslav Yurkov wrote: Hey Lukas, Thanks a lot for the patch. A few questions/comments from my initial test below. - I tried it with a go-based backend I have

[OE-Core][PATCH 0/2] patch: reduce changes during patch refresh

2023-11-13 Thread Lukas Funke
From: Lukas Funke The patch series aims to reduce the noise in patches created by devtools. Some diffs are just introduced due to an update in the hash or in the diffstats. These changes are not important to a reviewer. Stefan Herbrechtsmeier (2): patch: extract patches without diffstats

[OE-Core][PATCH 1/2] patch: extract patches without diffstats

2023-11-13 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches without diffstats to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oe/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index

[OE-Core][PATCH 2/2] patch: extract patches with all-zero hash

2023-11-13 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches with all-zero hash in each patch header instead of the hash of the commit to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-Core][PATCH v3] wic: rawcopy: add support for zsdt decompression

2023-11-13 Thread Lukas Funke
From: Malte Schmidt --- scripts/lib/wic/plugins/source/rawcopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index 7c90cd3cf8..82d38fbb84 100644 ---

Re: [OE-core] [langdale][kirkstone][PATCH] go-mod.bbclass: Allow network in do_compile

2023-01-03 Thread Lukas Funke
Martin, first of all: thank you for testing the patches. As usual the corner cases are the most tricky ones. tl;dr: I'm working on an updated patch series to address the reported issues. I've looked into the issues and would like to give some explanation. 1) the first module you mention

Re: [OE-core] [PATCH 1/3] recipetool: Don't fail on local go modules

2024-01-10 Thread Lukas Funke
On 10.01.2024 14:59, Richard Purdie wrote: On Wed, 2024-01-10 at 12:53 +0100, Vyacheslav Yurkov wrote: Local modules are usually referenced with a 'replace' directive in go.mod file. If that's the case, remove them from populating SRC_URI. Signed-off-by: Vyacheslav Yurkov ---

[OE-core] [PATCH v3 2/2] selftest: wic: add test for zerorize option of empty plugin

2023-11-28 Thread Lukas Funke
From: Lukas Funke Add test for empty plugin which tests whether the plugin creates partitions with actual data which is 'zero'. Signed-off-by: Lukas Funke --- meta/lib/oeqa/selftest/cases/wic.py | 36 + 1 file changed, 36 insertions(+) diff --git a/meta/lib/oeqa

[OE-core] [PATCH v3 1/2] wic: extend empty plugin with options to write zeros to partiton

2023-11-28 Thread Lukas Funke
st N bytes at a time during source file creation. Defaults to '1M'. Default unit is 'K'. Signed-off-by: Malte Schmidt Signed-off-by: Lukas Funke --- scripts/lib/wic/plugins/source/empty.py | 57 - 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/scripts/lib/w

[OE-core] [PATCH v3 0/2] wic: extend empty plugin with options to write zeros to partiton

2023-11-28 Thread Lukas Funke
From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with '--soucreparams="[fill|size=[S|s|K|k|M|G]][,][bs=[S|s|K|

[OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-11-22 Thread Lukas Funke
From: Lukas Funke The patch series aims to reduce the noise in patches created by devtools. Some diffs are just introduced due to an update in the hash or in the diffstats. These changes are not important to a reviewer. Stefan Herbrechtsmeier (2): patch: extract patches without diffstats

[OE-core] [PATCH v2 1/2] patch: extract patches without diffstats

2023-11-22 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches without diffstats to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/lib/oe/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta

[OE-core] [PATCH v2 2/2] patch: extract patches with all-zero hash

2023-11-22 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches with all-zero hash in each patch header instead of the hash of the commit to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Lukas Funke
Hi Richard, On 27.11.2023 14:45, Richard Purdie wrote: On Wed, 2023-11-22 at 15:08 +0100, Lukas Funke wrote: From: Lukas Funke The patch series aims to reduce the noise in patches created by devtools. Some diffs are just introduced due to an update in the hash or in the diffstats

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Lukas Funke
Hi Alex, On 04.12.2023 11:54, Alexander Kanavin wrote: On Mon, 4 Dec 2023 at 11:48, Lukas Funke wrote: Unfortunately, the patch indeed causes the tests to fail. The problamatic lines are in the 'lib\devtool\standard.py': if len(firstlineitems) > 1 and len(firstlineitems[1]) ==

Re: [OE-core] Patchtest results for [PATCH v2 8/9] oeqa/selftest/recipetool: Move helper function to the class scope

2024-01-22 Thread Lukas Funke
Is this the reason why I cannot find the series on patchwork? This makes it kinda tricky to review/test IMHO. Please provide a commit message, so patchtest is happy. On 16.01.2024 09:45, Patchtest via lists.openembedded.org wrote: Thank you for your submission. Patchtest identified one or

[OE-core] [meta-oe][PATCH] classes: go-mod: do not pack go mod cache

2023-11-16 Thread Lukas Funke
From: Stefan Herbrechtsmeier Clean go module cache from builddir to prevent it of beeing packed. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/classes-recipe/go-mod.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes-recipe/go-mod.bbclass

[OE-core] [meta-oe][PATCH v2 1/4] systemd: use nonarch libdir for tmpfiles.d

2023-11-16 Thread Lukas Funke
-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/recipes-core/systemd/systemd_254.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb index cc0e29fdd2..6d71fbaba2

[OE-core] [meta-oe][PATCH v2 0/4] tmpfiles.d: use nonarch libdir

2023-11-16 Thread Lukas Funke
From: Lukas Funke The series intents to move tmpfiles.d configurations from /etc to /usr/lib. The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org

[OE-core] [meta-oe][PATCH v2 2/4] pam: use nonarch libdir for tmpfiles.d

2023-11-16 Thread Lukas Funke
-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/recipes-extended/pam/libpam_1.5.3.bb | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/pam/libpam_1.5.3.bb b/meta/recipes-extended/pam/libpam_1.5.3.bb index 1aa307af4d..7af3ea99d1

[OE-core] [meta-oe][PATCH v2 3/4] sysstat: use nonarch libdir for tmpfiles.d

2023-11-16 Thread Lukas Funke
-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/recipes-extended/sysstat/sysstat_12.7.4.bb | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/sysstat/sysstat_12.7.4.bb b/meta/recipes-extended/sysstat/sysstat_12.7.4.bb index

[OE-core] [meta-oe][PATCH v2 4/4] glibc: use nonarch libdir for tmpfiles.d

2023-11-16 Thread Lukas Funke
Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/recipes-core/glibc/glibc-package.inc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 1d4e4c5274..1ef987be0a 100644 --- a/meta

[OE-core] [meta-oe][PATCH v3] systemd: use nonarch libdir for tmpfiles.d

2023-11-16 Thread Lukas Funke
-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/recipes-core/systemd/systemd_254.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb index cc0e29fdd2..6d71fbaba2

[OE-Core][PATCH 0/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-14 Thread Lukas Funke
From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with '--soucreparams="[fill|size=[S|s|K|k|M|G]][,][bs=[S|s|K|

[OE-Core][PATCH 1/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-14 Thread Lukas Funke
From: Malte Schmidt Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with

[OE-Core][PATCH 2/4] pam: use nonarch libdir for tmpfiles.d

2023-11-14 Thread Lukas Funke
From: Malte Schmidt The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html Signed-off-by: Malte Schmidt

[OE-Core][PATCH 0/4] tmpfiles.d: use nonarch libdir

2023-11-14 Thread Lukas Funke
From: Lukas Funke The series intents to move tmpfiles.d configurations from /etc to /usr/lib. The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org

[OE-Core][PATCH 3/4] sysstat: use nonarch libdir for tmpfiles.d

2023-11-14 Thread Lukas Funke
From: Malte Schmidt The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html Signed-off-by: Malte Schmidt

[OE-Core][PATCH 4/4] glibc: use nonarch libdir for tmpfiles.d

2023-11-14 Thread Lukas Funke
From: Stefan Herbrechtsmeier The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html Signed-off-by: Stefan

[OE-Core][PATCH 1/4] systemd: use nonarch libdir for tmpfiles.d

2023-11-14 Thread Lukas Funke
From: Malte Schmidt The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html Signed-off-by: Malte Schmidt

Re: [OE-Core][PATCH v3 0/4] recipetool: Add handler to create go recipes

2023-11-14 Thread Lukas Funke
/modules.txt' I've located "modules.txt" in my $WORKDIR/$GO_IMPORT/vendor directory though, which seems to be consistent with https://go.dev/ref/mod#go-mod-file-go . Am I missing something or I can send a fixup? Slava On 02.11.2023 16:53, lukas.funke-...@weidmueller.com wrote: From:

[OE-Core][PATCH v2] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-08 Thread Lukas Funke
From: Lukas Funke Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories if the devices filesystem is not supported. Signed-off-by: Lukas Funke --- meta/recipes-core/udev/udev

Re: [OE-core] [meta-oe][PATCH v2 0/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
Hi, On 22.11.2023 11:47, Lukas Funke via lists.openembedded.org wrote: From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can

[OE-core] [meta-oe][PATCH v2 1/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
st N bytes at a time during source file creation. Defaults to '1M'. Default unit is 'K'. Signed-off-by: Malte Schmidt Signed-off-by: Lukas Funke --- scripts/lib/wic/plugins/source/empty.py | 57 - 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/scripts/lib/w

[OE-core] [meta-oe][PATCH v2 0/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with '--soucreparams="[fill|size=[S|s|K|k|M|G]][,][bs=[S|s|K|

[OE-core] [PATCH v4] wic: rawcopy: add support for zstd decompression

2023-11-22 Thread Lukas Funke
From: Malte Schmidt Add support for zstd decompression in rawcopy plugin. zstd claims to reach higher, uniform decompression rates. Signed-off-by: Malte Schmidt Signed-off-by: Lukas Funke --- scripts/lib/wic/plugins/source/rawcopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[OE-core] [PATCH 1/4] classes: go-vendor: improve handling of go vendoring

2024-02-26 Thread Lukas Funke
From: Lukas Funke This commit deals with some specialties around go: - Enable the use of //go:embed directives: Using this directive it is possible to include additional sournce files into your go source-code. Since these are no listed in the vendor manifest, we have to check

[OE-core] [PATCH 0/4] go: improve vendoring

2024-02-26 Thread Lukas Funke
From: Lukas Funke This series is intended to improve 'vendoring' for golang projects. 'Vendoring' is the golang mechanism to build go-projects in an offline manner. It enables the fetcher to gather all dependencies during fetching-phase and unpack them during build into the workdirs 'vendor

[OE-core] [PATCH 3/4] recipetool: go: ignore 'go: *' log messages

2024-02-26 Thread Lukas Funke
From: Lukas Funke Go will download verious modules during vendoring and tell us about it, i.e. "go: downloading foo/bar vX.Y.Z". These lines are mixed with the relevant modules.txt lines. Thus, ignore log messages starting with "go: .*". Signed-off-by: Lukas Funke --- sc

[OE-core] [PATCH 2/4] recipetool: go: do not restore go.mod/sum file

2024-02-26 Thread Lukas Funke
From: Lukas Funke Do not restore 'go.mod' and 'go.sum' file after the projects go version is updated to >= 1.17. When we leave the go.mod file as-is then vendor manifest is created using the < 1.17 version. This results in an inconsistency between the patched (newer) 'go.mod

[OE-core] [PATCH 4/4] recipetool: go: apply pylint recommendations

2024-02-26 Thread Lukas Funke
From: Lukas Funke Apply pylint recommendations where reasanable. Not all recommendations were applied: - long regex expressions were not split for a better readability - not all (short) variables were renamed in order to be consistent with the rest of the framework (e.g. 'd') Signed-off