From: Martin Pitt Date: Sat, 3 Aug 2019 09:03:13 +0000 (+0200) Subject: system-maintenance: Move ostree repo X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=8e80cb60698e0f3a5788328d040fddedc3caca64;hp=fc578b7e220971b12a92819aa6ffdd3d157ed11a system-maintenance: Move ostree repo workstation-ostree-config moved the repo to /var/tmp/, follow suit. --- diff --git a/system-maintenance b/system-maintenance index 83cefbd..4221517 100755 --- a/system-maintenance +++ b/system-maintenance @@ -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