Re: [yocto] [meta-security][PATCH 3/5] sssd: fix a few runtime issues
On 3/28/19 11:51 PM, Adrian Bunk wrote: > On Thu, Mar 28, 2019 at 10:28:19PM -0700, Armin Kuster wrote: >> include a few more RDEPEND packages. remove init script as there really >> isn't one yet. >> >> Signed-off-by: Armin Kuster >> --- >> recipes-security/sssd/sssd_1.16.3.bb | 14 -- >> 1 file changed, 12 insertions(+), 2 deletions(-) >> >> diff --git a/recipes-security/sssd/sssd_1.16.3.bb >> b/recipes-security/sssd/sssd_1.16.3.bb >> index 8f7f805..e3fb254 100644 >> --- a/recipes-security/sssd/sssd_1.16.3.bb >> +++ b/recipes-security/sssd/sssd_1.16.3.bb >> ... >> # The package contains symlinks that trip up insane >> INSANE_SKIP_${PN} = "dev-so" >> >> -RDEPENDS_${PN} += "bind dbus" >> +RDEPENDS_${PN} = "bind dbus samba libldb" > Even when samba support is not enabled? Yeah, that isn't right. thanks, Armin > > cu > Adrian > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-security][PATCH 3/5] sssd: fix a few runtime issues
On Thu, Mar 28, 2019 at 10:28:19PM -0700, Armin Kuster wrote: > include a few more RDEPEND packages. remove init script as there really > isn't one yet. > > Signed-off-by: Armin Kuster > --- > recipes-security/sssd/sssd_1.16.3.bb | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/recipes-security/sssd/sssd_1.16.3.bb > b/recipes-security/sssd/sssd_1.16.3.bb > index 8f7f805..e3fb254 100644 > --- a/recipes-security/sssd/sssd_1.16.3.bb > +++ b/recipes-security/sssd/sssd_1.16.3.bb >... > # The package contains symlinks that trip up insane > INSANE_SKIP_${PN} = "dev-so" > > -RDEPENDS_${PN} += "bind dbus" > +RDEPENDS_${PN} = "bind dbus samba libldb" Even when samba support is not enabled? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-security][PATCH 3/5] sssd: fix a few runtime issues
include a few more RDEPEND packages. remove init script as there really isn't one yet. Signed-off-by: Armin Kuster --- recipes-security/sssd/sssd_1.16.3.bb | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/recipes-security/sssd/sssd_1.16.3.bb b/recipes-security/sssd/sssd_1.16.3.bb index 8f7f805..e3fb254 100644 --- a/recipes-security/sssd/sssd_1.16.3.bb +++ b/recipes-security/sssd/sssd_1.16.3.bb @@ -14,7 +14,7 @@ SRC_URI = "https://releases.pagure.org/SSSD/${BPN}/${BP}.tar.gz\ SRC_URI[md5sum] = "af4288c9d1f9953e3b3b6e0b165a5ece" SRC_URI[sha256sum] = "ee5d17a0c663c09819cbab9364085b9e57faeca02406cc30efe14cc0cfc04ec4" -inherit autotools pkgconfig gettext update-rc.d python-dir distro_features_check +inherit autotools pkgconfig gettext python-dir distro_features_check REQUIRED_DISTRO_FEATURES = "pam" @@ -55,6 +55,16 @@ do_install () { rmdir --ignore-fail-on-non-empty "${D}/${bindir}" install -d ${D}/${sysconfdir}/${BPN} install -m 600 ${WORKDIR}/${BPN}.conf ${D}/${sysconfdir}/${BPN} + +# Remove /var/run as it is created on startup +rm -rf ${D}${localstatedir}/run +} + +pkg_postinst_ontarget_${PN} () { +if [ -e /etc/init.d/populate-volatile.sh ] ; then +${sysconfdir}/init.d/populate-volatile.sh update +fi + } CONFFILES_${PN} = "${sysconfdir}/${BPN}/${BPN}.conf" @@ -70,4 +80,4 @@ FILES_${PN}-dev = " ${includedir}/* ${libdir}/*la ${libdir}/*/*la" # The package contains symlinks that trip up insane INSANE_SKIP_${PN} = "dev-so" -RDEPENDS_${PN} += "bind dbus" +RDEPENDS_${PN} = "bind dbus samba libldb" -- 2.17.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto