systemd: Fix polkit build order
authorAsgeir Bjarni Ingvarsson <asgeir@appdynamic.com>
Wed, 4 Jul 2018 20:36:24 +0000 (22:36 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 7 Jul 2018 22:19:37 +0000 (00:19 +0200)
We need to install polkit before systemd if we want to enable
polkit integration, because systemd will not install polkit
policy files unless it finds polkit-gobject-1.

Signed-off-by: Asgeir Bjarni Ingvarsson <asgeir@appdynamic.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/systemd/systemd.mk

index 10e11a927713a0865648c76b9350eda025516c02..04775ee778570c1d41a28a9860e9b24ddbefc25c 100644 (file)
@@ -283,6 +283,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y)
 SYSTEMD_CONF_OPTS += -Dpolkit=true
+SYSTEMD_DEPENDENCIES += polkit
 else
 SYSTEMD_CONF_OPTS += -Dpolkit=false
 endif