package/systemd: add optional support for binfmt
authorGabe Evans <gabe@hashrabbit.co>
Thu, 25 Feb 2016 21:55:19 +0000 (21:55 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Feb 2016 21:53:22 +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 e9a78839827730e791d0e33a49aba5374edf3211..6289252a3cef9648fd2af9b64eddaecd2596eb92 100644 (file)
@@ -84,6 +84,14 @@ config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
 
          http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
 
+config BR2_PACKAGE_SYSTEMD_BINFMT
+       bool "enable binfmt tool"
+       help
+         systemd-binfmt is an early boot service that registers
+         additional binary formats for executables in the kernel.
+
+         http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
+
 config BR2_PACKAGE_SYSTEMD_NETWORKD
        bool "enable network manager"
        help
index 87fdbd7f6e3a71d273949e879f662058b21d93db..5f7941c3574ec3aa5a65edf2d6484b5644e6694e 100644 (file)
@@ -131,6 +131,12 @@ else
 SYSTEMD_CONF_OPTS += --disable-microhttpd
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_BINFMT),y)
+SYSTEMD_CONF_OPTS += --enable-binfmt
+else
+SYSTEMD_CONF_OPTS += --disable-binfmt
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
 SYSTEMD_CONF_OPTS += --enable-networkd
 define SYSTEMD_INSTALL_RESOLVCONF_HOOK