Hello,
The latest yocto image provide a logrotate script in /etc/cron.daily
but this script calls /usr/sbin/logrotate
which doesn’t exist. logrotate
is in /usr/bin
.
Unfortunately, it seems it’s not easy to fix. If I try to crate a symlink in my rules to /usr/sbin
when I build it it says that /usr/sbin/logrorate
exists already I Don’t understand why as it’s not the case !?! And I provide my own logrotate, it says it exists already. That’s true.
So I suppose that logrotate doesn’t work in yocto image! Could you tells me how it’s suppose to work and where logrotate comes from as I can found it in build_bin
only?
So how would you do to fix that?