[Buildroot] [git commit] systemd: don't build systemd-firstboot by default
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Dec 8 21:46:42 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=447d364144cad9e02f01d8cfefe3e0bc43cbf2bc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.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.
More information about the buildroot
mailing list