Re: How to preconfigure debconf values?

2007-12-28 Thread Josef Wolf
On Mon, Dec 24, 2007 at 05:22:07PM +0100, Frans Pop wrote: > On Monday 24 December 2007, Josef Wolf wrote: > > Yes, I understand. But as tzdata is installed by debootstrap, there's no > > way to preseed it before installation. > > Preseeding during debootstrap is probably never going to happen th

Re: How to preconfigure debconf values?

2007-12-24 Thread Frans Pop
On Monday 24 December 2007, Josef Wolf wrote: > Yes, I understand. But as tzdata is installed by debootstrap, there's no > way to preseed it before installation. Right. Preseeding during debootstrap is probably never going to happen though as its a bit of a chicken-and-egg problem: you need to

Re: How to preconfigure debconf values?

2007-12-24 Thread Geert Stappers
> > P.S. Do we need to keep CCing you, or are you subscribed to the list? >From http://www.debian.org/MailingLists/#codeofconduct | When replying to messages on the mailing list, do not send a carbon copy | (CC) to the original poster unless they explicitly request to be copied. The function 'R

Regarding: How to preconfigure debconf values?

2007-12-24 Thread Geert Stappers
Warning: compliment ahead Op 22-12-2007 om 23:23 schreef Frans Pop: > On Saturday 22 December 2007, Josef Wolf wrote: > > debconf-preconfigure time/zone Europe/Berlin > > apt-get install tzdata > > Geert's suggestions about _how_ to set the values are correct, but at the > same time you are

Re: How to preconfigure debconf values?

2007-12-24 Thread Josef Wolf
On Mon, Dec 24, 2007 at 11:38:10AM +0100, Frans Pop wrote: > On Monday 24 December 2007, Josef Wolf wrote: > > But dpkg-reconfigure still asks, even though I explicitly set them as > > "seen". > > That is correct. dpkg-reconfigure ignores the seen flag as otherwise it > would be completely imposs

Re: How to preconfigure debconf values?

2007-12-24 Thread Frans Pop
On Monday 24 December 2007, Josef Wolf wrote: > But dpkg-reconfigure still asks, even though I explicitly set them as > "seen". That is correct. dpkg-reconfigure ignores the seen flag as otherwise it would be completely impossible to _ever_ reconfigure packages that were installed with preseedin

Re: How to preconfigure debconf values?

2007-12-24 Thread Josef Wolf
On Mon, Dec 24, 2007 at 01:58:39AM +0100, Frans Pop wrote: > On Sunday 23 December 2007, Joey Hess wrote: > > tzdata 2007b-1 (in etch) does not use debconf. Thanks for the clarification, Joey! > Right. Etch still used tzconfig to set the timezone. I forgot about that. > > That means Josef will p

Re: How to preconfigure debconf values?

2007-12-23 Thread Frans Pop
On Sunday 23 December 2007, Joey Hess wrote: > tzdata 2007b-1 (in etch) does not use debconf. Right. Etch still used tzconfig to set the timezone. I forgot about that. That means Josef will probably just have to set the timezone the way we did it in D-I, which can be seen in this script: http://

Re: How to preconfigure debconf values?

2007-12-23 Thread Joey Hess
tzdata 2007b-1 (in etch) does not use debconf. (BTW, several people in this thread have seemed to not be aware that debconf-set-selections automatically sets the seen flag of preseeded values.) -- see shy jo signature.asc Description: Digital signature

Re: How to preconfigure debconf values?

2007-12-23 Thread Josef Wolf
On Sat, Dec 22, 2007 at 11:23:29PM +0100, Frans Pop wrote: Thanks for your help, Frans! > On Saturday 22 December 2007, Josef Wolf wrote: > > debconf-preconfigure time/zone Europe/Berlin > > apt-get install tzdata > > Geert's suggestions about _how_ to set the values are correct, but at the

Re: How to preconfigure debconf values?

2007-12-22 Thread Frans Pop
On Saturday 22 December 2007, Josef Wolf wrote: > debconf-preconfigure time/zone Europe/Berlin > apt-get install tzdata Geert's suggestions about _how_ to set the values are correct, but at the same time you are trying to set the _wrong_ values. The time/zone template is a debian-installer t

Re: How to preconfigure debconf values?

2007-12-22 Thread Josef Wolf
On Sat, Dec 22, 2007 at 06:09:28PM +0100, Geert Stappers wrote: > Op 22-12-2007 om 15:55 schreef Josef Wolf: > > You _might_ be missing setting the seen flag. > So in the next attempt: > > echo 'tzdata time/zone string Europe/Berlin > tzdata time/zone seen true' | \ > sudo chroot etch/target debco

Re: How to preconfigure debconf values?

2007-12-22 Thread Geert Stappers
Op 22-12-2007 om 15:55 schreef Josef Wolf: > Thanks for the hint, Geert! :-) > From debconf-set-selections manpage I deduce that the correct format > would be > > tzdata time/zone string Europe/Berlin > > This seems to be correct, since debconf-get-selections returns this > value. But it do

Re: How to preconfigure debconf values?

2007-12-22 Thread Josef Wolf
On Sat, Dec 22, 2007 at 01:26:40PM +0100, Geert Stappers wrote: > Op 22-12-2007 om 12:19 schreef Josef Wolf: > > That was almost straight-forward so far. But now I'm somewhat stuck. > > I'd like to preconfigure debconf. Something like > > > > debconf-preconfigure time/zone Europe/Berlin > >

Re: How to preconfigure debconf values?

2007-12-22 Thread Geert Stappers
Op 22-12-2007 om 12:19 schreef Josef Wolf: > Hello. > > sudo chroot etch/target apt-get update > sudo chroot etch/target apt-get dist-upgrade -y > > That was almost straight-forward so far. But now I'm somewhat stuck. > I'd like to preconfigure debconf. Something like > > debconf-p

How to preconfigure debconf values?

2007-12-22 Thread Josef Wolf
Hello. I hope I am in the correct mailing list here. If I'm not, please somebody point me to the correct one. I am trying to create an live-CD via debootstrap. Here is what I have done so far: # Download packages to temp directory, so we don't need to download them # again if we want to st