From: Jan Kiszka <jan.kiszka@siemens.com>
To: Uladzimir Bely <ubely@ilbers.de>,
Cedric Hombourger <chombourger@gmail.com>,
isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH 0/2] Mask systemd-firstboot
Date: Mon, 27 Feb 2023 13:55:13 +0100 [thread overview]
Message-ID: <ef1e813a-d13c-f626-a922-343c97345e65@siemens.com> (raw)
In-Reply-To: <3393743.LZWGnKmheA@hp>
On 27.02.23 13:53, Uladzimir Bely wrote:
> In mail from Monday, 27 February 2023 15:37:16 +03 user Jan Kiszka wrote:
>> On 27.02.23 13:23, Cedric Hombourger wrote:
>>> On Monday, February 27, 2023 at 5:39:30 AM UTC+1 Uladzimir Bely wrote:
>>> In mail from Saturday, 19 November 2022 21:20:29 +03 user T.
>>>
>>> Schaffner wrote:
>>> > From: Tobias Schaffner <tobias.s...@siemens.com>
>>> >
>>> > systemd-firstboot asks the user interactively for missing system
>>> > configurations like locale or hostname if not configured.
>>> >
>>> > Mask this service as we do not want to depend on user interaction
>>>
>>> to allow
>>>
>>> > an image to boot.
>>>
>>> This is IMO a distro/product level decision and I am not sure if Isar,
>>> as a build-system, should make such decisions
>>>
>>
>> Does the current approach now prevent to re-enable it at that level -
>> obviously only after fixing all the issues that motivated the disabling?
>> Then we need to be aware of the use case, and things should be made
>> configurable.
>>
>> Jan
>
> It's possible to reenable it by local.conf:
> ```
> ROOTFS_POSTPROCESS_COMMAND:remove =
> "image_posprocess_disable_systemd_firstboot"
> ```
>
> Of course, we could not to add this to ROOTFS_POSTPROCESS_COMMAND in image-
> postproc-extension.bbclass by default, but leave an opportunity for
> downstreams to make this :append. But it would be a kind of dead code in Isar
> in this case.
>
I agree that this switch can be a distro/project topic, but if that
switch makes sense for 99% of the cases (and it feels to me like this
ATM), then having it default-on reduces the efforts downstream.
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux
prev parent reply other threads:[~2023-02-27 12:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-19 18:20 T. Schaffner
2022-11-19 18:20 ` [PATCH 1/2] " T. Schaffner
2022-11-19 18:20 ` [PATCH 2/2] Warn if systemd-firstboot misses configurations T. Schaffner
2022-11-22 10:04 ` Anton Mikanovich
2022-11-22 10:24 ` Florian Bezdeka
2023-02-23 11:43 ` Uladzimir Bely
2023-02-24 11:36 ` Schaffner, Tobias
2023-02-27 4:39 ` [PATCH 0/2] Mask systemd-firstboot Uladzimir Bely
2023-02-27 12:23 ` Cedric Hombourger
2023-02-27 12:37 ` Jan Kiszka
2023-02-27 12:53 ` Uladzimir Bely
2023-02-27 12:55 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef1e813a-d13c-f626-a922-343c97345e65@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=chombourger@gmail.com \
--cc=isar-users@googlegroups.com \
--cc=ubely@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox