systemd: don't build systemd-firstboot by default
authorFrank Hunleth <fhunleth@troodon-software.com>
Wed, 26 Oct 2016 17:18:04 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Dec 2016 21:46:42 +0000 (22:46 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in

index ddaf3e23b0249d5cc0ae4b009c5cde4f59555d0d..1aedb7b4a434edb6b0094ca395b2c52b6c4be7b3 100644 (file)
@@ -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.