diff --git a/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r3.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r3.ebuild index cff3ef1eaa..b7edbb9742 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r3.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r3.ebuild @@ -195,6 +195,11 @@ multilib_src_configure() { myconf+=( --with-initscript="systemd" --with-systemdunitdir=$(systemd_get_systemunitdir) + # Flatcar: Set the systemd system + # configuration directory explicitly through + # _systemd_get_dir, as it will do the right + # thing in cross-compilation environment. + --with-systemdconfdir=$(_systemd_get_dir systemdsystemconfdir /etc/systemd/system) ) else myconf+=(--with-initscript="sysv")