فهرست منبع

swupdate: add libsystemd dependency

If systemd support is enabled in SWUpdate,
add dependency on libsystemd.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
Christian Storm 8 سال پیش
والد
کامیت
96fcd37109
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      recipes-support/swupdate/swupdate.inc

+ 4 - 0
recipes-support/swupdate/swupdate.inc

@@ -59,6 +59,10 @@ python () {
         depends = d.getVar('DEPENDS', False)
         d.setVar('DEPENDS', depends + ' json-c')
 
+    if 'CONFIG_SYSTEMD=y\n' in features:
+        depends = d.getVar('DEPENDS', False)
+        d.setVar('DEPENDS', depends + ' systemd')
+
     if 'CONFIG_ARCHIVE=y\n' in features:
         depends = d.getVar('DEPENDS', False)
         d.setVar('DEPENDS', depends + ' libarchive')