diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-11-27 21:24:27 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-11-27 21:24:27 +0100 |
commit | b8f596eee60bfec4efced5b2a448f1e4ca7ee189 (patch) | |
tree | b2b0a2ee0a44a31ea6b8ac2e8bbb59dd67940e3c /mkinitcpio.d/example.preset | |
parent | e7b20bb79e72b311e7dce76d1b9f67eb8dcaa641 (diff) | |
download | mkinitcpio-b8f596eee60bfec4efced5b2a448f1e4ca7ee189.tar.gz mkinitcpio-b8f596eee60bfec4efced5b2a448f1e4ca7ee189.tar.xz |
sd-shutdown: don't fail after kernel updates
When the module directory matching $(uname -r) cannot be found, generation
of the shutdown ramfs aborted:
systemd[1]: Starting Generate shutdown-ramfs...
mkinitcpio[1944]: ==> ERROR: '/lib/modules/3.12.1-1-ARCH' is not a valid kernel module directory
systemd[1]: mkinitcpio-generate-shutdown-ramfs.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Generate shutdown-ramfs.
systemd[1]: Unit mkinitcpio-generate-shutdown-ramfs.service entered failed state.
Tell mkinitcpio that we do not wish to add any kernel modules.
Diffstat (limited to 'mkinitcpio.d/example.preset')
0 files changed, 0 insertions, 0 deletions