summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2015-07-24 13:48:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 10:31:00 +0100
commit3bf20e3a67099f54a20c6534fea5db169c63dbec (patch)
treeec27ef3ca55570f8d3a722139ea5b1fb95e8f5f5
parentda889e86bac55178e06b6e2328ddf9415698fd79 (diff)
downloadopenembedded-core-3bf20e3a67099f54a20c6534fea5db169c63dbec.tar.gz
openembedded-core-3bf20e3a67099f54a20c6534fea5db169c63dbec.tar.bz2
openembedded-core-3bf20e3a67099f54a20c6534fea5db169c63dbec.zip
rsync: use ${sysconfdir} instead of hardcoding /etc
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/rsync/rsync.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rsync/rsync.inc b/meta/recipes-devtools/rsync/rsync.inc
index 4223c590f9..c65f270312 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=""'