Docs: Improve Workstation Section #95

Merged
Nick Alberelli merged 11 commits from docs/td-maintence-guide into main 2023-06-27 19:04:40 +02:00
Showing only changes of commit 36b0986c30 - Show all commits

View File

@ -5,7 +5,8 @@ To update Client Workstations; the Build Server will pull all of the latest chan
1. `ssh user@build-server-addr` connect to your build server via ssh
2. Use `su` to Login as root or login as root directly
3. Run `update_build_server.sh`
3. `cd` to change directory to the root home folder
4. Run `./update_build_server.sh`
## Update Add-ons in `/shared/software/addons`
@ -21,11 +22,17 @@ This is a temporary solution that will be depreciated and replaced with project
3. Run `emerge --oneshot {package-name}` to update a live package.
- Run `emerge --oneshot flamenco` to update the [Flamenco](https://flamenco.blender.org/) worker/add-on
- Run `emerge --oneshot blender-studio-tools` to update the studio Add-ons
::: info Info
The command `emerge --oneshot {package-name}` compiles package, but does not add the packages to the [@world](https://wiki.gentoo.org/wiki/World_set_(Portage)), this means these packages will be removed when running `--depclean`. To learn more visit the [Gentoo Handbook](https://wiki.gentoo.org/wiki/Emerge#:~:text=fetchonly%20%2D%2Demptytree%20%40world-,Do%20not%20add%20dependencies%20to%20the%20world%20file,-If%20a%20dependency) # TODO WHY
:::
4. Run `date -R > /var/cache/update_info/timestamp.chk` to mark this update as the latest
::: info Info
The command `emerge --oneshot {package-name}` compiles package, but does not add the packages to the [@world](https://wiki.gentoo.org/wiki/World_set_(Portage)), this means these packages will be removed when running `--depclean`. To learn more visit the [Gentoo Handbook](https://wiki.gentoo.org/wiki/Emerge#:~:text=fetchonly%20%2D%2Demptytree%20%40world-,Do%20not%20add%20dependencies%20to%20the%20world%20file,-If%20a%20dependency)
:::
### How to update to specific version?
In some cases, users may want to specify what version of an add-on to deploy into the `/shared/software/addons` folder. Users can accomplish this using `eclass` variables found in the [Gentoo Devmanual](https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html#:~:text=more%20creative%20ways.-,EGIT_BRANCH,-The%20branch%20name).
- Run `EGIT_COMMIT=<hash> emerge {package-name}` to update to a specific commit
- Run `EGIT_BRANCH=<branch> emerge {package-name}` to update to a specific branch
- Run `EGIT_COMMIT=<hash> EGIT_BRANCH=<branch> emerge {package-name}` to update to a specific commit with in a specific branch
## Wake on LAN
Wake on LAN is used turn on computers from a "low power" or sleeping state so they can be updated. Wake on LAN uses the hardware information provided by the clients to immediately wake up all that are currently offline. The following guide covers how to parse the hardware info sent by client computers and to use that information to wake any sleeping computers via Wake on LAN.