From: Hongxu Jia Date: Mon, 2 Nov 2015 08:33:27 +0000 (+0800) Subject: logrotate: do not move binary logrotate to /usr/bin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88015d6d0a887969ae82b0888bf32659a6d225d3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git logrotate: do not move binary logrotate to /usr/bin In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a ... Author: Fahad Usman 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. Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb index e3cfa90ced0..dcd5190012d 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() { } do_install(){ - oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} BINDIR=${bindir} + oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} mkdir -p ${D}${sysconfdir}/logrotate.d mkdir -p ${D}${sysconfdir}/cron.daily mkdir -p ${D}${localstatedir}/lib