summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/live.cfg12
1 files changed, 4 insertions, 8 deletions
diff --git a/config/live.cfg b/config/live.cfg
index cc121b0..497acf8 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -220,14 +220,10 @@ my $_l = {
"urpmi.addmedia 'Live Core' /var/local/mga_rpms/core with media_info/hdlist.cz",
"urpmi.addmedia 'Live Nonfree' /var/local/mga_rpms/nonfree with media_info/hdlist.cz",
- # add some online medias to avoid slowdown on initial boot
- # will be replaced with mirrorbrain urls soon-ish
- if_($live->{settings}{arch} eq 'i586',
- "urpmi.addmedia --distrib http://mirrors.kernel.org/mageia/distrib/6/i586/",
- ),
- if_($live->{settings}{arch} eq 'x86_64',
- "urpmi.addmedia --distrib http://mirrors.kernel.org/mageia/distrib/6/x86_64/",
- ),
+ # disable dnf-makecache - it uses too much memory in a Live system
+ # TBD: fix draklive so we can use the disable_services section for this
+ "systemctl disable dnf-makecache.service",
+ "systemctl disable dnf-makecache.timer",
# remove pre-installed grub2, we need to be able to select grub2 vs grub2-efi at install time
"rpm -e --nodeps grub2",