[OE-core] core-image-full-cmdline build failure

Paul Barker paul at paulbarker.me.uk
Tue Aug 19 15:02:54 UTC 2014


On Tue, Aug 19, 2014 at 02:47:14PM +0100, Paul Barker wrote:
> On Aug 19, 2014 12:55 PM, "Robert Yang" <liezhi.yang at windriver.com> wrote:
> >
> > On 08/19/2014 07:42 PM, Paul Barker wrote:
> >>
> >> Looking into the rpcbind package, the useradd commands are performed in a
> >> preinst script so I don't think the problem is opkg running the script
> too
> >> early. Do other package managers guarantee that a package's dependencies
> are
> >> installed before the preinst script is ran? If so, I may need to
> re-order things
> >
> >
> > For rpm, I think yes ? The "pre" depends on base-passwd:
> > $ rpm -qpR -v tmp/deploy/rpm/core2_64/rpcbind-0.2.1-r0.core2_64.rpm |
> grep base-pass
> > manual: base-passwd
> > pre: base-passwd
> > post: base-passwd
> > preun: base-passwd
> > postun: base-passwd
> >
> > But I can't find such info in ipk.
> >
> 
> Ok, looking at the opkg code it should satisfy dependencies before running
> the preinst script. I'll have to look into this further later and find out
> exactly what is going wrong.
> 

Yea, I broke opkg. Also getting confused, I thought I'd switched back from the
development snapshot of opkg to the released version but I hadn't.

*facepalm*

opkg-0.2.2 works, opkg-0.2.3-SNAPSHOT doesn't work as it fails to install things
in the correct order. I'll have to fix this before releasing opkg-0.2.3.

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140819/904c3420/attachment-0002.sig>


More information about the Openembedded-core mailing list