parent
384eeedd2d
commit
ccaf52901f
|
|
@ -15,7 +15,7 @@ echo_fs_helper() {
|
||||||
local dev=$1 fs=$2
|
local dev=$1 fs=$2
|
||||||
case "$fs" in
|
case "$fs" in
|
||||||
xfs)
|
xfs)
|
||||||
echo -n " xfs_db xfs_repair xfs_check xfs_metadump"
|
echo -n " xfs_db xfs_repair xfs_check xfs_metadump "
|
||||||
;;
|
;;
|
||||||
ext?)
|
ext?)
|
||||||
echo -n " e2fsck "
|
echo -n " e2fsck "
|
||||||
|
|
@ -49,12 +49,12 @@ include_fs_helper_modules() {
|
||||||
|
|
||||||
# called by dracut
|
# called by dracut
|
||||||
installkernel() {
|
installkernel() {
|
||||||
# xfs and btrfs needs crc32c...
|
# xfs/btrfs/ext4 need crc32c, f2fs needs crc32
|
||||||
if [[ $hostonly ]]; then
|
if [[ $hostonly ]]; then
|
||||||
for_each_host_dev_fs include_fs_helper_modules
|
for_each_host_dev_fs include_fs_helper_modules
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
instmods crc32c
|
instmods crc32c crc32
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,7 +81,7 @@ install() {
|
||||||
_helpers="$fscks"
|
_helpers="$fscks"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$_helpers" == *e2fsck* ]] && [ -e /etc/e2fsck.conf ]; then
|
if [[ "$_helpers" == *e2fsck* ]] && [ -e /etc/e2fsck.conf ]; then
|
||||||
inst_simple /etc/e2fsck.conf
|
inst_simple /etc/e2fsck.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue