Skip to contentSkip to conversation

meta-cloud-services: add layer depends on networking-layer

PATCH In review [email protected] 2 participants 4 messages Jul 1, 2019 – Jul 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 meta-cloud-services: add layer depends on networking-layer

From: Mingli Yu <[email protected]>

Since spice of meta-cloud-services depends on
cyrus-sasl which comes from networking-layer,
add missing layer depends back.

---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -1
index 203f9db..2cfb75f 100644
@@ -8,4 +8,4 @@ BBFILE_COLLECTIONS += "cloud-services-layer"
 BBFILE_PATTERN_cloud-services-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_cloud-services-layer = "5"
 LAYERSERIES_COMPAT_cloud-services-layer = "thud warrior"
-LAYERDEPENDS_cloud-services-layer = "core filesystems-layer"
+LAYERDEPENDS_cloud-services-layer = "core filesystems-layer networking-layer"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 nss-pam-ldapd: add required distro feature check for pam

From: Mingli Yu <[email protected]>

As nss-pam-ldapd depends on libpam, it should do
required distro feature check for pam.

---
 recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb +2 -1
index 404aeca..dfa562f 100644
@@ -20,7 +20,8 @@ SRC_URI = "\
 	file://nslcd.service \
 	"
 
-inherit autotools
+inherit autotools distro_features_check
+REQUIRED_DISTRO_FEATURES = "pam"
 
 SRC_URI[md5sum] = "8c99fdc54f4bf9aca8c5f53fdb1403ff"
 SRC_URI[sha256sum] = "ef7362e7f2003da8c7beb7bcc03c30494acf712625aaac8badc6e7eb16f3453f"
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-cloud-services][PATCH 2/2] nss-pam-ldapd: add required distro feature check for pam

merged.

Bruce

Quoted 28 lines · On Sun, Jun 30, 2019 at 10:09 PM <[email protected]> wrote:

From: Mingli Yu <[email protected]>

As nss-pam-ldapd depends on libpam, it should do
required distro feature check for pam.

---
 recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb +2 -2
index 404aeca..dfa562f 100644
@@ -20,7 +20,8 @@ SRC_URI = "\
        file://nslcd.service \
        "
 
-inherit autotools
+inherit autotools distro_features_check
+REQUIRED_DISTRO_FEATURES = "pam"
 
 SRC_URI[md5sum] = "8c99fdc54f4bf9aca8c5f53fdb1403ff"
 SRC_URI[sha256sum] = "ef7362e7f2003da8c7beb7bcc03c30494acf712625aaac8badc6e7eb16f3453f"
--

2.7.4

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw
In reply to [email protected]

merged

Bruce

Quoted 25 lines · On Sun, Jun 30, 2019 at 10:08 PM <[email protected]> wrote:

From: Mingli Yu <[email protected]>

Since spice of meta-cloud-services depends on
cyrus-sasl which comes from networking-layer,
add missing layer depends back.

---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -2
index 203f9db..2cfb75f 100644
@@ -8,4 +8,4 @@ BBFILE_COLLECTIONS += "cloud-services-layer"
 BBFILE_PATTERN_cloud-services-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_cloud-services-layer = "5"
 LAYERSERIES_COMPAT_cloud-services-layer = "thud warrior"
-LAYERDEPENDS_cloud-services-layer = "core filesystems-layer"
+LAYERDEPENDS_cloud-services-layer = "core filesystems-layer networking-layer"
--

2.7.4

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II