[OE-core] useradd.bbclass question

Paul Eggleton paul.eggleton at linux.intel.com
Thu May 2 14:53:34 UTC 2013


On Thursday 02 May 2013 15:49:39 Richard Purdie wrote:
> On Thu, 2013-05-02 at 15:34 +0100, Paul Eggleton wrote:
> > Right, do_install will be well before this stuff happens and it is not a
> > fakeroot task anyway. This needs to be moved to a postinstall script
> > (which
> > should be able to run during image creation).
> 
> Er, yes, do_install is a fakeroot task and you should be able to make
> something like this work from do_install. We went to a lot of effort to
> ensure the preinst scripts work correctly (see dbus as an example recipe
> that uses this).

Oops. I'll have to admit that I assumed this without checking. Andreas, please 
ignore my advice.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list