On 04/12/2025 4:37 pm, Marek Marczykowski-Górecki wrote:
> Add it in all variants:
> - base container
> - build container
> - initramfs archive
>
> libdw used to be part of libelf in Alpine 3.18, but it's a separate
> package in 3.22.

I think this ...

>
> Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
> ---
>  .gitlab-ci.yml                             | 14 +++++++-
>  containerize                               |  4 ++-
>  images/alpine/3.22-arm64-base.dockerfile   |  6 +++-
>  images/alpine/3.22-arm64-build.dockerfile  | 31 +++++++++++++++++-
>  images/alpine/3.22-x86_64-base.dockerfile  |  6 +++-
>  images/alpine/3.22-x86_64-build.dockerfile | 43 +++++++++++++++++++++++-
>  scripts/alpine-rootfs.sh                   |  4 ++-
>  7 files changed, 108 insertions(+)
>  create mode 100644 images/alpine/3.22-arm64-base.dockerfile
>  create mode 100644 images/alpine/3.22-arm64-build.dockerfile
>  create mode 100644 images/alpine/3.22-x86_64-base.dockerfile
>  create mode 100644 images/alpine/3.22-x86_64-build.dockerfile
>
> diff --git a/scripts/alpine-rootfs.sh b/scripts/alpine-rootfs.sh
> index 6fa1d56..c9c0d43 100755
> --- a/scripts/alpine-rootfs.sh
> +++ b/scripts/alpine-rootfs.sh
> @@ -40,6 +40,10 @@ case $UNAME in
>              # QEMU
>              libelf
>              )

... wants to be a comment here too.  I can fix on commit.

~Andrew

> +        if ! grep -q VERSION_ID=3.18 /etc/os-release; then
> +            # QEMU
> +            PKGS+=( libdw )
> +        fi
>          ;;
>  
>      aarch64)


Reply via email to