]> piware.de Git - bin.git/blob - system-maintenance
system-maintenance: Put OSTree repo on a tmpfs
[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 mkdir -p /srv/ostree/repo/
10 mount -t tmpfs tmpfs /srv/ostree/repo
11
12 (cd ~martin/src/workstation-ostree-config/; ./compose.sh)
13 rpm-ostree upgrade
14 umount /srv/ostree/repo