[poky] Postinstallation script for target throw warnings
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu Jan 11 03:40:54 PST 2018
On 01/11/2018 07:33 AM, Robert Yang wrote:
> Yes, just remove the "else" block and use something like:
>
> if [ -z "$D" ]; then
> # Actions
> fi
>
> But it would be better if you can make it work during do_rootfs rather
> than firstboot.
This is not correct. If you do this, then the postinst will be executed
once, during image creation, and Actions will never be taken.
Alex
More information about the poky
mailing list