r2826 - in jhalfs/trunk: . common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Sun Jul 16 13:53:37 PDT 2006


Author: georgeb
Date: 2006-07-16 14:53:37 -0600 (Sun, 16 Jul 2006)
New Revision: 2826

Modified:
   jhalfs/trunk/README
   jhalfs/trunk/common/makefile-functions
   jhalfs/trunk/common/progress_bar.sh
Log:
grammar and spelling corrections

Modified: jhalfs/trunk/README
===================================================================
--- jhalfs/trunk/README	2006-07-16 10:43:03 UTC (rev 2825)
+++ jhalfs/trunk/README	2006-07-16 20:53:37 UTC (rev 2826)
@@ -133,6 +133,11 @@
 
 
 6. FAQ::
+    Q. "This 'help' file is very sparse"
+    A. Yes, it is. This tool, jhalfs, is for those who understand the LFS books
+       and wish to automate the build. 99% of any problems that arise can be
+       solved by reading the book(s).
+   
     Q. "It doesn't work!"
     A. Yes it does, try ./lfs --help
 
@@ -194,7 +199,6 @@
        carefully and don't skip the easy parts (there are none..)
 
 
-
 Authors:
   George Boudreau
   Manuel Canales Esparcia

Modified: jhalfs/trunk/common/makefile-functions
===================================================================
--- jhalfs/trunk/common/makefile-functions	2006-07-16 10:43:03 UTC (rev 2825)
+++ jhalfs/trunk/common/makefile-functions	2006-07-16 20:53:37 UTC (rev 2826)
@@ -54,7 +54,7 @@
   @echo
   @echo -e \\t- Enter to the chroot using the command found
   @echo -e \\tin the section -Entering the Chroot Environment-
-  @echo -e \\texcept if building CLFS with METHOO=boot.
+  @echo -e \\texcept if building CLFS with METHOD=boot.
   @echo
   @echo -e \\t- Set a password for the root user.
   @echo
@@ -69,7 +69,7 @@
   @echo -e \\tYou can set-up the host bootloader or the new boot-loader
   @echo -e \\tinstalled on the new system.
   @echo -e \\tIf the last, you must to mount the virtual filesystems, re-enter
-  @echo -e \\tto the chroot and be sure that /dev is populated with the
+  @echo -e \\tthe chroot and be sure that /dev is populated with the
   @echo -e \\trequired devices before configure the boot-loader. When ready,
   @echo -e \\texit from the chroot and umount the filesystems
   @echo

Modified: jhalfs/trunk/common/progress_bar.sh
===================================================================
--- jhalfs/trunk/common/progress_bar.sh	2006-07-16 10:43:03 UTC (rev 2825)
+++ jhalfs/trunk/common/progress_bar.sh	2006-07-16 20:53:37 UTC (rev 2826)
@@ -21,8 +21,9 @@
 declare -i  SEC=0  # Seconds accumulator
 declare -i  PREV_SEC=0
 
-makePID=$(fuser -v . 2>&1 | grep make)
-makePID=$(echo $makePID | cut -d" " -f2)
+mypid=$$
+  # A small ugly.. who is my parent *not root
+makePID=`(cat /proc/$mypid/stat) | cut -d " " -f5`
 
 write_or_exit() {
     # make has been killed or failed or run to completion, leave




More information about the alfs-log mailing list