From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:03 +0000 (+0200) Subject: package/systemd: add optional support for firstboot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dd9a00109070f62d7c99e369cc929f70f67ea45;p=buildroot.git package/systemd: add optional support for firstboot Signed-off-by: Gabe Evans [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- 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