package/systemd: add optional support for firstboot

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gabe Evans 2016-07-01 23:51:03 +02:00 committed by Thomas Petazzoni
parent fbb4d119da
commit 9dd9a00109
2 changed files with 15 additions and 0 deletions

View File

@ -150,6 +150,15 @@ config BR2_PACKAGE_SYSTEMD_SYSUSERS
http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
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.
http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
config BR2_PACKAGE_SYSTEMD_NETWORKD
bool "enable network manager"
help

View File

@ -171,6 +171,12 @@ else
SYSTEMD_CONF_OPTS += --disable-sysusers
endif
ifeq ($(BR2_PACKAGE_SYSTEMD_FIRSTBOOT),y)
SYSTEMD_CONF_OPTS += --enable-firstboot
else
SYSTEMD_CONF_OPTS += --disable-firstboot
endif
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
SYSTEMD_CONF_OPTS += --enable-networkd
define SYSTEMD_INSTALL_RESOLVCONF_HOOK