[OE-core] [PATCH 1/4] update-rc.d/useradd: Add additional dependecies

Paul Eggleton paul.eggleton at linux.intel.com
Tue Jun 17 17:01:11 UTC 2014


On Tuesday 17 June 2014 14:18:41 Phil Blundell wrote:
> On Mon, 2014-06-16 at 15:47 +0100, Paul Eggleton wrote:
> > a) There are a bunch of recipes that don't currently do that, and you'll
> > only find out there's a problem at do_rootfs time (or worse, if we went a
> > step further and didn't even dynamically add the RDEPENDS, at runtime
> > when the service fails to start).
> 
> Ah, true.  It doesn't seem that it should be beyond the wit of man to
> add a QA check for that, though.

I guess there are two ways of handling this:

1) Automatically add the dependency

or

2) Check for the lack of it and fail if it should be added

For better or worse we opted to go with #1. I wouldn't necessarily be totally 
opposed to changing to #2 if people feel it is cleaner (and it is, a little) 
but someone would actually have to do that work and then fix the resulting 
fallout.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list