Mercurial > code > home > repos > infra
changeset 298:5f3e053ba888
packages and versions
author | drewp@bigasterisk.com |
---|---|
date | Thu, 16 May 2024 20:02:50 -0700 |
parents | d000aead76d4 |
children | da1fcfdd3381 |
files | package_lists.py packages.py sync.py |
diffstat | 3 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/package_lists.py Wed May 15 17:38:52 2024 -0700 +++ b/package_lists.py Thu May 16 20:02:50 2024 -0700 @@ -162,6 +162,7 @@ 'code', 'cups', 'darcs', + 'dclock', 'dolphin', 'eog', 'evtest', @@ -228,6 +229,8 @@ 'nodm', 'okular', 'pavucontrol', + 'pamixer', + 'pipewire-audio', 'python3-dulwich', 'python3-evemu', 'python3-opencv', @@ -246,7 +249,7 @@ 'sshfs', 'steam-launcher', 'swi-prolog', - 'syncthing-gtk', + 'syncthing-gtk', # this may pull old ubu syncthing version, which sync.py replaces 'system-config-printer', 'systemd-resolved', 'trayer', @@ -291,19 +294,19 @@ def k8s_node_with_nvidia_gpu(hostName): version = { - 'dash': '545', - 'dot': '545', - 'slash': '525', - 'ditto': '535-server', + 'dash': '550', + 'dot': '550', # just not updated yet + 'slash': '550', + 'ditto': '550-server', # 'bang': '390-server', # no longer in ubuntu - 'squib': '470', + 'squib': '470', # held back for old gfx card }[hostName] - number = version.replace('-server', '') return [ 'nvidia-container-runtime', f'nvidia-headless-{version}', - f'nvidia-utils-{version}', # this gets mysteriously reverted on ditto- see workaround in packages.py - f'libnvidia-encode-{number}', + f'nvidia-utils-{version}', + f'libnvidia-decode-{version}', + f'libnvidia-encode-{version}', f'nvidia-driver-{version}', ] + ([] if 'server' in version else [ f'xserver-xorg-video-nvidia-{version}',
--- a/packages.py Wed May 15 17:38:52 2024 -0700 +++ b/packages.py Thu May 16 20:02:50 2024 -0700 @@ -129,8 +129,6 @@ if host.name == 'ditto': apt.packages(packages=package_lists.for_ditto, latest=True) - # should have happened in the previous step, but it gets reverted. - apt.packages(packages=['nvidia-utils-535-server']) if 'pi' not in host.groups: kitty() @@ -139,7 +137,7 @@ if 'pi' in host.groups: apt.packages(packages=package_lists.pi_setup) -desktop_env = host.name in ['dash', 'slash', 'plus', 'dot', 'squib', 'pillow'] +desktop_env = host.name in ['dash', 'slash', 'plus', 'dot', 'squib', 'pillow', 'tofu'] if desktop_env: apt.packages(packages=package_lists.xorg + package_lists.desktop, latest=True) # broken, per https://vinegarhq.org/
--- a/sync.py Wed May 15 17:38:52 2024 -0700 +++ b/sync.py Thu May 16 20:02:50 2024 -0700 @@ -37,7 +37,7 @@ # also see /my/serv/filesync/syncthing/deploy.yaml for the container one -version = 'v1.26.1' +version = 'v1.27.7' # primary instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd. # Configs are in ~/.config/syncthing/ on each box