*--*[*no-*]*dmraid*::
Includes or excludes DMRAID support.
+*--*[*no-*]*e2fsprogs*::
+ Includes or excludes e2fsprogs.
+
*--*[*no-*]*zfs*::
Includes or excludes ZFS support.
echo " --mdadm-config=<file> Use file as mdadm.conf in initramfs"
echo " --dmraid Include DMRAID support"
echo " --no-dmraid Exclude DMRAID support"
+ echo " --e2fsprogs Include e2fsprogs"
+ echo " --no-e2fsprogs Exclude e2fsprogs"
echo " --zfs Include ZFS support"
echo " --no-zfs Exclude ZFS support"
echo " --multipath Include Multipath support"
fi
print_info 2 "CMD_DMRAID: ${CMD_DMRAID}"
;;
+ --e2fsprogs|--no-e2fsprogs)
+ CMD_E2FSPROGS=`parse_optbool "$*"`
+ print_info 2 "CMD_E2FSPROGS: ${CMD_E2FSPROGS}"
+ ;;
--zfs|--no-zfs)
CMD_ZFS=`parse_optbool "$*"`
print_info 2 "CMD_ZFS: ${CMD_ZFS}"
set_config_with_override BOOL GPG CMD_GPG
set_config_with_override BOOL MDADM CMD_MDADM
set_config_with_override STRING MDADM_CONFIG CMD_MDADM_CONFIG
+ set_config_with_override BOOL E2FSPROGS CMD_E2FSPROGS "no"
set_config_with_override BOOL ZFS CMD_ZFS
set_config_with_override BOOL MULTIPATH CMD_MULTIPATH
set_config_with_override BOOL FIRMWARE CMD_FIRMWARE
rm -rf "${TEMP}/initramfs-busybox-temp" > /dev/null
}
-append_e2fstools(){
+append_e2fsprogs(){
if [ -d "${TEMP}"/initramfs-e2fsprogs-temp ]
then
rm -r "${TEMP}"/initramfs-e2fsprogs-temp
append_data 'base_layout'
append_data 'auxilary' "${BUSYBOX}"
append_data 'busybox' "${BUSYBOX}"
- append_data 'e2fstools'
+ isTrue "${CMD_E2FSPROGS}" && append_data 'e2fsprogs'
append_data 'lvm' "${LVM}"
append_data 'dmraid' "${DMRAID}"
append_data 'iscsi' "${ISCSI}"
# Add iSCSI support.
#ISCSI="no"
+# Add e2fsprogs support.
+#E2FSPROGS="no"
+
# Include support for unionfs
#UNIONFS="1"