Added first boot service for AGL 67/8467/4
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Wed, 15 Feb 2017 15:34:51 +0000 (16:34 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 16 Feb 2017 18:56:05 +0000 (18:56 +0000)
commit67f1d7f631f20dfb4be3765ec32dfcd237d649c5
treecd6c504ddcc688fffca20bf4eda9785c82223a8d
parentcc538eca28979e1eb966f67a6bca9d05456386a1
Added first boot service for AGL

 * Allow script execution at the end of the boot.
 * Yocto first boot service is install at for "sysinit.target" level.
   AGL need to have a custom service, exec when target service system,
   (SYSTEMD_SERVICE_AFTER), is up.
 * All script inside directory "/etc/agl-postinsts" will be exec at
   the first boot.
 * After the first boot the service "run-agl-postinsts.service"
   is disable.

Change-Id: Ib12b7e11b451b4a41c4a31f5cda3686679fe9c08
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-agl/recipes-core/packagegroups/packagegroup-core-boot-agl.bb
meta-agl/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts [new file with mode: 0755]
meta-agl/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts.service [new file with mode: 0644]
meta-agl/recipes-devtools/run-agl-postinsts/run-agl-postinsts_1.0.bb [new file with mode: 0644]