diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:50 +0100 |
commit | cb8f3828f486e9e35613c2f1efe1c2bbc763fdeb (patch) | |
tree | f0f344c11d0a89c6d6caffe56e6ae23cd8d23b0e /meta | |
parent | ed9fc6fa516584a8cd1b492284b9eb7c89983ab4 (diff) | |
download | poky-cb8f3828f486e9e35613c2f1efe1c2bbc763fdeb.tar.gz |
rsync: use ${sysconfdir} instead of /etc for packaging
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
(From OE-Core rev: bc45d990938c1b1d761cee6e90464d22f854a2ab)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/rsync/rsync_2.6.9.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_2.6.9.bb b/meta/recipes-devtools/rsync/rsync_2.6.9.bb index 74d10e4ac5..54feadad71 100644 --- a/meta/recipes-devtools/rsync/rsync_2.6.9.bb +++ b/meta/recipes-devtools/rsync/rsync_2.6.9.bb | |||
@@ -13,8 +13,8 @@ SRC_URI = "http://rsync.samba.org/ftp/rsync/src/rsync-${PV}.tar.gz \ | |||
13 | inherit autotools | 13 | inherit autotools |
14 | 14 | ||
15 | do_install_append() { | 15 | do_install_append() { |
16 | install -d ${D}/etc | 16 | install -d ${D}${sysconfdir} |
17 | install -m 0644 ${WORKDIR}/rsyncd.conf ${D}/etc | 17 | install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir} |
18 | } | 18 | } |
19 | 19 | ||
20 | EXTRA_OEMAKE='STRIP=""' | 20 | EXTRA_OEMAKE='STRIP=""' |
@@ -22,4 +22,4 @@ EXTRA_OEMAKE='STRIP=""' | |||
22 | LICENSE = "GPLv2+" | 22 | LICENSE = "GPLv2+" |
23 | LIC_FILES_CHKSUM = "file://COPYING;md5=6d5a9d4c4d3af25cd68fd83e8a8cb09c" | 23 | LIC_FILES_CHKSUM = "file://COPYING;md5=6d5a9d4c4d3af25cd68fd83e8a8cb09c" |
24 | 24 | ||
25 | PR = "r3" | 25 | PR = "r4" |