summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2015-11-02 16:33:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-12 08:42:31 +0000
commit435139b2a90f765b898c074c0dfa34a0208962fa (patch)
tree94e208db512e24ad488701efa8f169bd5236d715 /meta
parent5f49c0a248c8cf47212a6afcf0a901cc882ee9f2 (diff)
downloadpoky-435139b2a90f765b898c074c0dfa34a0208962fa.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 master rev: 0007436b486fd0bea9e6ef60bf57603e7cfce54b) (From OE-Core rev: c0a13c410393ce51a2a55e36a0913c0136058bdc) 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> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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