r3522 - in jhalfs/trunk: . common/libs

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Mon Oct 27 16:26:29 PDT 2008


Author: georgeb
Date: 2008-10-27 17:26:29 -0600 (Mon, 27 Oct 2008)
New Revision: 3522

Modified:
   jhalfs/trunk/Config.in
   jhalfs/trunk/common/libs/func_wrt_Makefile
   jhalfs/trunk/jhalfs
Log:
Added menu item to deselect the progress_bar display. Requested by Matthew Burgess

Modified: jhalfs/trunk/Config.in
===================================================================
--- jhalfs/trunk/Config.in	2008-10-21 21:29:13 UTC (rev 3521)
+++ jhalfs/trunk/Config.in	2008-10-27 23:26:29 UTC (rev 3522)
@@ -914,6 +914,13 @@
 		help
 			#-- Install the optional vim-lang package
 
+	config	NO_PROGRESS_BAR
+		bool "DO NOT use/display progress_bar "
+		default n
+		help
+			#-- No not use the progress bar routine. On slower machines
+			#   this functions consumes precious CPU cycles.
+
 	config	TIMEZONE
 		string "TimeZone"
 		default "GMT"

Modified: jhalfs/trunk/common/libs/func_wrt_Makefile
===================================================================
--- jhalfs/trunk/common/libs/func_wrt_Makefile	2008-10-21 21:29:13 UTC (rev 3521)
+++ jhalfs/trunk/common/libs/func_wrt_Makefile	2008-10-27 23:26:29 UTC (rev 3522)
@@ -109,7 +109,7 @@
 
 $i:  $PREV
 	@\$(call echo_message, Building)
-	@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
+${NO_PROGRESS}	@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
 	@echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
 	@\$(PRT_DU) >>logs/\$@
 EOF
@@ -126,7 +126,7 @@
 
 $i:  $PREV
 	@\$(call echo_message, Building)
-	@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
+${NO_PROGRESS}	@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
 	@echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
 	@\$(PRT_DU_CR) >>logs/\$@
 EOF

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2008-10-21 21:29:13 UTC (rev 3521)
+++ jhalfs/trunk/jhalfs	2008-10-27 23:26:29 UTC (rev 3522)
@@ -119,6 +119,11 @@
 SET_MISC=${SET_MISC:=n}
 SET_BLOWFISH=${SET_BLOWFISH:=n}
 
+if [[ "${NO_PROGRESS_BAR}" = "y" ]] ; then
+	NO_PROGRESS="#"
+fi
+
+
 # Sanity check on the location of $BUILDDIR / $JHALFSDIR
 CWD=$(cd `dirname $0` && pwd)
 if [[ $JHALFSDIR == $CWD ]]; then




More information about the alfs-log mailing list