CI: Remove `brctl` from Arch Linux container
PATCH 1/1 CI: Remove `brctl` from Arch Linux container
From: Anthony PERARD <[email protected]>
Package "bridge-utils" have been removed from the official repos, it contained brctl. That utility is used by network hotplug scripts, but they already check if it is available and switch to use "iproute2" (ip) when not.
--- automation/build/archlinux/current.dockerfile | 1 - 1 file changed, 1 deletion(-)
automation/build/archlinux/current.dockerfile +0 -1
@@ -6,7 +6,6 @@ LABEL maintainer.name="The Xen Project" \ RUN pacman-key --init RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \ - bridge-utils \ bzip2 \ cpio \ discount \
Signature · 1 line
Anthony PERARD
Quoted 8 lines · Anthony PERARD
From: Anthony PERARD <[email protected]>
Package "bridge-utils" have been removed from the official repos, it contained
brctl. That utility is used by network hotplug scripts, but they already check if it is available and switch to use "iproute2" (ip) when not.Signed-off-by Anthony PERARD <[email protected]>
Right now, README lists bridge-utils as a hard prereq, and this is not true any longer.
iproute is also listed as a hard prereq. Should we merge these two lines with a logical or?
Quoted 9 lines
--- automation/build/archlinux/current.dockerfile | 1 - 1 file changed, 1 deletion(-)automation/build/archlinux/current.dockerfile +0
-0
automation/build/archlinux/current.dockerfile LABEL maintainer.name="The Xen Project" \ · line 11
Quoted 7 lines
automation/build/archlinux/current.dockerfile +0
-1@@ -6,7 +6,6 @@ LABEL maintainer.name="The Xen Project" \ RUN pacman-key --init RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \ - bridge-utils \ bzip2 \ cpio \ discount \
If you're making this change, I'd like to dust off patch to convert to heredoc and get both submitted together.
~Andrew
Quoted 10 lines · Andrew Cooper
Quoted 8 lines · Anthony PERARD
From: Anthony PERARD <[email protected]>
Package "bridge-utils" have been removed from the official repos, it contained
brctl. That utility is used by network hotplug scripts, but they already check if it is available and switch to use "iproute2" (ip) when not.Signed-off-by Anthony PERARD <[email protected]>
Quoted 7 lines
Acked-by Andrew Cooper <[email protected]>Right now, README lists bridge-utils as a hard prereq, and this is not true any longer.
iproute is also listed as a hard prereq. Should we merge these two lines with a logical or?
Well, iproute2 is an actual hard requirement, ip is used in many places without alternative.
On the other end, brctl is optional, but will be used if exist. I don't know which version of iproute2 is needed in order to not need brctl anymore.
Cheers,
Signature · 1 line
Anthony PERARD