From: Alex Kiernan <alex.kiernan@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v5 1/6] systemd: don't build firstboot by default
Date: Mon, 29 Apr 2019 15:43:20 +0100 [thread overview]
Message-ID: <20190429144325.63744-2-alex.kiernan@gmail.com> (raw)
In-Reply-To: <20190429144325.63744-1-alex.kiernan@gmail.com>
From: Jonas Bonn <jonas@norrbonn.se>
The firstboot service prompts the user for information about the host at
first boot. Systemd determines whether or not a boot is a "first boot"
by the existence of the file /etc/machine-id. Since oe-core always
includes this file (it is part of the systemd package), the firstboot
service never runs so this service is being built but never run.
A follow-up patch to this one will remove the machine-id from the
systemd build and allow it to be created automatically by systemd at
"first boot". With that patch, we don't want the firstboot service to
suddenly start being invoked and presenting a prompt to the user.
With this patch, the firstboot service becomes a PACKAGECONFIG option
that the user must actively select.
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
Changes in v5:
- rebased for systemd 242
meta/recipes-core/systemd/systemd_242.bb | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index 33d3e0b000d9..9f194f2b6ca1 100644
--- a/meta/recipes-core/systemd/systemd_242.bb
+++ b/meta/recipes-core/systemd/systemd_242.bb
@@ -66,7 +66,6 @@ PACKAGECONFIG ??= " \
acl \
backlight \
binfmt \
- firstboot \
gshadow \
hibernate \
hostnamed \
--
2.17.1
next prev parent reply other threads:[~2019-04-29 14:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 14:43 [PATCH v5 0/6] Fix systemd service enables/move towards "stateless" configuration Alex Kiernan
2019-04-29 14:43 ` Alex Kiernan [this message]
2019-04-29 14:43 ` [PATCH v5 2/6] systemd: do not create machine-id Alex Kiernan
2019-04-29 14:43 ` [PATCH v5 3/6] systemd-conf: simplify creation of machine-specific configuration Alex Kiernan
2019-04-29 14:43 ` [PATCH v5 4/6] systemd: create preset files instead of installing in image Alex Kiernan
2019-04-29 14:43 ` [PATCH v5 5/6] systemd-systemctl-native: simplify and support preset-all Alex Kiernan
2019-04-30 10:31 ` Alex Kiernan
2019-04-29 14:43 ` [PATCH v5 6/6] rootfs-postcommands: call preset-all for read-only-rootfs Alex Kiernan
2019-04-30 10:59 ` [PATCH v5 0/6] Fix systemd service enables/move towards "stateless" configuration richard.purdie
2019-04-30 11:45 ` Alex Kiernan
2019-04-30 11:52 ` Alex Kiernan
2019-04-30 12:02 ` Paul Barker
2019-04-30 12:13 ` Alex Kiernan
2019-04-30 12:24 ` Paul Barker
2019-04-30 12:33 ` Alex Kiernan
2019-04-30 12:37 ` Paul Barker
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=20190429144325.63744-2-alex.kiernan@gmail.com \
--to=alex.kiernan@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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