Re: First tests with console-setup replacing kbd-config

2009-05-20 Thread Christian Perrier
Quoting Anton Zinoviev (an...@lml.bas.bg): Good to here this. Should I make small console-setup-mini-udeb without translations? Well, I'm not sure we have a use case for it. The point of having no translations is to make the udeb smaller but, as c-s udeb is included in the initrd, that

Re: First tests with console-setup replacing kbd-config

2009-05-20 Thread Samuel Thibault
Christian Perrier, le Wed 20 May 2009 08:06:55 +0200, a écrit : In low memory mode, translations will be dropped anyway. When using templates, yes. But here translations are included directly in the .config script because we need to mangle the answers. Samuel -- To UNSUBSCRIBE, email to

Re: First tests with console-setup replacing kbd-config

2009-05-20 Thread Christian Perrier
Quoting Samuel Thibault (sthiba...@debian.org): Christian Perrier, le Wed 20 May 2009 08:06:55 +0200, a écrit : In low memory mode, translations will be dropped anyway. When using templates, yes. But here translations are included directly in the .config script because we need to mangle

Re: First tests with console-setup replacing kbd-config

2009-05-19 Thread Christian Perrier
Quoting Anton Zinoviev (an...@lml.bas.bg): # In d-i the config script is not executed automatically if [ -f /usr/share/console-setup-mini/console-setup.config ]; then . /usr/share/console-setup-mini/console-setup.config fi I commited the required change. However, it makes

Re: First tests with console-setup replacing kbd-config

2009-05-19 Thread Christian Perrier
Quoting Christian Perrier (bubu...@debian.org): However, it makes console-setup-udeb fail: /usr/share/console-setup-mini/console-setup.config: Permission denied Also, after chmod u+x, it also fails because the script starts with #!/bin/bash and there is no bash in D-I. Fixing this

Re: First tests with console-setup replacing kbd-config

2009-05-19 Thread Christian Perrier
Quoting Christian Perrier (bubu...@debian.org): I leave this to Anton, though, as it requires a better knowledge of c-s than the one I have. Fixed..:-) Now, Anton, an upload would be great as that would help considering doing the switch to console-setup. About this, I digged a little in

Re: First tests with console-setup replacing kbd-config

2009-05-19 Thread Anton Zinoviev
On Tue, May 19, 2009 at 06:50:24PM +0200, Christian Perrier wrote: Fixing this might require to add a chmod a+x after the dh_install command in debian/rules. Thanks to you and Samuel Thibauld for discovering the problems and finding proper fixes. I commited them. However, as this file is

First tests with console-setup replacing kbd-config

2009-05-18 Thread Christian Perrier
I've finally been able to test D-I with consoel-setup replacing kbd-config. That was a crude test: - build c-s - put udebs in installer/build/localudebs - installer/build/pkg-lists/netboot/i386.cfg: - comment kbd-config - add console-setup-udeb, console-setup-pc-ekmap,

Re: First tests with console-setup replacing kbd-config

2009-05-18 Thread Anton Zinoviev
On Mon, May 18, 2009 at 12:00:20PM +0200, Christian Perrier wrote: - add console-setup-udeb, console-setup-pc-ekmap, console-setup-fonts-udeb I think the last of these packages is unnecessary because d-i doesn't work directly on the linux console. This udeb exists to allow localized

Re: First tests with console-setup replacing kbd-config

2009-05-18 Thread Christian Perrier
Quoting Anton Zinoviev (an...@lml.bas.bg): Then, I was prompted for many keyboard/font related things, in French. In expert mode (i.e. low debconf priority) it is normal for console-setup to ask many such questions. Yes, I expected that. In standard mode, only one question was asked

Re: First tests with console-setup replacing kbd-config

2009-05-18 Thread Anton Zinoviev
On Mon, May 18, 2009 at 06:54:50PM +0200, Christian Perrier wrote: 3. Is UTF-8 the value of CHARMAP in /etc/default/console-setup? There is no such file..:) :) Ok, this must be caused by your bug #439633. There is no need for the dot in the following lines of postinst: # In d-i the

Re: First tests with console-setup replacing kbd-config

2009-05-18 Thread Samuel Thibault
Hello, Anton Zinoviev, le Mon 18 May 2009 22:53:02 +0300, a écrit : On Mon, May 18, 2009 at 06:54:50PM +0200, Christian Perrier wrote: 3. Is UTF-8 the value of CHARMAP in /etc/default/console-setup? There is no such file..:) :) Ok, this must be caused by your bug #439633. There is