fix: docker installs from Docker, never brew; VM guest rows

The docker-ce, buildx and compose rows named apt packages that only exist in
Docker's own repository, so on stock Ubuntu they fell through to brew. They
are a script channel now: get.docker.com downloaded to the run's workdir and
run from the file on Linux, Docker Desktop's DMG installer on macOS. One
install serves all three rows; the plugin rows report its outcome.

Also adds virt/guest-agent and virt/spice-vdagent, with tests and README.
This commit is contained in:
bcherb2 committed 2026-11-18 01:41:43 -05:00
1 parent a28a831a14
commit a538ab75dd
7 files changed
+365 -31

No files matched your search

+13 -5
View File
@@ -31,6 +31,10 @@
# saves the other thirty.
# FAKE_FAIL=npm:batch the same shape for npm.
# FAKE_FAIL=curl:deb curl fails only for the .deb download.
# FAKE_FAIL=curl:docker curl fails only for the get.docker.com script.
# That is how the docker group's failure path is
# reached: one note_fail, nothing executed, and
# the other two rows reported as not attempted.
#
# Several may be combined: FAKE_FAIL=brew,apt-get:batch
set -u
@@ -79,15 +83,19 @@ apt-cache)
#
# gh genuinely absent -- `apt-cache policy` prints nothing. The
# manifest's real example of a name that falls through to brew.
# docker-ce present in the cache but with `Candidate: (none)`, because
# something else Conflicts/Replaces it. `apt-cache show` exits
# 0 for this, which is why the old probe kept it in the batch
# and let apt refuse all thirty packages at once.
# nvidia-container-toolkit
# present in the cache but with `Candidate: (none)`: it is
# published from NVIDIA's own repository, which nothing here
# configures. `apt-cache show` exits 0 for this, which is why
# the old probe kept it in the batch and let apt refuse all
# thirty packages at once. (docker-ce used to be this example;
# the docker rows install from get.docker.com now and never
# reach apt at all, so the live case is NVIDIA's.)
case ${1:-} in
policy)
case ${2:-} in
gh) exit 0 ;;
docker-ce) printf '%s:\n Installed: (none)\n Candidate: (none)\n' "$2"; exit 0 ;;
nvidia-container-toolkit) printf '%s:\n Installed: (none)\n Candidate: (none)\n' "$2"; exit 0 ;;
esac
printf '%s:\n Installed: (none)\n Candidate: 1.0-fake\n' "$2"; exit 0 ;;
esac