Re: [rock-devel] Troubles in a multiple choice

ROCK Mailing List Archives

Attachments
Entire message
+ (text/plain)
Author: Luca
Date:  
To: ROCK Development Mailing List
Subject: Re: [rock-devel] Troubles in a multiple choice
Stefan Fiedler wrote:
>>
>
> Hi Luca!
>
> There's only a problem with the time zone choice afaik. CFGTEMP_PKG_GLIBC_TZ
> contains a newline separated list, while it should contain a space separated;
> also use grep to filter out comments:
> CFGTEMP_PKG_GLIBC_TZ="Factory Factory_Setting \
> `grep -v "^#" /usr/share/zoneinfo/zone.tab | \
> while read a a tz desc ; do echo "$tz $tz" ; done | sort | tr '\n' ' '`"
> Also change the following line to:
> choice ROCKCFG_PKG_GLIBC_TIMEZONE Factory $CFGTEMP_PKG_GLIBC_TZ
> Then it should work as expected. Note that the default value has to be in the
> list too. Also description text must not contain spaces, used underscores
> instead.
>
> With best regards,
> Stefan Fiedler
> _______________________________________________
> rock-devel mailing list
>
> http://www.rocklinux.net/mailman/listinfo/rock-devel
>
>

Hi Stefan, just tried this way: output (choosing Europe/Rome):

Choose your timezone
<Europe/Riga> Europe/Rome


Yours,
Luca
_______________________________________________
rock-devel mailing list

http://www.rocklinux.net/mailman/listinfo/rock-devel