Changes

From SME Server
Jump to navigationJump to search
Line 1,323: Line 1,323:       −
you might need to disable sme* repos from there as they are still yet to be created on mirrors. so to help you follow updates you should do:  
+
you might need avoid using sme* repo except for koji builsdsystem one as long as they are not populated to do so:  
    
  <syntaxhighlight lang="shell">
 
  <syntaxhighlight lang="shell">
db yum_repositories set smeaddons repository status disabled
+
mkdir -p /etc/e-smith/templates-custom/etc/dnf/dnf.conf/
db yum_repositories set smedev repository status disabled
+
echo "#rem custom"> /etc/e-smith/templates-custom/etc/dnf/dnf.conf/20main_reposdir
db yum_repositories set smeextras repository status disabled
+
expand-template /etc/dnf/dnf.conf
db yum_repositories set smecontribs repository status disabled
+
</syntaxhighlight>also you might want to plan ahead and put the koji repo for when you will have deleted the custom template.
db yum_repositories set smeos repository status disabled
  −
db yum_repositories set smetest repository status disabled
  −
db yum_repositories set smeupdates repository status disabled
  −
db yum_repositories set smeupdates-testing repository status disabled
  −
</syntaxhighlight>
   
  vim /etc/yum.smerepos.d/koji.repo
 
  vim /etc/yum.smerepos.d/koji.repo
 
and paste:
 
and paste:
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu