* [Buildroot] [PATCH 1/1] systemd: don't build systemd-firstboot by default
@ 2016-10-26 17:18 Frank Hunleth
2016-12-08 21:47 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Frank Hunleth @ 2016-10-26 17:18 UTC (permalink / raw)
To: buildroot
systemd-firstboot is never invoked since systemd's first boot detection
logic checks whether /etc/machine-id exists. Since the file is created
automatically by systemd.mk, systemd will never detect first boot and
therefore the systemd-firstboot.service unit file will never get run.
Additionally, if /etc/machine-id is removed to allow systemd-firstboot
to run, it interactively prompts for the system locale. This makes it
seem unlikely that an embedded system would want to use it.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
package/systemd/Config.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index ddaf3e2..1aedb7b 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -106,7 +106,6 @@ config BR2_PACKAGE_SYSTEMD_COREDUMP
config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
bool "enable firstboot support"
- default y
help
systemd-firstboot initializes the most basic system settings
interactively on the first boot.
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] systemd: don't build systemd-firstboot by default
2016-10-26 17:18 [Buildroot] [PATCH 1/1] systemd: don't build systemd-firstboot by default Frank Hunleth
@ 2016-12-08 21:47 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-08 21:47 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 26 Oct 2016 13:18:04 -0400, Frank Hunleth wrote:
> systemd-firstboot is never invoked since systemd's first boot detection
> logic checks whether /etc/machine-id exists. Since the file is created
> automatically by systemd.mk, systemd will never detect first boot and
> therefore the systemd-firstboot.service unit file will never get run.
>
> Additionally, if /etc/machine-id is removed to allow systemd-firstboot
> to run, it interactively prompts for the system locale. This makes it
> seem unlikely that an embedded system would want to use it.
>
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---
> package/systemd/Config.in | 1 -
> 1 file changed, 1 deletion(-)
Since none of the people interested in systemd have replied to your
patch, and your commit log looked sensible, I applied it to master.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-08 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26 17:18 [Buildroot] [PATCH 1/1] systemd: don't build systemd-firstboot by default Frank Hunleth
2016-12-08 21:47 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox