From 1374edd7aa42f7e4abd38c01abac15e10915d17f Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 14 Jan 2017 20:43:50 +0000 Subject: live.cfg: disable automatic startup of cups services and hplip systray applet. Speeds up boot and reduces memory footprint. --- config/live.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/live.cfg b/config/live.cfg index 33e3478..1509992 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -217,10 +217,16 @@ 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", + # TODO: fix draklive so we can use the disable_services section for this # 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", + # disable cups server - it slows down boot + "systemctl disable cups.service", + "systemctl disable cups-browsed.service", + + # disable HPLIP systray startup + "echo 'Hidden=true' >> /etc/xdg/autostart/hplip-systray.desktop", # remove pre-installed grub2, we need to be able to select grub2 vs grub2-efi at install time "rpm -e --nodeps grub2", -- cgit v1.2.1