Skip to contentSkip to conversation

opensaf:Modified PACKAGECONFIG to fix the following error:

PATCH In review Lei Maohui 1 participant 2 messages Jun 5, 2018 – Jun 20, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 opensaf:Modified PACKAGECONFIG to fix the following error:

| configure: error: Package requirements (libvirt) were not met:
|
| No package 'libvirt' found
---
 meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb +3 -2
index 4b556ce..ca0ae42 100644
@@ -38,9 +38,10 @@ SYSTEMD_SERVICE_${PN} += "opensafd.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
 PACKAGECONFIG[systemd] = ",,systemd"
-PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03 --enable-ais-plm,,openhpi"
+PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03,,openhpi"
+PACKAGECONFIG[plm] = "--enable-ais-plm,--disable-ais-plm,libvirt openhpi"
 
-PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}"
 
 PKGLIBDIR="${libdir}"
 
Signature · 1 line
1.9.1
#1 lore raw

Ping

Quoted 39 lines

-----Original Message-----
From: Lei, Maohui
Sent: Sunday, May 27, 2018 5:55 AM
To: [email protected]
Cc: Lei, Maohui
Subject: [oe] [meta-networking][PATCH] opensaf:Modified PACKAGECONFIG to fix the following error:

| configure: error: Package requirements (libvirt) were not met:
|
| No package 'libvirt' found
---
 meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta- renamed from meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb +0 -0

networking/recipes-daemons/opensaf/opensaf_5.18.02.bb index 4b556ce..ca0ae42 100644

meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb +2 -2
@@ -38,9 +38,10 @@ SYSTEMD_SERVICE_${PN} += "opensafd.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
 PACKAGECONFIG[systemd] = ",,systemd"
-PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03 --enable-ais-plm,,openhpi"
+PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03,,openhpi"
+PACKAGECONFIG[plm] = "--enable-ais-plm,--disable-ais-plm,libvirt openhpi"
 
-PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '

systemd', '', d)}"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}"

PKGLIBDIR="${libdir}"

--
1.9.1