summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2015-11-02 08:33:27 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-20 17:08:30 (GMT)
commit368da33ee7f9c81977c0ad52c38d3f14bae6cff6 (patch)
tree133d2b4dd4e88dd69ec34eb680c9960dcc4d1377
parent48d9e0091363d0d691862554209e2dde5d112c06 (diff)
downloadpoky-368da33ee7f9c81977c0ad52c38d3f14bae6cff6.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: 88015d6d0a887969ae82b0888bf32659a6d225d3) 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>
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.8.8.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
index e3cfa90..dcd5190 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
@@ -55,7 +55,7 @@ do_compile_prepend() {
55} 55}
56 56
57do_install(){ 57do_install(){
58 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} BINDIR=${bindir} 58 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
59 mkdir -p ${D}${sysconfdir}/logrotate.d 59 mkdir -p ${D}${sysconfdir}/logrotate.d
60 mkdir -p ${D}${sysconfdir}/cron.daily 60 mkdir -p ${D}${sysconfdir}/cron.daily
61 mkdir -p ${D}${localstatedir}/lib 61 mkdir -p ${D}${localstatedir}/lib