Ship an Upstart job to set boot completion property in Android container

Bug #1594420 reported by Ratchanan Srirattanamet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc-android-config (Ubuntu)
New
Undecided
Unassigned

Bug Description

In some device, there init.rc has something like "on property:init.svc.bootanim=stopped" or "on property:sys.boot_completed=1". Its purpose is to run something when the system has finished booting. As far as I know, and with a conversation with ogra, there's nothing in Ubuntu touch that set these properties. So, I think it'd be good to ship an Upstart job to set these properties so that devices' init.rc that depends on these properties will "just works".

I've attached an Upstart job that could do that. The job (which is a task) will set those properties when Lightdm emits "desktop-session-start" event, which I believe to be the best places to set these properties.

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.