Hi Kruhm,
When I enable them with enabled=1 they work, but I can't see them in the software panel. And when I reboot they are automatically set to enabled=0 except the ones I do see in the softwarepanel such as SME server - addons, etc.
So I suppose there must be a way to make them visible and manageble through the softwarepanel.
After enabling a repo in yum.conf, try:
/sbin/e-smith/expand-template /etc/yum.conf
No don't as this is a configuration file that is based on templates, however all the yum repositories settings are stored in a seperate database called yum_repositories. To show all the settings issue the following command:
db show yum_repositories
To change a settingt of a repository entry
db yum_repositories setprop repository property1 value1 [[property2 value2] ... [propertyn valuen]]
(where the square brackets indicate that a value can be entered but is not required, it is merely to modify a lot of properties at once). So to set the sattus of, for instance, the testing repository to enabled we could issue the following command:
db yum_repositories setprop testing status enabled
As the configuration file dos not reflect those changes automatically we have to tell the system to regenerate the configuration file:
signal-event /etc/yum.conf
To get some more details on how to work with the SME configuration database just issue this command at the propmt
db
or see the
SME Developer's Guide, section II.5 Configuration database