r2071 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Oct 4 12:12:08 PDT 2005


Author: manuel
Date: 2005-10-04 13:12:07 -0600 (Tue, 04 Oct 2005)
New Revision: 2071

Modified:
   jhalfs/trunk/jhalfs
Log:
Fixed the set of LFS envar for CHROOT1 command. Reduced Makefile verbosity for Chapter06 targets. 


Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-04 18:37:09 UTC (rev 2070)
+++ jhalfs/trunk/jhalfs	2005-10-04 19:12:07 UTC (rev 2071)
@@ -537,15 +537,15 @@
 ) >> $MKFILE.tmp
     fi
 
-    # For the mount of kernel filesystems we need to set LFS and not to use
-    # chroot.
+    # In the mount of kernel filesystems we need to set LFS for CHROOT1
+    # and not to use chroot.
     if [ "$i" = "057-kernfs" ] ; then
 (
     cat << EOF
-	@echo "LFS=\$(LFS)" > envars && \\
-	echo "export LFS" >> envars && \\
+	@echo "LFS=\$(LFS)" > lfsdir && \\
+	echo "export LFS" >> lfsdir && \\
 	echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
-	. envars && commands/$file >>logs/$i 2>&1 && \\
+	source lfsdir && commands/$file >>logs/$i 2>&1 && \\
 	echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >>logs/$i
 EOF
 ) >> $MKFILE.tmp
@@ -554,8 +554,8 @@
     else
 (
     cat << EOF
-	echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
-	\$(CHROOT1) 'cd /jhalfs && source envars && commands/$file >>logs/$i 2>&1' && \\
+	@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
+	source lfsdir && \$(CHROOT1) 'cd /jhalfs && source envars && commands/$file >>logs/$i 2>&1' && \\
 	echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
 EOF
 ) >> $MKFILE.tmp




More information about the alfs-log mailing list