Closed tulilirockz closed 4 days ago
I think it would be better if you make it a custom command and disable rpm-ostree upgrade in topgrade.toml.
Here's our topgrade config for reference: https://github.com/ublue-os/bluefin/blob/main/system_files/shared/usr/share/ublue-os/topgrade.toml
I know @bsherman has opinions on streamlining our usage of topgrade better so cc'ing him in.
I think it would be better if you make it a custom command and disable rpm-ostree upgrade in topgrade.toml.
Good idea! Ill just copy the topgrade config and remove the rpm_ostree module :p
I think it would be better if you make it a custom command and disable rpm-ostree upgrade in topgrade.toml.
Disabling rpm-ostree in topgrade.toml doesn't seem to help us here. Topgrade identifies us as fedora, which is calling redhat_upgrade
. There it will execute dnf upgrade
or if rpm_ostree = true
, you guessed it, rpm-ostree upgrade
. So if you set it to false, it will try to do execute dnf.
However you can disable rpm-ostree update
, by adding "system" to the array under misc disable in topgrade.toml
Using a custom command will some kind of work, but it is not really liking sudo i believe
[commands]
"System Upgrade" = "sudo bootc upgrade"
Good idea! Ill just copy the topgrade config and remove the rpm_ostree module :p
Or just like that :smile:
But be sure to keep rpm_ostree = true
then
Using the approach you suggested seems to be working fine on my system! Very nice! @befanyt
Don't merge until these land:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-88b4110a60 https://bodhi.fedoraproject.org/updates/FEDORA-2024-246828877f
Ok everything is in Fedora, last call!
sorry about the triple review, for some reason GitHub allows multiple review from the same account even if the code hasn't changed and I have a so poor bandwidth that clicking multiple time on the "approve" button instantly POST
multiple approving reviews
PR'd support for this upstream so that we don't need to use this workaround
This is supposed to be a small step to getting people using bootc more - This PR just implements a partial version of https://github.com/ublue-os/config/issues/279 on Bluefin