sailfishos-chum / main

Documentation and issue tracker for the SailfishOS:Chum community repository
https://build.merproject.org/project/show/sailfishos:chum
MIT License
26 stars 4 forks source link

sailfishos-chum repository in the global section #35

Closed vigejolla closed 2 years ago

vigejolla commented 2 years ago

Executing ssu lryou can see that the sailfishos-chum repository is listed in "Enabled repositories (global)". This causes potential issues during OS updates.

A safer choice would be adding the repository to user section, as those repositores are disabled during OS updates.

piggz commented 2 years ago

Thanks ... do you know what needs changed in the .ini file to list it in the user section?

vigejolla commented 2 years ago

Sorry, no idea

piggz commented 2 years ago

Hmm.... i think user defined repos are added to /etc/ssu.ini according to the source I read. Maybe we will have to add the repo using ssu commands during package installation, instead of adding an ini file.

rinigus commented 2 years ago

Looks like running, as defaultuser

ssu ar sfos-chum-testing 'https://repo.sailfishos.org/obs/sailfishos:/chum:/testing/%(release)_%(arch)/'

Actually adds repo correctly to /etc/ssu/ssu.ini . Let's see if we can also add some INI file there directly as I am not sure how we can run these days "as a user" while installing RPM.

rinigus commented 2 years ago

We can run that ssu command also from RPM SPEC as root - result is the same, it is added to users section.

rinigus commented 2 years ago

Fixed by @piggz