[yocto] coreutils postinstall warning

Alexander Kanavin alex.kanavin at gmail.com
Mon Aug 20 06:31:43 PDT 2018


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.

Alex


More information about the yocto mailing list