Skip to content
Snippets Groups Projects

Add back persistance fsck option

Merged Luca Boccassi requested to merge bluca/live-boot:fsck into master
1 unresolved thread
2 files
+ 15
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -53,7 +53,7 @@ do
@@ -53,7 +53,7 @@ do
done
done
# udev dependencies
# udev dependencies
if [ "${MINIMAL:-}" != "y" ]
if [ "${MINIMAL:-}" != "true" ] && [ "${MINIMAL:-}" != "yes" ]
then
then
for FILE in /lib/udev/*_id
for FILE in /lib/udev/*_id
do
do
@@ -61,7 +61,8 @@ then
@@ -61,7 +61,8 @@ then
done
done
fi
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
then
mkdir -p "${DESTDIR}/lib/udev/rules.d"
mkdir -p "${DESTDIR}/lib/udev/rules.d"
cp -p /lib/udev/rules.d/60-cdrom_id.rules "${DESTDIR}/lib/udev/rules.d"
cp -p /lib/udev/rules.d/60-cdrom_id.rules "${DESTDIR}/lib/udev/rules.d"
@@ -106,7 +107,7 @@ manual_add_modules hfsplus
@@ -106,7 +107,7 @@ manual_add_modules hfsplus
# Filesystem: jffs2
# Filesystem: jffs2
manual_add_modules jffs2
manual_add_modules jffs2
if [ -x /usr/bin/rsync ] && [ "${MINIMAL:-}" != "y" ]
if [ -x /usr/bin/rsync ] && [ "${MINIMAL:-}" != "true" ] && [ "${MINIMAL:-}" != "yes" ]
then
then
copy_exec /usr/bin/rsync /bin
copy_exec /usr/bin/rsync /bin
fi
fi
@@ -123,7 +124,7 @@ manual_add_modules aufs
@@ -123,7 +124,7 @@ manual_add_modules aufs
manual_add_modules overlay
manual_add_modules overlay
# Filesystem: vfat
# Filesystem: vfat
if [ "${DISABLE_FAT:-}" != "y" ]
if [ "${DISABLE_FAT:-}" != "true" ] && [ "${DISABLE_FAT:-}" != "yes" ]
then
then
manual_add_modules nls_cp437
manual_add_modules nls_cp437
manual_add_modules nls_iso8859-1
manual_add_modules nls_iso8859-1
@@ -133,14 +134,14 @@ then
@@ -133,14 +134,14 @@ then
fi
fi
# Filesystem: ntfs
# Filesystem: ntfs
if [ "${DISABLE_NTFS:-}" != "y" ]
if [ "${DISABLE_NTFS:-}" != "true" ] && [ "${DISABLE_NTFS:-}" != "yes" ]
then
then
manual_add_modules ntfs
manual_add_modules ntfs
fi
fi
[ "${QUIET}" ] || echo -n " devices"
[ "${QUIET}" ] || echo -n " devices"
# Hardware: cdrom
# Hardware: cdrom
if [ "${DISABLE_CDROM:-}" != "y" ]
if [ "${DISABLE_CDROM:-}" != "true" ] && [ "${DISABLE_CDROM:-}" != "yes" ]
then
then
manual_add_modules ide-cd
manual_add_modules ide-cd
manual_add_modules ide-generic
manual_add_modules ide-generic
@@ -150,7 +151,7 @@ then
@@ -150,7 +151,7 @@ then
fi
fi
# Hardware: usb
# Hardware: usb
if [ "${DISABLE_USB:-}" != "y" ]
if [ "${DISABLE_USB:-}" != "true" ] && [ "${DISABLE_USB:-}" != "yes" ]
then
then
manual_add_modules sd_mod
manual_add_modules sd_mod
fi
fi
@@ -198,7 +199,7 @@ then
@@ -198,7 +199,7 @@ then
fi
fi
# FUSE kernel module
# FUSE kernel module
if [ "${DISABLE_FUSE:-n}" != "y" ]
if [ "${DISABLE_FUSE:-n}" != "true" ] && [ "${DISABLE_FUSE:-n}" != "yes" ]
then
then
manual_add_modules fuse
manual_add_modules fuse
Loading