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
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
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,
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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
---
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
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
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|
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
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
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
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
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]) ==
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
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
-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
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
-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
-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
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
-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
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|
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
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
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
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
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
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
/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:
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
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
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
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|
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
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
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
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
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
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
62 matches
Mail list logo