Browse Source

kernel-modules: only remove ocfs2, if all filesystems are installed

master
Harald Hoyer 15 years ago
parent
commit
e9e93e2ec6
  1. 5
      modules.d/90kernel-modules/installkernel

5
modules.d/90kernel-modules/installkernel

@ -17,14 +17,15 @@ if [[ -z $drivers ]]; then @@ -17,14 +17,15 @@ if [[ -z $drivers ]]; then
if ! [[ $hostonly ]]; then
if [[ -z $filesystems ]]; then
instmods '=fs'
# hardcoded list of exceptions
# to save a lot of space
rm -fr ${initdir}/lib/modules/*/kernel/fs/ocfs2
else
instmods $filesystems
fi
else
hostonly='' instmods $(get_fs_type "/dev/block/$(find_root_block_device)")
fi
# hardcoded list of exceptions
rm -fr ${initdir}/lib/modules/*/kernel/fs/ocfs2
else
hostonly='' instmods $drivers $filesystems
fi

Loading…
Cancel
Save