r2076 - jhalfs/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Oct 4 17:58:02 PDT 2005


Author: jhuntwork
Date: 2005-10-04 18:58:01 -0600 (Tue, 04 Oct 2005)
New Revision: 2076

Modified:
   jhalfs/trunk/jhalfs
Log:
Need to cd into the unpacked source directories in chapter6

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-05 00:48:28 UTC (rev 2075)
+++ jhalfs/trunk/jhalfs	2005-10-05 00:58:01 UTC (rev 2076)
@@ -550,7 +550,17 @@
 EOF
 ) >> $MKFILE.tmp
 
-    # The rest of Chapter06 use CHROOT1 function
+    # If we have a package we need to cd into the directory
+    elif [ "$vrs" != "" ] ; then
+(
+    cat << EOF
+	@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
+	\$(CHROOT1) 'cd /jhalfs && source envars && cd \$\$PKGDIR && commands/$file >>logs/$i 2>&1' && \\
+	echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
+EOF
+) >> $MKFILE.tmp
+
+    # The rest of Chapter06
     else
 (
     cat << EOF




More information about the alfs-log mailing list