Re: [OE-core][PATCH 1/2] wic/plugins/images/direct: replace fstab entries

2023-01-06 Thread Henning Schild
Am Fri, 6 Jan 2023 09:56:01 +0100 schrieb Florian Bezdeka : > On 05.01.23 14:24, Henning Schild wrote: > > Am Thu, 5 Jan 2023 12:52:22 + > > schrieb Felix Moessbauer : > > > >> This patch extends the imager direct class to check if the > >> mountpo

Re: [OE-core][PATCH 1/2] wic/plugins/images/direct: replace fstab entries

2023-01-05 Thread Henning Schild
Am Thu, 5 Jan 2023 12:52:22 + schrieb Felix Moessbauer : > This patch extends the imager direct class to check if the mountpoint > of a to-be-added entry in the fstab is already there. If it is, the > old entry is removed and the new entry is appended. > > This solves issues with duplicated

Re: [OE-core][PATCH 0/2] wic/plugins/images/direct: replace fstab entries

2023-01-05 Thread Henning Schild
Am Thu, 5 Jan 2023 12:52:21 + schrieb Felix Moessbauer : > For comparison, here the fstab files for the ext4 and the wic version > of the core-image-minimal (see below). In fact one probably really wants no fstab / line at all, unless it is ever somehow explicitly asked for. The bootloader a

Re: [OE-core] [PATCH v2] wic: added fspassno parameter to partition

2022-05-17 Thread Henning Schild
Am Tue, 17 May 2022 18:21:27 + schrieb "Kanagarajan, Vijaikumar" : > > -Original Message- > > From: Schmidl, Tobias (T CED SES-DE) > > Sent: 17 May 2022 23:46 > > To: openembedded-core@lists.openembedded.org; Kanagarajan, > > Vijaikumar > > Cc: c...@denx.de; Schild, Henning (T CED SE

Re: [OE-core] [PATCH] wic: added fspassno parameter to partition

2022-05-13 Thread Henning Schild
Was this ever looked at? ping regards, Henning Am Fri, 6 Nov 2020 11:27:22 +0100 schrieb Claudius Heine : > The `fspassno` parameter allows to overwrite the value of the last > column (`fs_passno`) in the /etc/fstab of the target root file system. > This allows to have periodic file system check

Re: [OE-core] [PATCH] wic: do not use PARTLABEL for msdos partition tables

2022-04-22 Thread Henning Schild
Am Fri, 22 Apr 2022 11:44:48 +0200 schrieb Henning Schild : > When using "msdos" partition tables and "--label" but not "--use-uuid" > one can generate images which will not find their root, because > PARTLABEL does not work for "msdos". >

[OE-core] [PATCH] wic: do not use PARTLABEL for msdos partition tables

2022-04-22 Thread Henning Schild
2fb247c5ecf0 ("wic: support rootdev identified by partition label") Signed-off-by: Henning Schild --- scripts/lib/wic/plugins/imager/direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/im

[OE-core] [PATCH] lib/oe/path: try hardlinking instead of guessing when it might fail

2020-01-24 Thread Henning Schild
From: Henning Schild The comparison of the stat st_dev is not enough to judge whether hardlinking will work. One example would be where you try and hardlink across two bind-mounts of a directory. The st_dev will be the same and the operation will still fail. Instead of implementing a check to

Re: [OE-core] [PATCHv2 0/6] solve several issues in oe-git-proxy

2019-09-17 Thread Henning Schild
Seems that was merged without further notice ... again. But hey it is in. poky 49bb6cefb507c116cb2548ae842eb0653053fee4...4b0bf01c14a90313ab294ead2ca1e5536bafd632 Henning Am Tue, 3 Sep 2019 15:43:44 +0200 schrieb Henning Schild : > From: Henning Schild > > Change to v1: > - fi

[OE-core] [PATCHv2 5/6] oe-git-proxy: NO_PROXY suffix matching without wildcard for match_host

2019-09-03 Thread Henning Schild
From: Henning Schild NO_PROXY can also contain just suffixes that do not start with a "*". We failed to match those so far. Just add an extra "*" to also match those suffixes. If one was there we get "**" which does not hurt. Signed-off-by: Henning Schild ---

[OE-core] [PATCHv2 0/6] solve several issues in oe-git-proxy

2019-09-03 Thread Henning Schild
From: Henning Schild Change to v1: - fix comment in p4 - move "set -f" all the way up in p4, that was the intention in the first place Henning Schild (6): oe-git-proxy: allow setting SOCAT from outside oeqa: add case for oe-git-proxy Revert "oe-git-proxy: Avoid res

[OE-core] [PATCHv2 4/6] oe-git-proxy: disable shell pathname expansion for the whole script

2019-09-03 Thread Henning Schild
From: Henning Schild This truly fixes the issue that cbc148d5d93d5f3531434fee7b234a16196b3088 wanted to solve, without breaking the iteration over multiple entries. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/oe-git

[OE-core] [PATCHv2 6/6] oe-git-proxy: fix dash "Bad substitution"

2019-09-03 Thread Henning Schild
From: Henning Schild The script claims it works with dash, make sure that is actually the case. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 2cb995f43c

[OE-core] [PATCHv2 1/6] oe-git-proxy: allow setting SOCAT from outside

2019-09-03 Thread Henning Schild
From: Henning Schild This allows to write selftests where we can mock the real socat. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index bb2ed2a46e..8499a99a71

[OE-core] [PATCHv2 2/6] oeqa: add case for oe-git-proxy

2019-09-03 Thread Henning Schild
From: Henning Schild The escaping, splitting and matching of NO_PROXY in oe-git-proxy deserves its own testcase, add it. Signed-off-by: Henning Schild --- meta/lib/oeqa/selftest/cases/oescripts.py | 58 +++ 1 file changed, 58 insertions(+) diff --git a/meta/lib/oeqa

[OE-core] [PATCHv2 3/6] Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"

2019-09-03 Thread Henning Schild
From: Henning Schild This reverts commit cbc148d5d93d5f3531434fee7b234a16196b3088. The quoting causes H to be one string with spaces, so looping over multiple entries does not work anymore. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [OE-core] [PATCH 1/6] oe-git-proxy: allow setting SOCAT from outside

2019-09-03 Thread Henning Schild
you think Henning Am Tue, 3 Sep 2019 14:22:19 +0200 schrieb Henning Schild : > From: Henning Schild > > This allows to write selftests where we can mock the real socat. > > Signed-off-by: Henning Schild > --- > scripts/oe-git-proxy | 10 ++ > 1 file cha

[OE-core] [PATCH 2/6] oeqa: add case for oe-git-proxy

2019-09-03 Thread Henning Schild
From: Henning Schild The escaping, splitting and matching of NO_PROXY in oe-git-proxy deserves its own testcase, add it. Signed-off-by: Henning Schild --- meta/lib/oeqa/selftest/cases/oescripts.py | 58 +++ 1 file changed, 58 insertions(+) diff --git a/meta/lib/oeqa

[OE-core] [PATCH 3/6] Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"

2019-09-03 Thread Henning Schild
From: Henning Schild This reverts commit cbc148d5d93d5f3531434fee7b234a16196b3088. The quoting causes H to be one string with spaces, so looping over multiple entries does not work anymore. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 4 ++-- 1 file changed, 2 insertions(+), 2

[OE-core] [PATCH 4/6] oe-git-proxy: disable shell pathname expansion for the whole script

2019-09-03 Thread Henning Schild
From: Henning Schild This truly fixes the issue that cbc148d5d93d5f3531434fee7b234a16196b3088 wanted to solve, without breaking the iteration over multiple entries. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/oe-git

[OE-core] [PATCH 5/6] oe-git-proxy: NO_PROXY suffix matching without wildcard for match_host

2019-09-03 Thread Henning Schild
From: Henning Schild NO_PROXY can also contain just suffixes that do not start with a "*". We failed to match those so far. Just add an extra "*" to also match those suffixes. If one was there we get "**" which does not hurt. Signed-off-by: Henning Schild ---

[OE-core] [PATCH 6/6] oe-git-proxy: fix dash "Bad substitution"

2019-09-03 Thread Henning Schild
From: Henning Schild The script claims it works with dash, make sure that is actually the case. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 8f7b26c15e

[OE-core] [PATCH 1/6] oe-git-proxy: allow setting SOCAT from outside

2019-09-03 Thread Henning Schild
From: Henning Schild This allows to write selftests where we can mock the real socat. Signed-off-by: Henning Schild --- scripts/oe-git-proxy | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index bb2ed2a46e..8499a99a71