mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-14 15:12:03 +01:00
overlay coreos/config: Add config overrides for sys-libs/pam
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
2b120cc866
commit
86df95db83
16
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/pam
vendored
Normal file
16
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/pam
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
flatcar_pam_meson_args_array=(
|
||||
'-Dvendordir=/usr/lib/pam'
|
||||
)
|
||||
export MYMESONARGS=${flatcar_pam_meson_args_array[*]@Q}
|
||||
unset 'flatcar_pam_meson_args_array'
|
||||
|
||||
cros_post_src_install_stuff_in_etc() {
|
||||
# Keep empty pam.d and security directories in /etc. In theory we
|
||||
# could omit creating them, but 1. some kola tests rely on them to
|
||||
# exist and 2. empty directories are probably less confusing to
|
||||
# users then no directories at all. For the latter reason, create
|
||||
# also the symlink to the environment file.
|
||||
keepdir /etc/pam.d
|
||||
keepdir /etc/security
|
||||
dosym /usr/lib/pam/environment /etc/environment
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user