On 06/12/19 1:00 pm, Nikhil Devshatwar wrote:
Hi all,
I was working on a demo package recipe where I want to update files
being installed by other package.
For this, I went about adding a postinst function
e.g. oob-demo package DEPENDS on weston-conf
I have a postinst function in oob-demo which updates a file
(/etc/weston.ini) as part of installation
This works fine if I install the oob-demo IPK in the existing target.
However, the yocto build fails when I try to build the
tisdk-rootfs-image.
Got this working, had to prepend with $D to point to any paths postinst
script was using.
This got replaced with the path to rootfs and I could see the file
getting patched.
Regards,
Nikhil D
I understood that the postinst functions get called alphabetically,
and DEPENDS is not respected there.
https://www.yoctoproject.org/pipermail/poky/2012-June/007984.html
Is there any better way to achieve this?
Regards,
Nikhil D
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago