X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=system-maintenance;fp=system-maintenance;h=83cefbd7c851a89732acaa28882197bfaf26b7ef;hp=96af4b31f4fab9989365969375d4ad58311e44d1;hb=fc578b7e220971b12a92819aa6ffdd3d157ed11a;hpb=8dcb304e5dbf0be0e03e69c9eef71391b5e77171 diff --git a/system-maintenance b/system-maintenance index 96af4b3..83cefbd 100755 --- a/system-maintenance +++ b/system-maintenance @@ -5,8 +5,10 @@ rpm-ostree cleanup --rollback rpm-ostree cleanup --repomd rpm-ostree cleanup --base -rm -rf /srv/ostree/repo/ +# keep repo on tmpfs +mkdir -p /srv/ostree/repo/ +mount -t tmpfs tmpfs /srv/ostree/repo + (cd ~martin/src/workstation-ostree-config/; ./compose.sh) rpm-ostree upgrade - -fstrim -av +umount /srv/ostree/repo