Mercurial > code > home > repos > infra
changeset 273:f7178138b736
pkgs and special podman future version
author | drewp@bigasterisk.com |
---|---|
date | Sun, 03 Mar 2024 21:02:58 -0800 |
parents | 705698800bfb |
children | e9ff0339b096 |
files | package_lists.py packages.py |
diffstat | 2 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/package_lists.py Sun Mar 03 21:01:49 2024 -0800 +++ b/package_lists.py Sun Mar 03 21:02:58 2024 -0800 @@ -248,6 +248,7 @@ 'swi-prolog', 'syncthing-gtk', 'system-config-printer', + 'systemd-resolved', 'trayer', 'ttf-bitstream-vera', 'vlc', @@ -265,13 +266,8 @@ 'xterm', 'xtightvncviewer', 'xvfb', - 'libsubid4', # for podman - 'buildah', # for podman - 'podman-docker', 'libssl-dev', # for pypi 'packages' 'libcurl4-openssl-dev', # for pypi 'packages' - #'cuda-minimal-build-11-8', some issue on slash - #'libcudnn8', some issue on slash 'kicad', 'openscad', 'dunst', @@ -312,5 +308,3 @@ ] + ([] if 'server' in version else [ f'xserver-xorg-video-nvidia-{version}', ]) - -
--- a/packages.py Sun Mar 03 21:01:49 2024 -0800 +++ b/packages.py Sun Mar 03 21:02:58 2024 -0800 @@ -33,6 +33,11 @@ "corepack prepare 'pnpm@8.6.3' --activate", ]) +def podman(): + apt.packages(packages=['libsubid4', 'buildah', 'podman-docker'], latest=True) + # frigate build wants to mount a single file from the host, which needs podman 4.5.1 + # https://github.com/containers/podman/issues/12123#issuecomment-1620439593 + apt.deb(src="http://ftp.osuosl.org/pub/ubuntu/pool/universe/libp/libpod/podman_4.9.3+ds1-1_amd64.deb") def pdm(): # https://github.com/pdm-project/pdm/blob/main/CHANGELOG.md @@ -95,6 +100,9 @@ if host.name in ['dash', 'slash', 'ditto', 'dot']: apt.packages(packages=package_lists.k8s_node_with_nvidia_gpu(host.name)) # no kw, or apt will remove nvidia-utils-VERS (!) +if host.name in ['dash', 'slash', 'ditto']: + podman() + if host.name == 'ditto': # should have happened in the previous step, but it gets reverted. apt.packages(packages=['nvidia-utils-535-server'])