Hello Yocto. I am debugging my recipe, which uses pkg_postinst but does not seem to work as expected.
It runs fine without $D detection. However, if I try to run it at first boot (skipping with exit 1 if $D is not empty), the board boot seems to hang. I think error (syntax error, etc.?) happening when it is run on the board, but package manager. I doubt it is caused by non-existence of '#!/bin/sh' in my script but I am not sure since I am still trying the builds again and again. i) Regarding the posttest script execution, is there log available so that I can look into (instead of writing out log file by myself from within my script)? I do not seem to find it in temp folder of my recipes's working directory. ii) Is '#!/bin/sh' always necessary? iii) What happens with pkg_postinst_PN_append? If it is defined without pkg_postinst_PN, it still works and executed? If i) is true what about '#!/bin/sh' in this case? If you have qucik suggestions, it is a great help.
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
