USEMDADMSTATIC="no"
USEINSMODSTATIC="no"
USE_SUSPEND="no"
-USE_SUSPEND2="no"
+USE_SUSPEND2="yes"
uselvm="no"
usenfs="no"
# it should be safe to remove scsi_mod from here, but I'm not sure...
echo " [--initrdfs=rom|ext2|cram] [--modules-conf=<modules.conf>]"
echo " [--with-raidstart] [--without-raidstart] [--with-insmod-static]"
echo " [--without-bootsplash] [--lvmtoolsversion=1|2] [--without-udev]"
- echo " [--with-suspend] [--with-suspend2] [--without-dmraid]"
+ echo " [--with-suspend] [--without-suspend2] [--without-dmraid]"
echo " <initrd-image> <kernel-version>"
echo " (ex: `basename $0` /boot/initrd-2.2.5-15.img 2.2.5-15)"
exit 1
--with-suspend)
USE_SUSPEND="yes";
;;
- --with-suspend2)
- USE_SUSPEND2="yes";
+ --without-suspend2)
+ USE_SUSPEND2="no";
;;
--lvmtoolsversion=|--lvmversion=)
LVMTOOLSVERSION="`echo $1 | awk -F= '{print $2;}'`"
findmodule "$n"
done
+if is_yes "$USE_SUSPEND2"; then
+ findmodule "-lzf"
+fi
+
if [ -n "$ifneeded" -a -z "$MODULES" ]; then
if [ -n "$verbose" ]; then
echo "No modules are needed -- not building initrd image."