Skip to content

Commit

Permalink
remove sysusers hack
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored May 24, 2024
1 parent 38194b2 commit 862ab4f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions katsu/modules/base/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,10 @@

systemctl disable systemd-networkd-wait-online systemd-networkd systemd-networkd.socket
systemctl disable chronyd
# systemctl disable polkit
# Add polkitd user manually, weird hack because preinstall script doesn't run
cat << EOF > /usr/lib/sysusers.d/extras.conf
# This is a really weird hack
#Type Name ID Argument
g polkitd 114
u polkitd 114:114 "User for polkitd" - -
g rpc 32
u rpc 32:32 "Rpcbind Daemon" - -
EOF

echo max_parallel_downloads=20 >> /etc/dnf/dnf.conf
echo defaultyes=True >> /etc/dnf/dnf.conf

systemd-sysusers


# if aarch64

arch=$(uname -m)
Expand Down

0 comments on commit 862ab4f

Please sign in to comment.