Bug#446795: Obtain the local time zone

2007-12-20 Thread Peder Chr. Nørgaard
On Thursday 01 November 2007, you wrote: Instead of reading /etc/timezone, you can obtain the local time zone reading the output of the command: $ date +%Z So I think that it would be enough to substitute in /usr/lib/rootstrap/modules/uml the line [ ! -e $HOST/etc/timezone ] ||

Bug#446795: Obtain the local time zone

2007-11-01 Thread Giovanni Mascellani
Instead of reading /etc/timezone, you can obtain the local time zone reading the output of the command: $ date +%Z So I think that it would be enough to substitute in /usr/lib/rootstrap/modules/uml the line [ ! -e $HOST/etc/timezone ] || TARGET_TIMEZONE=$(cat $HOST/etc/timezone) with