From 1bde2591aeb79c9f862ace72fff4178c211b5cd0 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Tue, 15 Jan 2019 09:47:46 -0600 Subject: [PATCH] support cracklib in pam for Gentoo's musl profile Needed for any musl build, is default in other profiles Change-Id: Ib7cae9124f5846d33c05f26befd8f13646a08610 --- .../elements/gentoo/pre-install.d/02-gentoo-02-flags | 1 + 1 file changed, 1 insertion(+) diff --git a/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags b/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags index 3d7dcdbd..e38c0763 100755 --- a/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags +++ b/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags @@ -34,4 +34,5 @@ if [[ "${GENTOO_PROFILE}" == *"musl"* ]]; then echo "dev-vcs/git -gpg" >> /etc/portage/package.use/musl # gpg doesn't build on musl profiles echo "=sys-block/open-iscsi-2.0.874-r1 ~amd64" >> /etc/portage/package.keywords/musl echo "=sys-block/open-isns-0.97 ~amd64" >> /etc/portage/package.keywords/musl + echo "sys-libs/pam cracklib" >> /etc/portage/package.use/musl fi