]> piware.de Git - bin.git/blobdiff - system-maintenance
build-devtoolbox: Install strace
[bin.git] / system-maintenance
index 96af4b31f4fab9989365969375d4ad58311e44d1..422151781b98ec5bf25cf0dcf3723eedc849aff3 100755 (executable)
@@ -5,8 +5,11 @@ rpm-ostree cleanup --rollback
 rpm-ostree cleanup --repomd
 rpm-ostree cleanup --base
 
-rm -rf /srv/ostree/repo/
+# keep repo on tmpfs
+REPO=/var/tmp/repo/
+mkdir -p $REPO
+mount -t tmpfs tmpfs $REPO
+
 (cd ~martin/src/workstation-ostree-config/; ./compose.sh)
 rpm-ostree upgrade
-
-fstrim -av
+umount $REPO