[OE-core] [PATCH] logrotate: move binary logrotate back to /usr/sbin
zhangxiao
xiao.zhang at windriver.com
Tue Jul 14 01:19:12 UTC 2015
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}.
Xiao
> --
> Christopher Larson
> clarson at kergoth dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Maintainer - Tslib
> Senior Software Engineer, Mentor Graphics
More information about the Openembedded-core
mailing list