Skip to contentSkip to conversation

CI: Remove `brctl` from Arch Linux container

PATCH In review Anthony PERARD 2 participants 3 messages Feb 13 – Feb 16

lore
Share & tools
lore
#0 lore raw

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
index 4e53c835fa..a257027772 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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.

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
index 4e53c835fa..a257027772 100644

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

#2 lore raw
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.

Quoted 7 lines

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