Skip to content

Commit

Permalink
alpine: install shadow-login package
Browse files Browse the repository at this point in the history
Needed for PAM-based login utilities as Busybox su doesn't load
/etc/environment file
  • Loading branch information
sylirre committed Oct 25, 2023
1 parent cc2964b commit 3bce417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distro-build/alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3bce417

Please sign in to comment.