Skip to contentSkip to conversation

cyrus-sasl: Make pkg_postinst/rm package specfic

PATCH In review Khem Raj 3 participants 8 messages Mar 20, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 cyrus-sasl: Make pkg_postinst/rm package specfic

Fixes QA errors:

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

---
 recipes-misc-support/cyrus-sasl_2.1.19.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-misc-support/cyrus-sasl_2.1.19.bb +1 -1
index 2c9d359..da9a709 100644
@@ -47,7 +47,7 @@ do_install () {
 FILES_${PN} += "${prefix}/lib/sasl2/*.so*"
 FILES_${PN}-dev += "${libdir}/sasl2/*.la ${libdir}/sasl2/*.a"
 
-pkg_postinst () {
+pkg_postinst_${PN} () {
         grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus
     echo "cyrus" | saslpasswd2 -p -c cyrus
     chgrp mail /etc/sasldb2
Signature · 1 line
1.7.9.5
#1 lore raw

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

#2 lore raw

2013/3/20 Marcin Juszkiewicz <[email protected]>:

Quoted 9 lines

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

Hi, it seems there are some differences in the recipes, maybe we can work through them.

Is BDB 5 working correctly with this version, without the patch [1]?

[1] https://gitorious.org/openembedded-core-layers/meta-kde/blobs/c9bac7d55796e0f88e6950dfff2adbb186b0df7a/recipes-misc-support/cyrus-sasl/Fix-for-berkeley-db-5.patch

--
Regards
Samuel

#3 lore raw

W dniu 20.03.2013 10:32, Samuel Stirtzel pisze:

Quoted 7 lines

2013/3/20 Marcin Juszkiewicz <[email protected]>:

Quoted 6 lines

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

Quoted 8 lines
Quoted 3 lines

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

Hi, it seems there are some differences in the recipes, maybe we can work through them.

Is BDB 5 working correctly with this version, without the patch [1]?

It built properly against db 5.3.21 - support was added upsteam.

#4 lore raw

2013/3/20 Marcin Juszkiewicz <[email protected]>:

Quoted 12 lines

W dniu 20.03.2013 10:32, Samuel Stirtzel pisze:

Quoted 11 lines

2013/3/20 Marcin Juszkiewicz <[email protected]>:

Quoted 9 lines

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

Quoted 7 lines
Quoted 4 lines

Hi, it seems there are some differences in the recipes, maybe we can work through them.

Is BDB 5 working correctly with this version, without the patch [1]?

It built properly against db 5.3.21 - support was added upsteam.

Done

--
Regards
Samuel

author
#5 lore raw
In reply to Samuel Stirtzel
Quoted 8 lines · Samuel Stirtzel

Hi, it seems there are some differences in the recipes, maybe we can work through them.

Is BDB 5 working correctly with this version, without the patch [1]?

[1] https://gitorious.org/openembedded-core-layers/meta-kde/blobs/c9bac7d55796e0f88e6950dfff2adbb186b0df7a/recipes-misc-support/cyrus-sasl/Fix-for-berkeley-db-5.patch

Samuel

Post an update to meta-networking. I think meta-oe one should be removed too.

author
#6 lore raw
In reply to Marcin Juszkiewicz
Quoted 8 lines · Marcin Juszkiewicz

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

earlier there was a case when meta-kde aimed to build without meta-oe or meta-networking. I will leave it to meta-kde maintainer weather to depend on meta-oe or not.

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw

2013/3/20 Khem Raj <[email protected]>:

Quoted 9 lines · Marcin Juszkiewicz
Quoted 7 lines

W dniu 20.03.2013 09:51, Khem Raj pisze:

Quoted 4 lines

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix this.

Quoted 7 lines
Quoted 2 lines

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should be removed.

earlier there was a case when meta-kde aimed to build without meta-oe or meta-networking. I will leave it to meta-kde maintainer weather to depend on meta-oe or not.

Some dependencies do not seem to be core enough for oe-core ;) OTOH the WindRiver devs do not seem to be concerned about meta-kde anymore.

--
Regards
Samuel