preseeding mechanism in polystrap

Marcus Osdoba <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
Hi Josch,
I tried to reuse the preseeding to setup the timezone for the target 
rootfs. But the package configure itself every time as Etc/UTC (which is 
obviously the package default).

Right after downloading and extracting the packages, the preseed.txt is 
set via debconf-set-selections (test with -c[heck] before is positive).

The debconfseed.txt looks like yours [1]. But running dpkg --configure 
-a sets the package to UTC[2] and debconf-show tzdata does not know the 
Area Europe anymore[3].

Does polystrap show some output like:
Setting up tzdata (2011d-0squeeze1) ...
Current default time zone: 'Europe/Berlin'
?

Thanks and kind regards,
Marcus

[2]
Setting up tzdata (2011d-0squeeze1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Thu Jun 30 20:35:54 UTC 2011.
Universal Time is now:  Thu Jun 30 20:35:54 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


[3]
me@debian-virtual:~/embedded/multistrap$ sudo chroot build/targetfs/
root@debian-virtual:/# debconf-show tzdata
   tzdata/Zones/Australia:
   tzdata/Zones/US:
   tzdata/Zones/Asia:
* tzdata/Zones/Etc: UTC
   tzdata/Zones/SystemV:
   tzdata/Zones/Africa:
   tzdata/Zones/America:
   tzdata/Zones/Arctic:
   tzdata/Zones/Pacific:
* tzdata/Areas: Etc
   tzdata/Zones/Antarctica:
   tzdata/Zones/Atlantic:
* tzdata/Zones/Europe:  Berlin
   tzdata/Zones/Indian:
[1]
root@debian-virtual:/# more /tmp/debconfseed.txt
  locales locales/locales_to_be_generated  multiselect     en_US.UTF-8 
UTF-8
  locales locales/default_environment_locale     select  en_US.UTF-8
  tzdata  tzdata/Areas     select  Europe
  tzdata  tzdata/Zones/Europe    select  Berlin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.