mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-09 20:52:03 +01:00
overlay app-admin/sudo: Keep /etc/sudoers.d directory
It seems to be randomly kept or removed during installation, and we need the directory when creating the SDK container.
This commit is contained in:
parent
6605a25cc8
commit
de19afb902
@ -243,6 +243,11 @@ src_install() {
|
||||
# Flatcar: Remove sudo.conf as it is shipped via baselayout
|
||||
rm "${ED}/etc/sudo.conf" || die
|
||||
|
||||
# Flatcar: Build system installs /etc/sudoers.d, let's make
|
||||
# sure we keep having it.
|
||||
#
|
||||
# Upstream PR: https://github.com/gentoo/gentoo/pull/37397
|
||||
keepdir /etc/sudoers.d
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user