Skip to content

Commit

Permalink
feat(just): added pin/unpin recipes for ostree
Browse files Browse the repository at this point in the history
(cherry picked from commit fc71e22)
  • Loading branch information
AuraHerreroRuiz committed Apr 14, 2024
1 parent be49ad7 commit 24ab97b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/files/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ opt-packages-symlink-restore:
#Useful when artifacts appear after graphic driver upgrades
vivaldi-remove-gpu-cache:
find ~/.config/vivaldi/ -depth -type d -name GPUCache -exec rm -rf {} \;

#Pin a deployment. Use a number where 0 is the latest deployment, and increments the older the deployment.
pin-deployment deployment:
sudo ostree admin pin "{{deployment}}"
#Unpin a deployment. Use a number where 0 is the latest deployment, and increments the older the deployment.
unpin-deployment deployment:
sudo ostree admin pin -u "{{deployment}}"

0 comments on commit 24ab97b

Please sign in to comment.