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).
This commit is contained in:
Will Woods 2012-06-17 15:16:05 -04:00
parent f36f775146
commit 8d49fcdc24
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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}