Skip to content

Commit 6439276

Browse files
committed
overlay coreos/config: Update overrides for sys-auth/sssd
1 parent ed97482 commit 6439276

File tree

1 file changed

+15
-1
lines changed
  • sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-auth

1 file changed

+15
-1
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
export ac_cv_member_struct_ldap_conncb_lc_arg=no
1+
# `--enable-sss-default-nss-plugin` enables nss lookup with sss
2+
# plugin, even if sssd is not running.
3+
export EXTRA_ECONF="--enable-sss-default-nss-plugin"
4+
5+
# We haven't switched to having pam config in /etc, so move the files
6+
# to /usr.
7+
cros_post_src_install_move_pamd() {
8+
mkdir -p "${ED}/usr/share/"
9+
mv "${ED}/etc/pam.d" "${ED}/usr/share/pam.d"
10+
}
11+
12+
# This is to make sure that some sssd config is always in place.
13+
cros_post_src_set_initial_config() {
14+
cp -a "${ED}"/etc/sssd/sssd{-example,}.conf
15+
}

0 commit comments

Comments
 (0)