From: Andres Salomon Date: Thu, 16 Oct 2008 05:18:21 +0000 (-0400) Subject: mkext3: use labels in fstab/olpc.fth rather than hardcoding /dev/sda1 X-Git-Tag: v0.2~16 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0cf26497c224742aa08d18865c349b4670db796;p=xodist mkext3: use labels in fstab/olpc.fth rather than hardcoding /dev/sda1 ..this should allow ext3 to work for things like SD. Signed-off-by: Andres Salomon --- diff --git a/functions.sh b/functions.sh index bc78bfb..371a03b 100644 --- a/functions.sh +++ b/functions.sh @@ -38,7 +38,7 @@ create_fstab() if [ "${fstype}" = "jffs2" ]; then r=mtd0 else - r="LABEL=OLPCRoot" + r="LABEL=${IMG_LABEL}" fi cat >${mntpt}/etc/fstab<