summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2019-01-29 08:24:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-31 23:04:50 +0000
commit0990d77d99a9ba81e21961f9633df10ccef4b1a4 (patch)
tree609b851d4ec0798f037bb962823c0b18d1e832fe /meta
parent7e216e806ca765152fd874e24785f783a3201284 (diff)
downloadopenembedded-core-0990d77d99a9ba81e21961f9633df10ccef4b1a4.tar.gz
openembedded-core-0990d77d99a9ba81e21961f9633df10ccef4b1a4.tar.bz2
openembedded-core-0990d77d99a9ba81e21961f9633df10ccef4b1a4.zip
glibc: systemd and sysvinit are not mutually exclusive
Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index a98ae1a29c..329732f48c 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -107,7 +107,9 @@ do_install_append () {
install -d ${D}${sysconfdir}/tmpfiles.d
echo "d /run/nscd 755 root root -" \
> ${D}${sysconfdir}/tmpfiles.d/nscd.conf
- else
+ fi
+
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/default/volatiles
echo "d root root 0755 /var/run/nscd none" \
> ${D}${sysconfdir}/default/volatiles/98_nscd