]> piware.de Git - bin.git/commitdiff
system-maintenance: move to ParticleOS master
authorMartin Pitt <martin@piware.de>
Sat, 27 Jun 2026 05:27:51 +0000 (07:27 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 27 Jun 2026 05:36:38 +0000 (07:36 +0200)
system-maintenance

index 9f394ea63ca808cb0ae27faeee8f97377b7c1039..e0db2b19c70f6d43889d543d21b405e0aeccde8b 100755 (executable)
@@ -1,16 +1,22 @@
 #!/bin/sh
 set -eux
 
-rpm-ostree cleanup --rollback || true
-rpm-ostree cleanup --repomd
-rpm-ostree cleanup --pending
-rpm-ostree cleanup --base
+MKOSI="$HOME/upstream/mkosi/bin/mkosi"
 
-bootc upgrade
+# current systemd
+cd ~/upstream/systemd
+git checkout main
+git pull
+$MKOSI -f sandbox -- meson setup build
+$MKOSI -f sandbox -- meson compile -C build
+$MKOSI -t none -f
+
+cd ~/upstream/particleos
+$MKOSI -B -ff sysupdate -- update
 
 # fix fonts between Fedora releases
 rm -rf ~martin/.cache/fontconfig
 
-fstrim -av
+run0 fstrim -av
 
-echo 'Run this now: flatpak -y update'
+flatpak -y update