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=8676master
parent
c8d685c9d3
commit
3de6001e1e
|
|
@ -26,7 +26,7 @@ depends() {
|
|||
}
|
||||
|
||||
installkernel() {
|
||||
instmods btrfs crc32c
|
||||
instmods btrfs
|
||||
}
|
||||
|
||||
install() {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,24 @@ echo_fs_helper() {
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue