[OE-core] [PATCH 1/5] rsync: use ${sysconfdir} instead of hardcoding /etc

André Draszik adraszik at digisoft.tv
Fri Jul 24 12:48:44 UTC 2015


From: André Draszik <git at andred.net>

---
 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=""'
-- 
2.1.4




More information about the Openembedded-core mailing list