mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
Revert "overlay coreos/config: Add Flatcar modifications for sys-auth/polkit"
This reverts commit 1d1912a3fcdf42a256287a128ec740bb7461dfda. These were either wrong (danling compat symlinks) or unnecessary (/var/lib/polkit-1 tmpfiles).
This commit is contained in:
parent
4d92ffafa8
commit
be5fb9854c
@ -1,16 +0,0 @@
|
||||
cros_post_src_install_polkit_flatcar_modifications() {
|
||||
|
||||
# create symlink for backward compatibility
|
||||
dosym -r /usr/share/flatcar/etc/polkit-1/rules.d/50-default.rules /usr/share/polkit-1/rules.d/50-default.rules
|
||||
insinto /usr/share/flatcar/etc/polkit-1/rules.d
|
||||
newins - 50-default.rules
|
||||
|
||||
# add tmpfiles config for state directory
|
||||
(
|
||||
insopts -m 0644
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins - polkit.conf <<'EOF'
|
||||
d /var/lib/polkit-1 0700 polkitd polkitd - -
|
||||
EOF
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user