diff options
-rw-r--r-- | meta/recipes-extended/procps/procps_3.2.8.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index 6211a7c955..fcfde194f1 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}" \ | |||
28 | do_install_append () { | 28 | do_install_append () { |
29 | install -d ${D}${sysconfdir} | 29 | install -d ${D}${sysconfdir} |
30 | install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf | 30 | install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf |
31 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
32 | install -d ${D}${sysconfdir}/sysctl.d | ||
33 | ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf | ||
34 | fi | ||
31 | } | 35 | } |
32 | 36 | ||
33 | CONFFILES_${PN} = "${sysconfdir}/sysctl.conf" | 37 | CONFFILES_${PN} = "${sysconfdir}/sysctl.conf" |