X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=system-maintenance;h=422151781b98ec5bf25cf0dcf3723eedc849aff3;hp=96af4b31f4fab9989365969375d4ad58311e44d1;hb=8e80cb60698e0f3a5788328d040fddedc3caca64;hpb=7b58ff326b63da139184217b796353250f110092 diff --git a/system-maintenance b/system-maintenance index 96af4b3..4221517 100755 --- a/system-maintenance +++ b/system-maintenance @@ -5,8 +5,11 @@ 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 - -fstrim -av +umount $REPO