X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=system-maintenance;h=ad148ef1162d801541d44f5ddc48f39593a0d7e9;hp=83cefbd7c851a89732acaa28882197bfaf26b7ef;hb=f0b67cfbd6684fcc0ceff76aae57cb0e70e38671;hpb=fc578b7e220971b12a92819aa6ffdd3d157ed11a diff --git a/system-maintenance b/system-maintenance index 83cefbd..ad148ef 100755 --- a/system-maintenance +++ b/system-maintenance @@ -6,9 +6,15 @@ rpm-ostree cleanup --repomd rpm-ostree cleanup --base # keep repo on tmpfs -mkdir -p /srv/ostree/repo/ -mount -t tmpfs tmpfs /srv/ostree/repo +REPO=/var/tmp/repo/ +mkdir -p $REPO +mount -t tmpfs tmpfs $REPO (cd ~martin/src/workstation-ostree-config/; ./compose.sh) rpm-ostree upgrade -umount /srv/ostree/repo +umount $REPO + +# fix fonts between Fedora releases +rm -rf ~martin/.cache/fontconfig + +fstrim -av