Re: [OE-core] [kirkstone][PATCH] kernel.bbclass: check, if directory exists before removing empty module directory

2024-04-12 Thread Matthias Schiffer
On Thu, 2024-04-11 at 06:40 -0700, Heiko wrote: > >  Hi Steve, > > I created the patch as described > here:  > https://docs.yoctoproject.org/4.0.17/contributor-guide/submit-changes.html#contributing-thro > ugh-mailing-lists-why-not-using-web-based-workflows > > Only one line has been changed. Is

[OE-core] [PATCH 3/3] initscripts: fix creation order for /var/log with VOLATILE_LOG_DIR=true

2021-07-21 Thread Matthias Schiffer
Create the /var/log symlink directly after /var/volatile/log, so /var/log is available for the creation of /var/log/wtmp a few lines later. Signed-off-by: Matthias Schiffer --- An alternative solution would be to move the creation of the /var/log link (and possibly /var/volatile/log itself) to

[OE-core] [PATCH 2/3] initscripts: populate-volatile.sh: run create_file synchronously

2021-07-21 Thread Matthias Schiffer
e time the initscript exits (or when it moves /etc/volatile.cache.build !) - By making the order of commands nondeterminstic, it could hide dependency issues where it was attempted to create files before their containing directories Signed-off-by: Matthias Schiffer --- .../initscripts/inits

[OE-core] [PATCH 1/3] initscripts: populate-volatile.sh: do not log to tty0

2021-07-21 Thread Matthias Schiffer
tty0 may not be the intended console for log messages, or it may not exist at all in kernel configurations without CONFIG_VT. Just use the default stdout/stderr instead. Signed-off-by: Matthias Schiffer --- .../initscripts/initscripts-1.0/populate-volatile.sh | 8 1 file changed

Re: [OE-core] ✗ patchtest: failure for systemd: backport patch to fix sysctl warning on boot

2019-07-15 Thread Matthias Schiffer
On Wed, 2019-07-10 at 14:40 +0200, Matthias Schiffer wrote: > On Wed, 2019-07-10 at 12:31 +, Patchwork wrote: > > * Issue Series cannot be parsed correctly due to > > malformed diff lines [test_mbox_format] > > Suggested fixCreate the series again u

Re: [OE-core] ✗ patchtest: failure for systemd: backport patch to fix sysctl warning on boot

2019-07-10 Thread Matthias Schiffer
On Wed, 2019-07-10 at 12:31 +, Patchwork wrote: > == Series Details == > > Series: systemd: backport patch to fix sysctl warning on boot > Revision: 1 > URL : https://patchwork.openembedded.org/series/18605/ > State : failure > > == Summary == > > > Thank you for submitting this patch ser

[OE-core] [PATCH warrior] systemd: backport patch to fix sysctl warning on boot

2019-07-10 Thread Matthias Schiffer
: Matthias Schiffer --- ...-max-sysctl-to-LONG_MAX-rather-than-.patch | 39 +++ meta/recipes-core/systemd/systemd_241.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-core/systemd/systemd/0001-core-set-fs.file-max-sysctl-to-LONG_MAX-rather-than-.patch

[OE-core] [PATCH] systemd: backport patch to fix sysctl warning on boot

2019-07-10 Thread Matthias Schiffer
: Matthias Schiffer --- ...-max-sysctl-to-LONG_MAX-rather-than-.patch | 39 +++ meta/recipes-core/systemd/systemd_242.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-core/systemd/systemd/0001-core-set-fs.file-max-sysctl-to-LONG_MAX-rather-than-.patch

[OE-core] [PATCH v2] systemd: move "machines" symlinks to systemd-container

2019-05-03 Thread Matthias Schiffer
-container. Signed-off-by: Matthias Schiffer --- v2: rebased to master, slightly improved commit message wording. Applicable to all branches (at least back to Rocko) when the recipe name is adjusted to the used systemd version. meta/recipes-core/systemd/systemd_242.bb | 3 +++ 1 file changed, 3

Re: [OE-core] [PATCH 1/5] target-sdk-provides-dummy: Extend to -dev and -src packages

2019-03-04 Thread Matthias Schiffer
On Fri, 2019-02-15 at 16:03 +, Richard Purdie wrote: > This avoids errors when running populate_sdk under opkg: > > * Problem 1/1: > * - package busybox-dev-1.30.1-r0.core2-64 requires busybox = > 1.30.1-r0, but none of the providers can be installed > * > * Solution 1: > * - allow de

[OE-core] [PATCH master thud] systemd: move "machines" symlinks to systemd-container

2019-02-26 Thread Matthias Schiffer
support. Signed-off-by: Matthias Schiffer --- meta/recipes-core/systemd/systemd_239.bb | 3 +++ 1 file changed, 3 insertions(+) The fix can also be cherry-picked to Sumo without conflicts (in fact, Rocko is affected as well, but I think that's EOL?). Please let me know if you want me to sub

Re: [OE-core] [PATCH v2] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-12-03 Thread Matthias Schiffer
On Fri, 2018-11-23 at 11:35 +0100, Matthias Schiffer wrote: > On Tue, 2018-11-06 at 09:56 +0100, matthias.schif...@ew.tq-group.com > wrote: [...] > > --- > > > > It would be great if this patch could be backported to all versions > > back to > > Rocko, as our c

Re: [OE-core] [PATCH v2] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-23 Thread Matthias Schiffer
On Tue, 2018-11-06 at 09:56 +0100, matthias.schif...@ew.tq-group.com wrote: > From: Matthias Schiffer > > Due to a bug in find [1], -ignore_readdir_race does not work > correctly with > -delete. This can lead to spurious build failures when files > disappear > while such

[OE-core] [PATCH v2] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-06 Thread matthias . schiffer
From: Matthias Schiffer Due to a bug in find [1], -ignore_readdir_race does not work correctly with -delete. This can lead to spurious build failures when files disappear while such a command is running; specifically this was seen in the case of do_configure and do_populate_lic running

Re: [OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-06 Thread Matthias Schiffer
On Tue, 2018-11-06 at 00:25 -0800, Andre McCurdy wrote: > On Tue, Nov 6, 2018 at 12:23 AM Matthias Schiffer > wrote: > > > > On Mon, 2018-11-05 at 09:36 +0100, Matthias Schiffer wrote: > > > On Fri, 2018-11-02 at 20:28 -0700, Andre McCurdy wrote: > > > >

Re: [OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-06 Thread Matthias Schiffer
On Mon, 2018-11-05 at 09:36 +0100, Matthias Schiffer wrote: > On Fri, 2018-11-02 at 20:28 -0700, Andre McCurdy wrote: > > On Fri, Nov 2, 2018 at 8:43 AM Richard Purdie > > wrote: > > > > > > On Fri, 2018-11-02 at 15:19 +, Peter Kjellerstedt wrote

Re: [OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-05 Thread Matthias Schiffer
org > > > > Subject: [OE-core] [PATCH] base.bbclass: avoid 'find - > > > > ignore_readdir_race -delete' > > > > > > > > From: Matthias Schiffer > > > > > > > > Until recent versions of findutils, -ignore_readdir_race did > &g

[OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-02 Thread matthias . schiffer
From: Matthias Schiffer Until recent versions of findutils, -ignore_readdir_race did not work correctly with -delete. This led to spurious build failures when files disappeared; specifically this was seen due to do_configure and do_populate_lic running concurrently for packages with ${B

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-10 Thread Matthias Schiffer
On 01/10/2016 10:10 PM, Khem Raj wrote: > On Fri, Jan 8, 2016 at 6:56 AM, Burton, Ross wrote: >> >> On 8 January 2016 at 10:19, Khem Raj wrote: >>> >>> This set of fixes let core-image-full-cmdline build with musl along with >>> core-image-sato >>> and core-image-weston >> >> >> The postinst inte

Re: [OE-core] [PATCH v2 2/3] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2016-01-10 Thread Matthias Schiffer
On 01/10/2016 06:52 PM, Roman Khimov wrote: > В письме от 10 января 2016 18:13:03 пользователь Matthias Schiffer написал: >> * I stand by my opinion that moving files automatically is a bad idea, > > But that's exactly what can make many of /usr merge changes automatically.

Re: [OE-core] [PATCH v2 2/3] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2016-01-10 Thread Matthias Schiffer
On 01/05/2016 01:16 AM, Mark Hatle wrote: > On 1/4/16 5:46 PM, Matthias Schiffer wrote: >> On 01/04/2016 11:59 PM, Mark Hatle wrote: >>> On 1/2/16 5:53 PM, Matthias Schiffer wrote: >>>> These directories conflict with the symlinks created for merged-usr setups. >

Re: [OE-core] [PATCH 1/1] linux-firmware: remove hard-coded paths

2016-01-04 Thread Matthias Schiffer
On 01/05/2016 01:28 AM, Mark Hatle wrote: > On 1/4/16 5:57 PM, Matthias Schiffer wrote: >> On 01/04/2016 11:56 PM, Mark Hatle wrote: >>> On 1/4/16 4:26 PM, Matthias Schiffer wrote: >>>> On 01/04/2016 05:32 PM, Mark Hatle wrote: >>>>> On 1/4/16 10:11

Re: [OE-core] [PATCH 1/1] linux-firmware: remove hard-coded paths

2016-01-04 Thread Matthias Schiffer
On 01/04/2016 11:56 PM, Mark Hatle wrote: > On 1/4/16 4:26 PM, Matthias Schiffer wrote: >> On 01/04/2016 05:32 PM, Mark Hatle wrote: >>> On 1/4/16 10:11 AM, Matthias Schiffer wrote: >>>> On 01/04/2016 02:14 PM, Ian Ray wrote: >>>>> The recipe uses hard-

Re: [OE-core] [PATCH v2 2/3] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2016-01-04 Thread Matthias Schiffer
On 01/04/2016 11:59 PM, Mark Hatle wrote: > On 1/2/16 5:53 PM, Matthias Schiffer wrote: >> These directories conflict with the symlinks created for merged-usr setups. >> >> Signed-off-by: Matthias Schiffer >> --- >> v2: create both ${base_libdir} and ${nonarch

Re: [OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-04 Thread Matthias Schiffer
On 01/03/2016 02:01 PM, Phil Blundell wrote: > On Sun, 2016-01-03 at 00:53 +0100, Matthias Schiffer wrote: >> +PACKAGECONFIG ??= " \ >> + ${@bb.utils.contains('DISTRO_FEATURES', >> 'merged-usr','merged-usr', '&

Re: [OE-core] [PATCH 1/1] linux-firmware: remove hard-coded paths

2016-01-04 Thread Matthias Schiffer
On 01/04/2016 05:32 PM, Mark Hatle wrote: > On 1/4/16 10:11 AM, Matthias Schiffer wrote: >> On 01/04/2016 02:14 PM, Ian Ray wrote: >>> The recipe uses hard-coded paths (specifically /lib) in do_install >>> and in FILES, however on a merged /usr system this directory

Re: [OE-core] [PATCH 1/1] linux-firmware: remove hard-coded paths

2016-01-04 Thread Matthias Schiffer
On 01/04/2016 02:14 PM, Ian Ray wrote: > The recipe uses hard-coded paths (specifically /lib) in do_install > and in FILES, however on a merged /usr system this directory might > not exist. Prefer base_libdir. > > Signed-off-by: Ian Ray > --- This should use nonarch_base_libdir, base_libdir defa

[OE-core] [PATCH v2 1/3] kernel: allow kernel module and firmware installation with ${nonarch_base_libdir} != "/lib"

2016-01-02 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- v2: * also adjust comments * use ${nonarch_base_libdir} instead of ${base_libdir}, modules and firmware are always expected under /lib, while ppc64 has ${base_libdir} = "/lib64". meta/classes/kernel-module-split.bbclass | 6 +++--- me

[OE-core] [PATCH v2 2/3] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2016-01-02 Thread Matthias Schiffer
These directories conflict with the symlinks created for merged-usr setups. Signed-off-by: Matthias Schiffer --- v2: create both ${base_libdir} and ${nonarch_base_libdir} meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-02 Thread Matthias Schiffer
se_libdir = "${exec_prefix}/lib" [YOCTO #7040] Signed-off-by: Matthias Schiffer --- v2: * add the merged-usr symlinks in a separate task, so do_install can be overridden independently of the merged-usr feature. * add PACKAGECONFIG for merged-usr, so the package is rebuilt wh

Re: [OE-core] [PATCH 3/4] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2015-12-22 Thread Matthias Schiffer
On 12/22/2015 06:31 PM, Burton, Ross wrote: > On 16 December 2015 at 18:11, Matthias Schiffer < > mschif...@universe-factory.net> wrote: > >> -dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ >> - ${sysconfdir}/skel /lib /mnt /proc ${ROO

Re: [OE-core] [PATCH 4/4] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2015-12-17 Thread Matthias Schiffer
On 12/16/2015 08:46 PM, Roman Khimov wrote: > В письме от 16 декабря 2015 19:12:00 пользователь Matthias Schiffer написал: >> The following options in a distro configuration create a full Fedora-style >> merged /usr: >> >> DISTRO_FEATURES_DEFAULT += "merged-usr&qu

[OE-core] [PATCH 1/4] busybox: generalize recipe to work with arbitrary install directories

2015-12-16 Thread Matthias Schiffer
-alternatives would replace them by absolute links anyways. Signed-off-by: Matthias Schiffer --- meta/recipes-core/busybox/busybox.inc | 35 --- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core

[OE-core] [PATCH 0/4] Implement merged /usr

2015-12-16 Thread Matthias Schiffer
]. The variables base_bindir, base_sbindir, sbindir, base_libdir and nonarch_base_libdir need to be set explicitly in the distro config in addition to the DISTRO_FEATURE to make this feature as flexible as possible (see the commit message of PATCH 4/4). Matthias Schiffer (4): busybox: generalize

[OE-core] [PATCH 4/4] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2015-12-16 Thread Matthias Schiffer
se_libdir = "${exec_prefix}/lib" [YOCTO #7040] Signed-off-by: Matthias Schiffer --- meta/recipes-core/base-files/base-files_3.0.14.bb | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/

[OE-core] [PATCH 2/4] kernel: allow kernel module and firmware installation with ${base_libdir} != "/lib"

2015-12-16 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- meta/classes/kernel-module-split.bbclass | 4 ++-- meta/classes/kernel.bbclass | 25 ++--- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module

[OE-core] [PATCH 3/4] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib

2015-12-16 Thread Matthias Schiffer
These directories conflict with the symlinks created for merged-usr setups. Signed-off-by: Matthias Schiffer --- meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta