Fedora Config: disabled weakdependencies

This commit is contained in:
2025-01-09 01:41:40 +01:00
parent 95ed59561b
commit c3250cdf27

View File

@@ -86,6 +86,7 @@ packages:
- policycoreutils - policycoreutils
- procps-ng - procps-ng
- systemd-udev - systemd-udev
- systemd-networkd
- which - which
- dnf-automatic - dnf-automatic
action: install action: install
@@ -109,6 +110,9 @@ actions:
# Let dnf find the fastest mirror # Let dnf find the fastest mirror
echo fastestmirror=True >> /etc/dnf/dnf.conf echo fastestmirror=True >> /etc/dnf/dnf.conf
# Skip weak dependencies
echo install_weak_deps=False >> /etc/dnf/dnf.conf
#ProxyCacheSetting #ProxyCacheSetting
echo '#CacheServer not set' >> /etc/dnf/dnf.conf echo '#CacheServer not set' >> /etc/dnf/dnf.conf
@@ -140,8 +144,6 @@ actions:
#!/bin/sh #!/bin/sh
umount -l /etc/resolv.conf || true umount -l /etc/resolv.conf || true
rm /etc/resolv.conf rm /etc/resolv.conf
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
systemctl enable systemd-resolved
cp -R /etc/skel/.bash* /root/ cp -R /etc/skel/.bash* /root/
systemctl enable dnf-automatic.timer systemctl enable dnf-automatic.timer