init: move makefile functionality to upgrader
Open
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
At present, it is necessary to manually run make in `av/init` to install AusOcean software and required services.
It is proposed to have the upgrader do this instead in order to eliminate the need to log into new devices.
A new `init` bool syntax in `pkg.json` would identify components that need only be installed once and/or commands that only need to be run once.
For example, to install and enable the `rv.service`:
```
{
"name": "rv.service",
"shared": true,
"init": true,
"cmd": "cp -f $name /etc/systemd/system; systemctl enable $name"
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.