* [PATCH 0/1] procps: install symlink under /etc/sysctl.d in case of systemd
@ 2014-11-09 7:03 Chen Qi
2014-11-09 7:03 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-11-09 7:03 UTC (permalink / raw)
To: openembedded-core
The following changes since commit d7a277b35bcc67050046c76fb70412101679a545:
docbook-xsl-stylesheets: add perl to RDEPENDS (2014-11-04 10:20:34 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/procps-sysctl.d
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/procps-sysctl.d
Chen Qi (1):
procps: install symlink under /etc/sysctl.d in case of systemd
meta/recipes-extended/procps/procps_3.2.8.bb | 4 ++++
1 file changed, 4 insertions(+)
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] procps: install symlink under /etc/sysctl.d in case of systemd
2014-11-09 7:03 [PATCH 0/1] procps: install symlink under /etc/sysctl.d in case of systemd Chen Qi
@ 2014-11-09 7:03 ` Chen Qi
2014-11-11 9:02 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-11-09 7:03 UTC (permalink / raw)
To: openembedded-core
Install /etc/sysctl.d/99-sysctl.conf symlink in case of systemd so
that /etc/sysctl.conf is taken into consideration by systemd-sysctl.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-extended/procps/procps_3.2.8.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
index 6211a7c..fcfde19 100644
--- a/meta/recipes-extended/procps/procps_3.2.8.bb
+++ b/meta/recipes-extended/procps/procps_3.2.8.bb
@@ -28,6 +28,10 @@ EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -I${STAGING_INCDIR}" \
do_install_append () {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf
+ if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ install -d ${D}${sysconfdir}/sysctl.d
+ ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf
+ fi
}
CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-11 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 7:03 [PATCH 0/1] procps: install symlink under /etc/sysctl.d in case of systemd Chen Qi
2014-11-09 7:03 ` [PATCH 1/1] " Chen Qi
2014-11-11 9:02 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox