Openembedded Core Discussions
 help / color / mirror / Atom feed
* [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

* Re: [PATCH 1/1] procps: install symlink under /etc/sysctl.d in case of systemd
  2014-11-09  7:03 ` [PATCH 1/1] " Chen Qi
@ 2014-11-11  9:02   ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2014-11-11  9:02 UTC (permalink / raw)
  To: Chen Qi; +Cc: openembedded-core


> Op 9 nov. 2014, om 08:03 heeft Chen Qi <Qi.Chen@windriver.com> het volgende geschreven:
> 
> 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>

Look good to me.

^ permalink raw reply	[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