czw., 10 maj 2018 o 13:02 Alexander Kanavin <
[email protected]> napisał(a):
> You should be able to move the contents of the pkg_postinst to the hook.
> Actually two hooks: one for read only rootfs, another for read-write.
> Add this to your image recipe:
>
> ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES",
> "read-only-rootfs", "piotrs_ro_rootfs_hook; ", "piotrs_rw_rootfs_hook;
> ",d)}'
>
Actually, I don't create my own recipe but I try to extend the existing one
(busybox), so your propose may be not so easy as it sounds :). Anyway I
understand the problem and proposed solution.
Thank you all for help!.
--
Piotr Piwko
http://www.embedded-engineering.pl/
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto