package/systemd: add optional support for vconsole
authorGabe Evans <gabe@hashrabbit.co>
Thu, 25 Feb 2016 21:55:20 +0000 (21:55 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Feb 2016 21:53:50 +0000 (22:53 +0100)
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Thomas: rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index 6289252a3cef9648fd2af9b64eddaecd2596eb92..f1cd465c8155e47d565f7d3b448314b84eea6e62 100644 (file)
@@ -92,6 +92,14 @@ config BR2_PACKAGE_SYSTEMD_BINFMT
 
          http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
 
+config BR2_PACKAGE_SYSTEMD_VCONSOLE
+       bool "enable vconsole tool"
+       help
+         systemd-vconsole-setup is an early boot service that
+         configures the virtual console font and console keymap.
+
+         http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
+
 config BR2_PACKAGE_SYSTEMD_NETWORKD
        bool "enable network manager"
        help
index 5f7941c3574ec3aa5a65edf2d6484b5644e6694e..124119fb272f66f6d569c5af1014678570fe745e 100644 (file)
@@ -137,6 +137,12 @@ else
 SYSTEMD_CONF_OPTS += --disable-binfmt
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_VCONSOLE),y)
+SYSTEMD_CONF_OPTS += --enable-vconsole
+else
+SYSTEMD_CONF_OPTS += --disable-vconsole
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
 SYSTEMD_CONF_OPTS += --enable-networkd
 define SYSTEMD_INSTALL_RESOLVCONF_HOOK