Skip to contentSkip to conversation

systemd: Fix polkit build order

PATCH New Yann E. MORIN 1 participant 1 message Jul 4, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 systemd: Fix polkit build order

Asgeir, All,

On 2018-07-04 15:02 +0000, Asgeir Bjarni Ingvarsson spake thusly:

Quoted 5 lines

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.

Regards,
Yann E. MORIN.

Quoted 19 lines
---
 package/systemd/systemd.mk | 1 +
 1 file changed, 1 insertion(+)
package/systemd/systemd.mk +1 -0
index 10e11a9277..04775ee778 100644
@@ -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
Signature · 1 line
2.16.4
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'