[oe-commits] =?UTF-8?Q?Andr=C3=A9=20Draszik=20?=: rsync: use ${sysconfdir} instead of hardcoding /etc

git at git.openembedded.org git at git.openembedded.org
Mon Aug 10 19:41:16 UTC 2015


Module: openembedded-core.git
Branch: fido
Commit: 7f76d444286cf39c58308dde2fb9eed0fee78895
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7f76d444286cf39c58308dde2fb9eed0fee78895

Author: André Draszik <git at andred.net>
Date:   Fri Jul 24 13:48:44 2015 +0100

rsync: use ${sysconfdir} instead of hardcoding /etc

(From OE-Core rev: 3bf20e3a67099f54a20c6534fea5db169c63dbec)

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/rsync/rsync.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/rsync/rsync.inc b/meta/recipes-devtools/rsync/rsync.inc
index 4223c59..c65f270 100644
--- a/meta/recipes-devtools/rsync/rsync.inc
+++ b/meta/recipes-devtools/rsync/rsync.inc
@@ -16,8 +16,8 @@ SRC_URI = "http://rsync.samba.org/ftp/rsync/src/rsync-${PV}.tar.gz \
 inherit autotools
 
 do_install_append() {
-	install -d ${D}/etc
-	install -m 0644 ${WORKDIR}/rsyncd.conf ${D}/etc
+	install -d ${D}${sysconfdir}
+	install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir}
 }
 
 EXTRA_OEMAKE='STRIP=""'



More information about the Openembedded-commits mailing list