[OE-core] [PATCH] logrotate: move binary logrotate back to /usr/sbin

Christopher Larson clarson at kergoth.com
Tue Jul 14 01:47:05 UTC 2015


On Mon, Jul 13, 2015 at 6:19 PM, zhangxiao <xiao.zhang at windriver.com> wrote:

> On 2015年07月13日 22:28, Christopher Larson wrote:
>
>>
>> On Sun, Jul 12, 2015 at 11:10 PM, Zhang Xiao <xiao.zhang at windriver.com
>> <mailto:xiao.zhang at windriver.com>> wrote:
>>
>>     Upstream-Status: pending
>>
>>     Signed-off-by: Zhang Xiao <xiao.zhang at windriver.com
>>     <mailto:xiao.zhang at windriver.com>>
>>
>>
>> There’s no info on why this is being done, only what’s being done, in
>> this commit message.
>>
>
> Binary logrotate should be installed in /usr/sbin and int fact, at the very
> beginning, it was there. While with commit a46d3646a3e1781be44:
> ...
> logrotate: obey our flags
>
> Needed to quiet GNU_HASH warnings, and some minor fixes.
> ...
>
> Part of its modification as below:
> ...
> -    oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
> +    oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
> BINDIR=${bindir}
> ...
> moves it to /usr/bin. It is not correct, so move it back to
> /usr/sbin with ${sbindir}.
>

That’s entirely reasonable, but at least some reference to that needs to be
in the commit message, not just email discussion :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150713/d88e0210/attachment-0002.html>


More information about the Openembedded-core mailing list