From: Faiyaz Ahmed <faiyaza@cs.princeton.edu>
Date: Wed, 9 Jan 2008 17:31:56 +0000 (+0000)
Subject: obscure naming confused me.  comments inline.
X-Git-Tag: bootstrapfs-0.1-2~6
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e890ad7b125a2cd60c101c78edc91285eda68125;p=bootstrapfs.git

obscure naming confused me.  comments inline.
---

diff --git a/build.sh b/build.sh
index 75292e6..ded4410 100755
--- a/build.sh
+++ b/build.sh
@@ -96,10 +96,11 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
     done
 
     # Disable splaying of cron.
-    echo > ${vref}/etc/sysconfig/crontab
+    # At this step, vdir is base, and vref is the set of changes that end up in the nodegroup
+    echo > ${vdir}/etc/sysconfig/crontab
 
     # Add site_admin account
-    chroot ${vref} /usr/sbin/useradd -p "" -u 502 -m site_admin
+    chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin
 
     # Create a copy of the ${NAME} bootstrap filesystem w/o the base
     # bootstrap filesystem and make it smaller.  This is a three step