[SCM] live-boot branch, debian-next, updated. debian/3.0_a26-1-3-g06424fb
Daniel Baumann
daniel at debian.org
Fri Apr 6 10:11:26 UTC 2012
The following commit has been merged in the debian-next branch:
commit 06424fbd360af31f530e745695e525b873d06d93
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Apr 6 12:10:46 2012 +0200
Removing header in fstab, not required.
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
index ba4a7a3..7f43937 100755
--- a/scripts/live-bottom/12fstab
+++ b/scripts/live-bottom/12fstab
@@ -32,19 +32,6 @@ log_begin_msg "Configuring fstab"
# live-boot script
-# Create a fake fstab only if it doesn't exist or if its the debootstrap template
-if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}"
-then
-
-cat > ${FSTAB} << EOF
-# /etc/fstab: static file system information.
-#
-# <file system> <mount point> <type> <options> <dump> <pass>
-
-EOF
-
-fi
-
if ! grep -qs "^${UNIONTYPE}" "${FSTAB}"
then
echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}"
--
live-boot
More information about the debian-live-changes
mailing list