From 8d49fcdc246ec7e2520aa977e5ed50e110bb5e96 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Sun, 17 Jun 2012 15:16:05 -0400 Subject: [PATCH] add dracut-shutdown.service (and its dependencies) We need the initramfs around to reboot properly. If it's packed up in /boot we need this service to unpack it. If it's not there, the service does nothing, so this patch won't hurt anything. Also add pigz, which speeds up compression nicely (for use in anaconda-cleanup-initramfs.service). --- share/runtime-cleanup.tmpl | 4 +++- share/runtime-install.tmpl | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 58d156cc..a479b3ae 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -30,7 +30,9 @@ removefrom ${product.name}-logos /usr/share/plymouth/* ## (that happens inside the target system after we install dracut/grubby) removepkg dracut-network grubby anaconda-dracut ## In order to execute the /usr move on upgrades we need convertfs from dracut -removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh +## We also need dracut-shutdown.service and dracut-initramfs-restore to reboot +removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \ + /usr/lib/systemd/* /usr/lib/dracut/dracut-initramfs-restore ## we don't run SELinux (not in enforcing, anyway) removepkg checkpolicy selinux-policy libselinux-utils ## anaconda has its own repo files diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl index 568f7998..85057d34 100644 --- a/share/runtime-install.tmpl +++ b/share/runtime-install.tmpl @@ -7,6 +7,8 @@ installpkg anaconda anaconda-widgets installpkg tmux installpkg firstboot installpkg iscsi-initiator-utils +## speed up compression on multicore systems +installpkg pigz ## firstaidkit (rescue mode) packages installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}