]> piware.de Git - bin.git/blobdiff - system-maintenance
build-devtoolbox: Drop waiverdb-cli
[bin.git] / system-maintenance
index 96af4b31f4fab9989365969375d4ad58311e44d1..992c1062c72bfc4c2bc90b767fdc46153be49819 100755 (executable)
@@ -5,8 +5,13 @@ 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
+umount $REPO
 
 fstrim -av