world build fixes
cover world build fixes
this should address the RDEPENDS issue found in world build
Armin Kuster (2):
proftpd: fix rdepends issue
netkit-rwho: fix rdepends issue
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- meta-networking/recipes-netkit/netkit-rwho/netkit-rwho_0.17.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/2 proftpd: fix rdepends issue
--- meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +1 -1
@@ -99,4 +99,4 @@ USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} -- FILES_${PN} += "/home/${FTPUSER}" -RDEPENDS_${PN} += "perl" +RDEPENDS_${PN} += "perl initscripts-functions"
Signature · 1 line
1.9.1
PATCH 2/2 netkit-rwho: fix rdepends issue
In reply to Armin Kuster--- meta-networking/recipes-netkit/netkit-rwho/netkit-rwho_0.17.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-netkit/netkit-rwho/netkit-rwho_0.17.bb +2 -0
@@ -81,3 +81,5 @@ FILES_${PN}-server = "${sbindir}/* ${localstatedir} ${sysconfdir}/default/* ${sy FILES_${PN}-doc = "${mandir}" FILES_${PN}-dbg = "${prefix}/src/debug \ ${bindir}/.debug ${sbindir}/.debug" + +RDEPENDS_${PN} += "initscripts-functions"
Signature · 1 line
1.9.1
Re: [meta-networking][PATCH 1/2] proftpd: fix rdepends issue
In reply to Armin KusterQuoted 10 lines · Armin Kuster
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +0
-0
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} -- · line 102
Quoted 5 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +1
-1@@ -99,4 +99,4 @@ USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} -- FILES_${PN} += "/home/${FTPUSER}" -RDEPENDS_${PN} += "perl" +RDEPENDS_${PN} += "perl initscripts-functions"
It's not that simple.
The initscripts-functions is added to RDEPENDS conditionally based on "sysvinit" in DISTRO_FEATURES and INHIBIT_UPDATERCD_BBCLASS.
Adding it explicitly here will pull it to image even for people who care only about systemd services (and don't want any iniscripts to pollute their startup sequence).
See meta/classes/update-rc.d.bbclass
I know we already have one recipe like this:
meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb:RDEPENDS_${PN} += "initscripts-functions"
but honestly silencing this warning like this does more harm then the warning. I think it should be fixed in bbclass, because all recipes which inherit it, suffer from this. Maybe by adding another VIRTUAL_RUNTIME which can be set to empty when sysv isn't enabled.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-networking][PATCH 1/2] proftpd: fix rdepends issue
Quoted 30 lines · On Tuesday 06 January 2015 17:26:10 Martin Jansa wrote:
Quoted 12 lines · Armin Kuster
Signed-off-by Armin Kuster <[email protected]>---
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb index cba39e8..7d285a0 100644
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} · line 101
Quoted 5 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +1
-2@@ -99,4 +99,4 @@ USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} --> FILES_${PN} += "/home/${FTPUSER}" -RDEPENDS_${PN} += "perl" +RDEPENDS_${PN} += "perl initscripts-functions"It's not that simple.
The initscripts-functions is added to RDEPENDS conditionally based on "sysvinit" in
DISTRO_FEATURESandINHIBIT_UPDATERCD_BBCLASS.Adding it explicitly here will pull it to image even for people who care only about systemd services (and don't want any iniscripts to pollute their startup sequence).
See meta/classes/update-rc.d.bbclass
Quoted 8 lines
I know we already have one recipe like this:
meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb:RDEPENDS_${PN} += "initscripts-functions"but honestly silencing this warning like this does more harm then the warning. I think it should be fixed in bbclass, because all recipes which inherit it, suffer from this. Maybe by adding another
VIRTUAL_RUNTIMEwhich can be set to empty when sysv isn't enabled.
What about just adding initscripts to DEPENDS in update-rc.d.bbclass ? At least then the package would get built.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-networking][PATCH 1/2] proftpd: fix rdepends issue
In reply to Martin JansaQuoted 12 lines · Martin Jansa
Quoted 11 lines · Armin Kuster
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +0
-0@@ -99,4 +99,4 @@ USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} --
Quoted 6 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} -- · line 102
Quoted 4 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +1
-1FILES_${PN} += "/home/${FTPUSER}" -RDEPENDS_${PN} += "perl" +RDEPENDS_${PN} += "perl initscripts-functions"It's not that simple.
Had to try :)
Quoted 7 lines
The initscripts-functions is added to RDEPENDS conditionally based on "sysvinit" in
DISTRO_FEATURESandINHIBIT_UPDATERCD_BBCLASS.Adding it explicitly here will pull it to image even for people who care only about systemd services (and don't want any iniscripts to pollute their startup sequence).
make sense.
Quoted 2 lines
See meta/classes/update-rc.d.bbclass
thanks for the reference.
Quoted 8 lines
I know we already have one recipe like this:
meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb:RDEPENDS_${PN} += "initscripts-functions"but honestly silencing this warning like this does more harm then the warning. I think it should be fixed in bbclass, because all recipes which inherit it, suffer from this. Maybe by adding another
VIRTUAL_RUNTIMEwhich can be set to empty when sysv isn't enabled.
k.
Does the 5 second rule count ? or because I touched it I am stuck with it ; )
I will take a look.
thanks,
Armin
Quoted 3 lines
Re: [meta-networking][PATCH 1/2] proftpd: fix rdepends issue
Quoted 46 lines · [Re: [oe] [meta-networking][PATCH 1/2] proftpd: fix rdepends issue] On…
Quoted 12 lines · Martin Jansa
Quoted 11 lines · Armin Kuster
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +0
-0@@ -99,4 +99,4 @@ USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} --Quoted 6 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} -- · line 102
Quoted 4 lines
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5.bb +1
-1FILES_${PN} += "/home/${FTPUSER}" -RDEPENDS_${PN} += "perl" +RDEPENDS_${PN} += "perl initscripts-functions"It's not that simple.
Had to try :)
Quoted 7 lines
The initscripts-functions is added to RDEPENDS conditionally based on "sysvinit" in
DISTRO_FEATURESandINHIBIT_UPDATERCD_BBCLASS.Adding it explicitly here will pull it to image even for people who care only about systemd services (and don't want any iniscripts to pollute their startup sequence).
make sense.
Quoted 2 lines
See meta/classes/update-rc.d.bbclass
thanks for the reference.
Quoted 8 lines
I know we already have one recipe like this:
meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb:RDEPENDS_${PN} += "initscripts-functions"but honestly silencing this warning like this does more harm then the warning. I think it should be fixed in bbclass, because all recipes which inherit it, suffer from this. Maybe by adding another
VIRTUAL_RUNTIMEwhich can be set to empty when sysv isn't enabled.
Quoted 4 lines
k.
Does the 5 second rule count ? or because I touched it I am stuck with it ; )
If you invoke the five-second-rule, I think it can apply, but if you're anything like me, once you step in something it's almost impossible to pretend you didn't. ;-)
-J.
Quoted 8 lines
I will take a look.
thanks,
ArminQuoted 3 lines
Signature · 2 lines
-Joe MacDonald. :wq