package/systemd: add fdisk support
authorJames Hilliard <james.hilliard1@gmail.com>
Sun, 8 Mar 2020 23:18:22 +0000 (17:18 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 13:47:09 +0000 (15:47 +0200)
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/systemd/systemd.mk

index 78a801926f6130e04c8446774883d0ce64990388..296d975a7f2d990db2bff7332a6690f8bf21b48b 100644 (file)
@@ -130,6 +130,12 @@ else
 SYSTEMD_CONF_OPTS += -Dpam=false
 endif
 
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),y)
+SYSTEMD_CONF_OPTS += -Dfdisk=true
+else
+SYSTEMD_CONF_OPTS += -Dfdisk=false
+endif
+
 ifeq ($(BR2_PACKAGE_VALGRIND),y)
 SYSTEMD_DEPENDENCIES += valgrind
 SYSTEMD_CONF_OPTS += -Dvalgrind=true