[OE-core] [PATCH 29/30] chkconfig: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas
javier at dowhile0.org
Sun Aug 5 15:54:16 UTC 2012
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
Signed-off-by: Javier Martinez Canillas <javier at dowhile0.org>
---
.../recipes-extended/chkconfig/chkconfig_1.3.58.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
index 17987a6..ae55e36 100644
--- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
@@ -24,6 +24,6 @@ inherit autotools gettext
EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"'
do_install_append() {
- mkdir -p ${D}/etc/chkconfig.d
+ mkdir -p ${D}${sysconfdir}/chkconfig.d
rm -f ${D}${sbindir}/update-alternatives
}
--
1.7.7.6
More information about the Openembedded-core
mailing list