add 'swapoff' to initramfs to fix shutdown/reboot
systemd shutdown/reboot won't work unless 'swapoff' is available.master
parent
9d6165f235
commit
488d55c546
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue