On 5 August 2016 at 16:14, Robert P. J. Day <[email protected]> wrote:

>   i have a systemd-based image that, after coming up normally, i want
> to fire off a one-time script which, after completion, reboots. i've
> been told that using systemd's run-postinsts is discouraged and, for
> now, i just want the simplest and quickest solution.
>

Write a recipe with a postinst that defers (exit 1 if $D is set at the
beginning).  This will be ran on boot until it succeeds, and then deleted.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to