From 9dd9a00109070f62d7c99e369cc929f70f67ea45 Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Fri, 1 Jul 2016 23:51:03 +0200 Subject: [PATCH] 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 --- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+) 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 -- 2.30.2