]> code.ossystems Code Review - openembedded-core.git/commit
sysklogd: fix update-rc.d handling
authorAndy Ross <andy.ross@windriver.com>
Thu, 11 Oct 2012 16:22:55 +0000 (09:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:03:29 +0000 (12:03 +0100)
commit644673631bf57bd8d0e152b5fe7621344b5ad24f
tree400f45570df58c031148c196fac7faaa78567675
parentb0fd984dd132e332056863dcc11b312141d443fd
sysklogd: fix update-rc.d handling

The sysklogd recipe had a cut-n-paste version of the
update-rc.d.bbclass code which didn't work, but this was hidden
because all images contain the busybox version which does.  Building a
busybox-free image unmasked the issue and syslogd wouldn't start on
first boot.

The comments seem to be wrong/stale.  AFAICT update-rc.d and
update-alternatives work fine with each other, though there is an
ordering constraint (alternatives must be specified last, so it
"wraps" update-rc.d).  This version builds and works both with and
without busybox.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/sysklogd/sysklogd.inc