system-maintenance: Move ostree repo
authorMartin Pitt <martin@piware.de>
Sat, 3 Aug 2019 09:03:13 +0000 (11:03 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 9 Aug 2019 16:54:06 +0000 (18:54 +0200)
workstation-ostree-config moved the repo to /var/tmp/, follow suit.

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