diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2014-07-22 15:23:35 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:47:17 +0100 |
commit | 5c22973e1bf76615bcf57984ac7a30cf7d0766df (patch) | |
tree | f8162dc1e4fc7a9d5dea6f11a2caff2f35438a78 /scripts/lib/mic/utils/proxy.py | |
parent | 42f107513148aa6e9fd69d51e63a183c613114c0 (diff) | |
download | openembedded-core-5c22973e1bf76615bcf57984ac7a30cf7d0766df.tar.gz openembedded-core-5c22973e1bf76615bcf57984ac7a30cf7d0766df.tar.bz2 openembedded-core-5c22973e1bf76615bcf57984ac7a30cf7d0766df.zip |
sysvinit: bootlogd: Don't run savelog if it's not installed
bootlogd's default log rotation code on stop requires `savelog`, which
is in debianutils, which may not be installed. If it's not installed,
don't try to perform the log rotation.
That is: in the affected code block, `savelog` is what is responsible
for creating "boot.0". When `savelog` doesn't exist, an error message
gets printed on bootup to the effect of "mv: can't find boot.0".
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/utils/proxy.py')
0 files changed, 0 insertions, 0 deletions