From b0cf26497c224742aa08d18865c349b4670db796 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Thu, 16 Oct 2008 01:18:21 -0400 Subject: [PATCH] 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 --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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<