diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-02-20 03:07:08 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-02-20 03:27:13 +0100 |
commit | 838ffa831dca80e5578df0de9d6ac67d903c58c7 (patch) | |
tree | 02ef4dce795e8f4cafe893b1527e8c6dde6083b5 /hooks/memdisk | |
parent | 914d5b391105a40945a6f88911cf95a701e1c68c (diff) | |
download | mkinitcpio-838ffa831dca80e5578df0de9d6ac67d903c58c7.tar.gz mkinitcpio-838ffa831dca80e5578df0de9d6ac67d903c58c7.tar.xz |
lsinitcpio: detect kver separate from modules
mkinitcpio will always create /lib/modules/$kernver/kernel in the image,
so we can use this to detect the kernel the image was built for, even if
the image contains no modules.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'hooks/memdisk')
0 files changed, 0 insertions, 0 deletions