[yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

Stefano Cappa stefano.cappa.ks89 at gmail.com
Mon Sep 30 08:17:15 PDT 2019


I saw your last patch to upgrade mdns, so I'm sending this email also to
you to try to get help.

mdns is working correctly, however, when I try to build my image with
"LICENSE_CREATE_PACKAGE = "1"" in my local.conf as described here
https://www.yoctoproject.org/docs/2.8/dev-manual/dev-manual.html#providing-license-text
I
get this error message:

ERROR: mydevice-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['mdns']
have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in
/home/user/git/poky/build/tmp/work/mydevice1-image-poky-linux-gnueabi/mydevice-image/1.0-r0/temp/log.do_rootfs.
ERROR: mydevice-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/user/git/poky/build/tmp/work/mydevice1-poky-linux-gnueabi/mydevice-image/1.0-r0/temp/log.do_rootfs.14586
ERROR: Task (MY CUSTOM LAYER
PATH/recipes-core/images/mydevice-image.bb:do_rootfs)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 4871 tasks of which 4654 didn't need to be
rerun and 1 failed.

Do you have a solution? Why is it happening?

thank u.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190930/685f7c2c/attachment.html>


More information about the yocto mailing list