From 3bce417c9ce7f035548dc397e83c5526f2999ce1 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Wed, 25 Oct 2023 19:07:43 +0300 Subject: [PATCH] alpine: install shadow-login package Needed for PAM-based login utilities as Busybox su doesn't load /etc/environment file --- distro-build/alpine.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/distro-build/alpine.sh b/distro-build/alpine.sh index 9856a2ba1..807d0ddee 100644 --- a/distro-build/alpine.sh +++ b/distro-build/alpine.sh @@ -25,6 +25,7 @@ bootstrap_distribution() { echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" > "${WORKDIR}/alpine-$(translate_arch "$arch")/etc/apk/repositories" echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> "${WORKDIR}/alpine-$(translate_arch "$arch")/etc/apk/repositories" chroot "${WORKDIR}/alpine-$(translate_arch "$arch")" apk upgrade + chroot "${WORKDIR}/alpine-$(translate_arch "$arch")" apk install shadow-login chroot "${WORKDIR}/alpine-$(translate_arch "$arch")" ln -sf /var/cache/apk /etc/apk/cache EOF