build-debian-toolbox: Avoid deb.debian.org
[bin.git] / system-maintenance
1 #!/bin/sh
2 set -eux
3
4 rpm-ostree cleanup --rollback
5 rpm-ostree cleanup --repomd
6 rpm-ostree cleanup --base
7
8 # keep repo on tmpfs
9 REPO=/var/tmp/repo/
10 mkdir -p $REPO
11 mount -t tmpfs tmpfs $REPO
12
13 (cd ~martin/src/workstation-ostree-config/; ./compose.sh)
14 rpm-ostree upgrade
15 umount $REPO
16
17 # fix fonts between Fedora releases
18 rm -rf ~martin/.cache/fontconfig
19
20 fstrim -av