[yocto] coreutils postinstall warning

Seth Bollinger seth.boll at gmail.com
Mon Aug 20 06:41:44 PDT 2018


On Mon, Aug 20, 2018 at 8:31 AM Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> 2018-08-20 15:16 GMT+02:00 Seth Bollinger <seth.boll at gmail.com>:
> > We've been seeing the following warning for a while now.  Is this
> expected?
> >
> > WARNING: manuf-image-1.0-r0 do_rootfs: Intentionally failing postinstall
> > scriptlets of ['coreutils'] to defer them to first boot is deprecated.
> > Please place them into pkg_postinst_ontarget_${PN} ().
> >
> > From what I can see, it's being caused by update-alternatives.  Is there
> a
> > workaround for this?
>
> You need to investigate further, specifically why the postinst
> scriptlet is failing. Usually log.do_rootfs should give a hint.
>

This seems to be the issue.  I should mention this is sumo coreutils.

update-alternatives: renaming link link from /bin/link to /usr/bin/link
mv: cannot stat '/bin/link': No such file or directory
warning: %post(coreutils-8.29-r0.7.aarch64) scriptlet failed, exit status 1

Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180820/f2018119/attachment.html>


More information about the yocto mailing list