factory_installer: Install upstart jobs to /usr/share

Factory shim might have the same upstart jobs that will overwrite the
original one. We cannot install to /etc/init due to Portage file
collision, so we install them to /usr/share/factory_installer/init
first, then override them in factory_bootstrap.sh.

BUG=b:174818080
TEST=build factory shim and test on DUT

Cq-Depend: chromium:2574575
Change-Id: I37d3b9b6017fa03bcb5d1d3bcc12e834fa0bab08
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2578467
Tested-by: Cheng-Han Yang <chenghan@chromium.org>
Reviewed-by: Stimim Chen <stimim@chromium.org>
Reviewed-by: Yilin Yang (kerker) <kerker@chromium.org>
Commit-Queue: Cheng-Han Yang <chenghan@chromium.org>
1 file changed