diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 20b4e28068..a2cf4be671 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -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 diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 0520ced4c6..c5d6478f43 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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