[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] CI: Rework the archlinux container



On Tue, Jun 09, 2026 at 06:31:02PM +0100, Andrew Cooper wrote:
> --- a/automation/build/archlinux/current.dockerfile
> -    && yes | pacman -S --clean --clean

> +++ b/automation/build/archlinux/current-x86_64.dockerfile
> +    pacman -S --clean --clean

The "yes |" is needed, otherwise the files aren't removed from the
caches.

I've only got, without:
    :: Do you want to remove ALL files from cache? [y/N] :: Do you want to 
remove unused repositories? [Y/n]
and no messages about the files been cleaned.

I tried --noconfirm, but seems to just get the default response, so
nothing is removed.

With "yes|", I drop from 1.32 GB to 1.26 GB on my machine.

> diff --git a/automation/scripts/containerize b/automation/scripts/containerize
> index 70494645e09f..f3c2b48b113f 100755
> --- a/automation/scripts/containerize
> +++ b/automation/scripts/containerize
> @@ -26,7 +26,7 @@ BASE="registry.gitlab.com/xen-project/xen"
>  case "_${CONTAINER}" in
>      _alpine) CONTAINER="${BASE}/alpine:3.18" ;;
>      _alpine-arm64v8) CONTAINER="${BASE}/alpine:3.18-arm64v8" ;;
> -    _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;;
> +    _archlinux|_arch) CONTAINER="${BASE}/archlinux-x86_64:current" ;;

The "-x86_64" should be added to "current".

With both fix:
Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.