summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2015-11-02 16:33:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:10 +0000
commitbca5a7a2b63411ee1d51cd2112ad9503d5107381 (patch)
tree42c28aad875b616d092f8e9f8aab6a61cfb2fc57 /meta/recipes-extended/logrotate
parent0069c0d3a3d3de20330947aecbd640f0f1d2f281 (diff)
downloadpoky-bca5a7a2b63411ee1d51cd2112ad9503d5107381.tar.gz
logrotate: do not move binary logrotate to /usr/bin
In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a ... Author: Fahad Usman <fahad_usman@mentor.com> Date: Tue Aug 26 13:16:48 2014 +0500 logrotate: obey our flags Needed to quiet GNU_HASH warnings, and some minor fixes. ... it explicitly move logrotate to /usr/bin without any reason, which is against the original Linux location /usr/sbin. So partly revert the above commit which let logrotate be kept in the original place /usr/sbin. (From OE-Core rev: 0007436b486fd0bea9e6ef60bf57603e7cfce54b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/logrotate')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.9.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
index 7d0a15961b..5f1a601aeb 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
@@ -53,7 +53,7 @@ do_compile_prepend() {
53} 53}
54 54
55do_install(){ 55do_install(){
56 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} BINDIR=${bindir} 56 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
57 mkdir -p ${D}${sysconfdir}/logrotate.d 57 mkdir -p ${D}${sysconfdir}/logrotate.d
58 mkdir -p ${D}${sysconfdir}/cron.daily 58 mkdir -p ${D}${sysconfdir}/cron.daily
59 mkdir -p ${D}${localstatedir}/lib 59 mkdir -p ${D}${localstatedir}/lib