Update build.sh

This commit is contained in:
Valerie
2025-09-08 22:41:44 +01:00
committed by GitHub
parent ab6a1a5f07
commit 5d4e399f5a
+2 -1
View File
@@ -50,7 +50,6 @@ dnf -y install --enablerepo="copr:copr.fedorainfracloud.org:ublue-os:packages" -
ublue-os-libvirt-workarounds ublue-os-libvirt-workarounds
dnf -y install https://github.com/fastfetch-cli/fastfetch/releases/download/2.50.2/fastfetch-linux-amd64.rpm dnf -y install https://github.com/fastfetch-cli/fastfetch/releases/download/2.50.2/fastfetch-linux-amd64.rpm
mv '/usr/share/doc/just/README.中文.md' '/usr/share/doc/just/README.zh-cn.md'
dnf -y install epel-release dnf -y install epel-release
dnf config-manager --set-disabled epel dnf config-manager --set-disabled epel
@@ -66,6 +65,8 @@ sed -i 's|^OnUnitInactiveSec=.*|OnUnitInactiveSec=7d\nPersistent=true|' /usr/lib
sed -i 's|#AutomaticUpdatePolicy.*|AutomaticUpdatePolicy=stage|' /etc/rpm-ostreed.conf sed -i 's|#AutomaticUpdatePolicy.*|AutomaticUpdatePolicy=stage|' /etc/rpm-ostreed.conf
sed -i 's|#LockLayering.*|LockLayering=true|' /etc/rpm-ostreed.conf sed -i 's|#LockLayering.*|LockLayering=true|' /etc/rpm-ostreed.conf
mv '/usr/share/doc/just/README.中文.md' '/usr/share/doc/just/README.zh-cn.md'
cat >/usr/lib/systemd/system-preset/91-resolved-default.preset <<'EOF' cat >/usr/lib/systemd/system-preset/91-resolved-default.preset <<'EOF'
enable systemd-resolved.service enable systemd-resolved.service
EOF EOF