[poky] Missing dependencies after setscene, postinst fails

Burton, Ross ross.burton at intel.com
Tue Jul 28 09:49:50 PDT 2015


On 28 July 2015 at 16:46, <Jack_Fewx at dell.com> wrote:

> The command it is choking on is “update-ca-certificates”, which is
> installed in the rootfs, but what’s missing is the native version under
> sysroots that can run on the build machine during build time.
> “ca-certificates-native” is not re-populated in sysroots during setscene.
>
>
Yeah, that's an optimisation (no need for build dependencies if we're not
building anything) going too far in this specific case.  The same problem
exists for update-rcd and update-alternatives, which is "fixed" by having
image.bbclass add explicit dependencies for those.

Your bbappend is close but I think you could generalise it (it hardcodes
ipkg right now) by adding the dependency to do_populate_sysroot and
do_populate_sysroot_setscene instead.  I'm about to go see the kids before
they go to bed, so if you could test that before I can that would be
awesome.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20150728/a4966afb/attachment.html>


More information about the poky mailing list