]> piware.de Git - bin.git/blobdiff - system-maintenance
system-maintenance: Move ostree repo
[bin.git] / system-maintenance
index 83cefbd7c851a89732acaa28882197bfaf26b7ef..422151781b98ec5bf25cf0dcf3723eedc849aff3 100755 (executable)
@@ -6,9 +6,10 @@ 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