r2996 - jhalfs/branches/experimental/BLFS

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Thu Aug 17 14:11:14 PDT 2006


Author: georgeb
Date: 2006-08-17 15:11:14 -0600 (Thu, 17 Aug 2006)
New Revision: 2996

Modified:
   jhalfs/branches/experimental/BLFS/gen_config.sh
Log:
Updated gen_config.sh, added meta-package selection

Modified: jhalfs/branches/experimental/BLFS/gen_config.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-17 21:02:47 UTC (rev 2995)
+++ jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-17 21:11:14 UTC (rev 2996)
@@ -59,9 +59,16 @@
     # These are the META packages. for gnome and kde (soon ALSA and Xorg7)
   if [ $PKG_DIR = "." ]; then
     SET_COMMENT=y
+      # Do not include previously installed packages....
     if [ -e $TRACKING_DIR/${PKG_NAME} ]; then continue; fi
+    
     META_PKG=$(echo ${PKG_NAME} | tr [a-z] [A-Z])
-     echo -e "menu \"$(echo ${PKG_NAME} | tr [a-z] [A-Z]) components\"" >> $outFile
+    echo -e "config CONFIG_$META_PKG" >> $outFile
+    echo -e "\tbool \"$META_PKG\"" >> $outFile
+    echo -e "\tdefault n" >> $outFile
+
+    echo -e "menu \"$(echo ${PKG_NAME} | tr [a-z] [A-Z]) components\"" >> $outFile
+    echo -e "\tdepends\tCONFIG_$META_PKG\"" >> $outFile
        # Include the dependency data for this meta package
        while [ 0 ]; do
          read || break 1
@@ -163,6 +170,7 @@
 	string
 	default	cups	if PS_cups
 	default	LPRng	if PS_LPRng	
+
 choice
 	prompt	"Mail server"
 	config	MS_sendmail
@@ -219,7 +227,7 @@
 endmenu
 
 choice	
-	prompt	"Select dependency level"
+	prompt	"Dependency level"
 	default DEPLVL_2
 	
 	config	DEPLVL_1
@@ -232,7 +240,6 @@
 	bool	"Required, recommended and optional dependencies"
 	
 endchoice
-
 config	optDependency
 	int
 	default	1	if DEPLVL_1




More information about the alfs-log mailing list