Updated gen_config.sh, added meta-package selection

This commit is contained in:
George Boudreau 2006-08-17 21:11:14 +00:00
parent addb529292
commit 8b7df5203b

View file

@ -59,9 +59,16 @@ do
# These are the META packages. for gnome and kde (soon ALSA and Xorg7) # These are the META packages. for gnome and kde (soon ALSA and Xorg7)
if [ $PKG_DIR = "." ]; then if [ $PKG_DIR = "." ]; then
SET_COMMENT=y SET_COMMENT=y
# Do not include previously installed packages....
if [ -e $TRACKING_DIR/${PKG_NAME} ]; then continue; fi if [ -e $TRACKING_DIR/${PKG_NAME} ]; then continue; fi
META_PKG=$(echo ${PKG_NAME} | tr [a-z] [A-Z]) 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 # Include the dependency data for this meta package
while [ 0 ]; do while [ 0 ]; do
read || break 1 read || break 1
@ -163,6 +170,7 @@ config PRINT_SERVER
string string
default cups if PS_cups default cups if PS_cups
default LPRng if PS_LPRng default LPRng if PS_LPRng
choice choice
prompt "Mail server" prompt "Mail server"
config MS_sendmail config MS_sendmail
@ -219,7 +227,7 @@ config X11
endmenu endmenu
choice choice
prompt "Select dependency level" prompt "Dependency level"
default DEPLVL_2 default DEPLVL_2
config DEPLVL_1 config DEPLVL_1
@ -232,7 +240,6 @@ choice
bool "Required, recommended and optional dependencies" bool "Required, recommended and optional dependencies"
endchoice endchoice
config optDependency config optDependency
int int
default 1 if DEPLVL_1 default 1 if DEPLVL_1