mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-25 00:11:23 +02:00
sys-apps/baselayout: add basic PAM configuration and /etc/hosts
This replaces `pambase` which is awkward to maintain due to all the different USE flags it supports. Also containers should now be happy that /etc/hosts is always there and contains `localhost` now.
This commit is contained in:
parent
f28ea9c11f
commit
c329b64082
@ -9,7 +9,7 @@ CROS_WORKON_REPO="git://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="682d5264886b43dd510346b89b2c8b9ab67abfe4"
|
CROS_WORKON_COMMIT="7bfa89caad6dae2274e43be19d9ae7b5d5d445bf"
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -180,6 +180,11 @@ src_install() {
|
|||||||
systemd_dounit "scripts/coreos-tmpfiles.service"
|
systemd_dounit "scripts/coreos-tmpfiles.service"
|
||||||
systemd_enable_service sysinit.target coreos-tmpfiles.service
|
systemd_enable_service sysinit.target coreos-tmpfiles.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# sssd not yet building on arm64
|
||||||
|
if use arm64; then
|
||||||
|
sed -i -e '/pam_sss.so/d' "${D}"/usr/lib/pam.d/* || die
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user