]> piware.de Git - bin.git/blobdiff - system-maintenance
backup: Also run with Ethernet connection
[bin.git] / system-maintenance
index ad148ef1162d801541d44f5ddc48f39593a0d7e9..7309e20f275862735d9689c1dab4a22aae2d5a90 100755 (executable)
@@ -1,18 +1,12 @@
 #!/bin/sh
 set -eux
 
-rpm-ostree cleanup --rollback
+rpm-ostree cleanup --rollback || true
 rpm-ostree cleanup --repomd
+rpm-ostree cleanup --pending
 rpm-ostree cleanup --base
 
-# 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
-umount $REPO
 
 # fix fonts between Fedora releases
 rm -rf ~martin/.cache/fontconfig