Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-25 Thread Ross Burton via lists.openembedded.org
On 20 Feb 2025, at 15:33, Vyacheslav Yurkov wrote: > Isn't is supposed to be created on first boot? Yes, ish, but our rootfs is read only at this point: [7.639766] systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only. [7.641135] systemd[1]: Booting up i

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-25 Thread Richard Purdie via lists.openembedded.org
On Tue, 2025-02-25 at 14:23 +0200, Mikko Rapeli wrote: > Hi, > > On Tue, Feb 25, 2025 at 11:21:59AM +, Richard Purdie via > lists.openembedded.org wrote: > > On Thu, 2025-02-20 at 16:03 +, Alex Kiernan via lists.openembedded.org > > wrote: > > > On Thu, Feb 20, 2025 at 3:52 PM Vyacheslav

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-25 Thread Mikko Rapeli via lists.openembedded.org
Hi, On Tue, Feb 25, 2025 at 11:21:59AM +, Richard Purdie via lists.openembedded.org wrote: > On Thu, 2025-02-20 at 16:03 +, Alex Kiernan via lists.openembedded.org > wrote: > > On Thu, Feb 20, 2025 at 3:52 PM Vyacheslav Yurkov via > > lists.openembedded.org > > wrote: > > > > > > From

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-25 Thread Richard Purdie via lists.openembedded.org
On Thu, 2025-02-20 at 16:03 +, Alex Kiernan via lists.openembedded.org wrote: > On Thu, Feb 20, 2025 at 3:52 PM Vyacheslav Yurkov via > lists.openembedded.org > wrote: > > > > From meta/classes-recipe/rootfs-postcommands.bbclass: > > > > # 20:12 < mezcalero> koen: you have three option

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-20 Thread Ross Burton via lists.openembedded.org
On 20 Feb 2025, at 15:52, Vyacheslav Yurkov wrote: > > From meta/classes-recipe/rootfs-postcommands.bbclass: > > # 20:12 < mezcalero> koen: you have three options: a) run > systemd-machine-id-setup at install time, b) have / read-only and an empty > file there (for stateless) and c) boot w

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-20 Thread Alex Kiernan via lists.openembedded.org
On Thu, Feb 20, 2025 at 3:52 PM Vyacheslav Yurkov via lists.openembedded.org wrote: > > From meta/classes-recipe/rootfs-postcommands.bbclass: > > # 20:12 < mezcalero> koen: you have three options: a) run > systemd-machine-id-setup at install time, b) have / read-only and an > empty file there

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-20 Thread Vyacheslav Yurkov via lists.openembedded.org
From meta/classes-recipe/rootfs-postcommands.bbclass:     # 20:12 < mezcalero> koen: you have three options: a) run systemd-machine-id-setup at install time, b) have / read-only and an empty file there (for stateless) and c) boot with / writable     touch ${IMAGE_ROOTFS}${sysconfdir}/mach

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-20 Thread Vyacheslav Yurkov via lists.openembedded.org
Isn't is supposed to be created on first boot? Slava On 20.02.2025 15:07, Ross Burton wrote: On 19 Feb 2025, at 10:39, Vyacheslav Yurkov via lists.openembedded.org wrote: From: Vyacheslav Yurkov Instead of the python re-implementation build the actual systemctl from the systemd source tree

Re: [OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-20 Thread Ross Burton via lists.openembedded.org
On 19 Feb 2025, at 10:39, Vyacheslav Yurkov via lists.openembedded.org wrote: > > From: Vyacheslav Yurkov > > Instead of the python re-implementation build the actual systemctl from > the systemd source tree. The python script was used when systemd didn't > provide an option to build individua

[OE-core] [PATCH v6] systemd: Build the systemctl executable

2025-02-19 Thread Vyacheslav Yurkov via lists.openembedded.org
From: Vyacheslav Yurkov Instead of the python re-implementation build the actual systemctl from the systemd source tree. The python script was used when systemd didn't provide an option to build individual executables. It is possible in the meantime, so instead of always adapting the script when