kernel: Don't install libunwind-dev on s390x
This is a part revert of ("libunwind-dev
workaround on x86 is no longer required")
@@ -16,7 +16,6 @@ RUN apk add \
installkernel \
kmod \
elfutils-dev \
- libunwind-dev \
linux-headers \
mpc1-dev \
mpfr-dev \
@@ -31,6 +30,9 @@ RUN apk add \
xz-dev \
zlib-dev
+# libunwind-dev pkg is missing for s390x for now. Only install on other arch
+RUN [ $(uname -m) != s390x ] && apk add libunwind-dev || true
+
ARG KERNEL_VERSION
ARG KERNEL_SERIES
ARG EXTRA
