Include crc32c module for xfs.

Just like btrfs, xfs now requires CRC module that cannot be resolved via
normal module resolving.

Move this hack into fs-lib and remove it from btrfs module.

https://bugs.mageia.org/show_bug.cgi?id=8676
master
Colin Guthrie 2013-01-13 14:06:58 +00:00 committed by Harald Hoyer
parent c8d685c9d3
commit 3de6001e1e
2 changed files with 19 additions and 1 deletions

View File

@ -26,7 +26,7 @@ depends() {
} }


installkernel() { installkernel() {
instmods btrfs crc32c instmods btrfs
} }


install() { install() {

View File

@ -35,6 +35,24 @@ echo_fs_helper() {
esac esac
} }


include_fs_helper_modules() {
local dev=$1 fs=$2
case "$fs" in
xfs|btrfs)
instmods crc32c
;;
esac
}

installkernel() {
# xfs and btrfs needs crc32c...
if [[ $hostonly ]]; then
for_each_host_dev_fs include_fs_helper_modules
:
else
instmods crc32c
fi
}


install() { install() {
local _helpers local _helpers