From 8e80cb60698e0f3a5788328d040fddedc3caca64 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 3 Aug 2019 11:03:13 +0200 Subject: [PATCH] system-maintenance: Move ostree repo workstation-ostree-config moved the repo to /var/tmp/, follow suit. --- system-maintenance | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5