Re: Troubles in a multiple choice

Luca <[email protected]> Wed, 15 Nov 2006 16:00:25 +0100
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Luca wrote:
> Hi and good morning Benjamin!
>
> Thanks a lot, I forgot the <desc>, now it finally works....
>
> Friendly,
> Luca
> _______________________________________________
> rock-devel mailing list
> [email protected]
> http://www.rocklinux.net/mailman/listinfo/rock-devel
>
>   
Good afternoon!

Some bad news, it seemed to work but...

In the glibc options I added (some duplicates, just to try):

text 'Select your timezone' ROCKCFG_PKG_GLIBC_TZ
text 'Select your locale' ROCKCFG_PKG_GLIBC_LOCALE

Comment 'Choose your timezone'

CFGTEMP_PKG_GLIBC_TZ=`grep "$1/" /usr/share/zoneinfo/zone.tab | while
read a b timezone c ; do echo "$timezone $timezone"  ; done `

choice ROCKCFG_PKG_GLIBC_TIMEZONE Factory \ $CFGTEMP_PKG_GLIBC_TZ

Result of glibc options is:

<*> Enable profile library
<glibc25> Use glibc-2.5
<Europe/Rome> Select your timezone /* The text one*/
<it_IT.UTF-8> Select your locale /* The text one*/
^@
Choose your timezone
?Factory?  /* The choice one*/

And in the resultant config file:
export ROCKCFG_PKG_GLIBC_ENABLE_PROFILE='1'
export ROCKCFG_PKG_GLIBC_BRANCH='glibc25'
export ROCKCFG_PKG_GLIBC_TZ='Europe/Rome'
export ROCKCFG_PKG_GLIBC_LOCALE=' it_IT.UTF-8'
export ROCKCFG_PKG_GLIBC_TIMEZONE='Factory'
export ROCKCFG_PKG_GLIBC_TIMEZONE='Factory'