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
}
installkernel() {
- instmods btrfs crc32c
+ instmods btrfs
}
install() {
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() {
local _helpers