[INSTRM-376] Establish boot procedures for MHS computers Created: 02/Jun/18 Updated: 26/Jun/19 Resolved: 19/Jun/19 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | Summit infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | SM1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||
| Sprint: | 2019 B, 2019 C, SM1-2019 E, SM1-2019 F, SM1-2019 H | ||||||||||||||||||||
| Description |
|
We need to provide MHS-side scripts at boot time. By "MHS-side" I mean able to use eups to find the right version of software to run. We need this both for root (device drivers) and for the pfs user (for actors). I'm inclined to do something simple like always calling some /software/boot/bootup.sh as root then as pfs on boot. That can look around using the hostname and username, and return a script if there is one. The only system hooks would be the two calls, and we could use @reboot crontab lines to trigger them. |
| Comments |
| Comment by cloomis [ 20/Dec/18 ] |
|
As it stands:
Works OK for booting. Needs to be reshaped so that users can use it too. Basically split into a setup and a run step. Not awful. |
| Comment by hassan [ 10/Jan/19 ] |
|
Following SpS software telecon 2019-01-09: Need to move code to an official PFS GitHub repo |
| Comment by cloomis [ 22/Jan/19 ] |
|
The @reboot trick is not working on the temp board pi. Not sure why yet; /software might not be mounted, or the currently necessary X server is not running. |
| Comment by hassan [ 21/Feb/19 ] |
|
Requires documentation for procedures |
| Comment by hassan [ 21/Mar/19 ] |
|
Expect to finish in a few days |
| Comment by hassan [ 18/Apr/19 ] |
|
cloomis to discuss with arnaud.lefur |
| Comment by hassan [ 16/May/19 ] |
|
Discussed with arnaud.lefur and Fabrice. Work in progress and expect this to be done before Jun 17. Some work will be done in the interim however. |
| Comment by cloomis [ 19/Jun/19 ] |
|
Pushed to Subaru-PFS/ics_launch. Basic docs in docs/ics_launch.rst |