Hi, is there a way to add “distrobox upgrade -a” to the ujust update script ?
Thanks !
Hi, is there a way to add “distrobox upgrade -a” to the ujust update script ?
Thanks !
Its already in the update script, but it’s disabled by default unless you enable it.
sudo systemctl edit uupd
Override the execstart line to remove the distrobox disable.
In the default install uupd service file distrobox is disabled:
# DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
ExecStart=/usr/bin/uupd --disable-module-distrobox --log-level debug --json
My override which just removes the disable switch:
# /etc/systemd/system/uupd.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/uupd --log-level debug --json --hw-check
Any idea why that’s disabled by default? Perhaps it’s to avoid large amounts of updates if there are a lot of distroboxes installed?
I could guess, many people might like to keep some boxes pinned at a certain point.
I think that may be the reason. Would be great to have a ujust command that we can select the boxes that we want to update and not to update and keep that selection.
If you have a little bit of programming skill (or even not, it’s how we learn!), make a change to the code that updates distrobox to allow you to specify which distroboxes are updated in uupd.service. I created a update for the timer 2 weeks ago. They accepted it, and now it’s the new schedule for updates on Bazzite, Aurora, and Bluefin.
I like your idea.
They really do encourage the idea of people making a proposal. You could make one on the uupd GitHub page, see what they say if they are open to it, and then if so, work on it and submit your change.
I’m playing around with a Python background process that uses a mechanism which provides the notification a new image is staged in terminal to provide a graphical pop-up to tell people it’s time to reboot after a new image is staged. Once I get it working, I’ll propose it be added to the image for people to use. (Just an example of how users like us can help the team!)