package/systemd: add optional support for localed
authorGabe Evans <gabe@hashrabbit.co>
Fri, 1 Jul 2016 21:51:12 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 10:41:24 +0000 (12:41 +0200)
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index e84a7170c8b555d1b85c7124dbc231553a025786..c2f6e982981ecf1c086c87ec423bbc0532823399 100644 (file)
@@ -235,6 +235,15 @@ config BR2_PACKAGE_SYSTEMD_TIMEDATED
 
          http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
 
+config BR2_PACKAGE_SYSTEMD_LOCALED
+       bool "enable locale daemon"
+       help
+         systemd-localed is a system service that may be used as
+         mechanism to change the system locale settings, as well as
+         the console key mapping and default X11 key mapping.
+
+         http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
+
 config BR2_PACKAGE_SYSTEMD_NETWORKD
        bool "enable network manager"
        help
index ad75315238d5d1c69b33d4cac90c73072dd7a012..ee7f74d3d70e889aa2b1699d19167072e3762850 100644 (file)
@@ -225,6 +225,12 @@ else
 SYSTEMD_CONF_OPTS += --disable-timedated
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_LOCALED),y)
+SYSTEMD_CONF_OPTS += --enable-localed
+else
+SYSTEMD_CONF_OPTS += --disable-localed
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
 SYSTEMD_CONF_OPTS += --enable-networkd
 define SYSTEMD_INSTALL_RESOLVCONF_HOOK