add 'swapoff' to initramfs to fix shutdown/reboot

systemd shutdown/reboot won't work unless 'swapoff' is available.
master
Will Woods 2012-10-24 13:06:28 -04:00 committed by Harald Hoyer
parent 9d6165f235
commit 488d55c546
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ install() {
$systemdsystemunitdir/initrd-switch-root.target \
$systemdsystemunitdir/initrd-switch-root.service \
$systemdsystemunitdir/umount.target \
journalctl systemctl echo
journalctl systemctl echo swapoff

if [[ $hostonly ]]; then
dracut_install -o /etc/systemd/journald.conf \