done
# udev dependencies
-if [ "${MINIMAL:-}" != "y" ]
+if [ "${MINIMAL:-}" != "true" ] && [ "${MINIMAL:-}" != "yes" ]
then
for FILE in /lib/udev/*_id
do
done
fi
-if [ -e /lib/udev/rules.d/60-cdrom_id.rules ] && [ "${DISABLE_CDROM:-}" != "y" ]
+if [ -e /lib/udev/rules.d/60-cdrom_id.rules ] && [ "${DISABLE_CDROM:-}" != "true" ] && \
+ [ "${DISABLE_CDROM:-}" != "yes" ]
then
mkdir -p "${DESTDIR}/lib/udev/rules.d"
cp -p /lib/udev/rules.d/60-cdrom_id.rules "${DESTDIR}/lib/udev/rules.d"
# Filesystem: jffs2
manual_add_modules jffs2
-if [ -x /usr/bin/rsync ] && [ "${MINIMAL:-}" != "y" ]
+if [ -x /usr/bin/rsync ] && [ "${MINIMAL:-}" != "true" ] && [ "${MINIMAL:-}" != "yes" ]
then
copy_exec /usr/bin/rsync /bin
fi
manual_add_modules overlay
# Filesystem: vfat
-if [ "${DISABLE_FAT:-}" != "y" ]
+if [ "${DISABLE_FAT:-}" != "true" ] && [ "${DISABLE_FAT:-}" != "yes" ]
then
manual_add_modules nls_cp437
manual_add_modules nls_iso8859-1
fi
# Filesystem: ntfs
-if [ "${DISABLE_NTFS:-}" != "y" ]
+if [ "${DISABLE_NTFS:-}" != "true" ] && [ "${DISABLE_NTFS:-}" != "yes" ]
then
manual_add_modules ntfs
fi
[ "${QUIET}" ] || echo -n " devices"
# Hardware: cdrom
-if [ "${DISABLE_CDROM:-}" != "y" ]
+if [ "${DISABLE_CDROM:-}" != "true" ] && [ "${DISABLE_CDROM:-}" != "yes" ]
then
manual_add_modules ide-cd
manual_add_modules ide-generic
fi
# Hardware: usb
-if [ "${DISABLE_USB:-}" != "y" ]
+if [ "${DISABLE_USB:-}" != "true" ] && [ "${DISABLE_USB:-}" != "yes" ]
then
manual_add_modules sd_mod
fi
fi
# FUSE kernel module
-if [ "${DISABLE_FUSE:-n}" != "y" ]
+if [ "${DISABLE_FUSE:-n}" != "true" ] && [ "${DISABLE_FUSE:-n}" != "yes" ]
then
manual_add_modules fuse
These environment variables can only be set in the configuration files:
.TP
-\fBDISABLE_CDROM\fR=[\fIy\fR|\fIn\fR]
+\fBDISABLE_CDROM\fR=[\fItrue\fR|\fIfalse\fR]
Disable support for booting from CD-ROMs. If set to '\fIy\fR' mkinitramfs will build an initramfs without the kernel modules for reading CD-ROMs.
.TP
-\fBDISABLE_FAT\fR=[\fIy\fR|\fIn\fR]
+\fBDISABLE_FAT\fR=[\fItrue\fR|\fIfalse\fR]
Disable support for booting from FAT file systems. If set to '\fIy\fR' mkinitramfs will build an initramfs without the kernel module vfat and some nls_* modules.
.TP
-\fBDISABLE_FUSE\fR=[\fIy\fR|\fIn\fR]
+\fBDISABLE_FUSE\fR=[\fItrue\fR|\fIfalse\fR]
Disable support for booting from FUSE-based file systems. If set to '\fIy\fR' mkinitramfs will build an initramfs without the kernel module fuse and file systems that depend on it (like curlftpfs and httpfs2).
.TP
-\fBDISABLE_NTFS\fR=[\fIy\fR|\fIn\fR]
+\fBDISABLE_NTFS\fR=[\fItrue\fR|\fIfalse\fR]
Disable support for booting from NTFS file systems. If set to '\fIy\fR' mkinitramfs will build an initramfs without the kernel module ntfs.
.TP
-\fBDISABLE_USB\fR=[\fIy\fR|\fIn\fR]
+\fBDISABLE_USB\fR=[\fItrue\fR|\fIfalse\fR]
Disable support for booting from USB devices. If set to '\fIy\fR' mkinitramfs will build an initramfs without the kernel module sd_mod.
.TP
-\fBMINIMAL\fR=[\fIy\fR|\fIn\fR]
+\fBMINIMAL\fR=[\fItrue\fR|\fIfalse\fR]
Build a minimal initramfs. If set to '\fIy\fR' mkinitramfs will build an initramfs without some udev scripts and without rsync.
.TP