Re: Switching d-i to kbd for squeeze?
On Mon, Feb 09, 2009 at 09:10:36PM +, Colin Watson wrote: > On Fri, Jan 30, 2009 at 05:09:24PM +0100, Frans Pop wrote: > > On Friday 30 January 2009, Colin Watson wrote: > > > --- kbd-chooser/debian/post-base-installer (revision 57427) > > > +++ kbd-chooser/debian/post-base-installer (working copy) > > > @@ -13,7 +13,7 @@ > > > echo "console-data console-data/keymap/policy select Don't touch > > > keymap" | \ LANG=C chroot /target debconf-set-selections > > > > > > -apt-install console-tools console-data console-common || true > > > +apt-install kbd console-data console-common || true > > > > Please file a BR against debian-cd as a reminder to stop including > > console-tools on the first CD image. > > Thanks, that's a good point. Done (#514654) and committed the d-i > changes. The package list maintained by the release team for packages that should not be removed from testing needs to be updated as well. (Currently offline, so no pointers.) Cheers, -- Jérémy Bobbio.''`. lu...@debian.org: :Ⓐ : # apt-get install anarchism `. `'` `- signature.asc Description: Digital signature
Re: Switching d-i to kbd for squeeze?
On Fri, Jan 30, 2009 at 05:09:24PM +0100, Frans Pop wrote: > On Friday 30 January 2009, Colin Watson wrote: > > --- kbd-chooser/debian/post-base-installer (revision 57427) > > +++ kbd-chooser/debian/post-base-installer (working copy) > > @@ -13,7 +13,7 @@ > > echo "console-data console-data/keymap/policy select Don't touch > > keymap" | \ LANG=C chroot /target debconf-set-selections > > > > -apt-install console-tools console-data console-common || true > > +apt-install kbd console-data console-common || true > > Please file a BR against debian-cd as a reminder to stop including > console-tools on the first CD image. Thanks, that's a good point. Done (#514654) and committed the d-i changes. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Switching d-i to kbd for squeeze?
On Friday 30 January 2009, Colin Watson wrote: > --- kbd-chooser/debian/post-base-installer (revision 57427) > +++ kbd-chooser/debian/post-base-installer (working copy) > @@ -13,7 +13,7 @@ > echo "console-data console-data/keymap/policy select Don't touch > keymap" | \ LANG=C chroot /target debconf-set-selections > > -apt-install console-tools console-data console-common || true > +apt-install kbd console-data console-common || true Please file a BR against debian-cd as a reminder to stop including console-tools on the first CD image. signature.asc Description: This is a digitally signed message part.
Re: Switching d-i to kbd for squeeze?
Colin Watson writes: > On Wed, Jan 28, 2009 at 01:59:59PM -0200, Otavio Salvador wrote: >> Colin Watson writes: >> > If there's consensus, I can commit the relevant fixes. >> >> It would be great if you could send the patches to mailing list to >> people have a look on them before pushing but the concept is logical >> and has really good basis to work. > > Index: localechooser/finish-install > === > --- localechooser/finish-install (revision 57427) > +++ localechooser/finish-install (working copy) > @@ -40,28 +40,8 @@ > case "$consoletype" in > kbd) > consolefont=$(echo $RET | sed -e 's/^kbd=//') > - if apt-install console-tools; then > - ctconfig=/target/etc/console-tools/config > - acm=$(echo $consolefont | sed -e 's/.*(//' -e 's/).*//') > - [ "$acm" = utf8 ] && acm= > - # A few workarounds of console-tools limitations below > - # APP_CHARSET_MAP and console fonts are not set > - # for all consoles. These workarounds should probably > - # be removed when we switch to kbd > - # FIXME: why 1-6 for APP_CHARSET_MAP but 2-6 for SCREEN_FONT? > - if [ -n "$acm" ]; then > - echo "APP_CHARSET_MAP=$acm" >>$ctconfig > - for i in 1 2 3 4 5 6; do > - echo "APP_CHARSET_MAP_vc$i=$acm" >>$ctconfig > - done > - fi > + if apt-install kbd; then > consolefont=$(echo $consolefont | sed -e 's/(.*//') > - if [ -n "$consolefont" ]; then > - echo "SCREEN_FONT=$consolefont" >>$ctconfig > - for i in 2 3 4 5 6; do > - echo "SCREEN_FONT_vc$i=$consolefont" >>$ctconfig > - done > - fi > if echo "$consolefont" | grep -q "Terminus"; then > apt-install console-terminus || true > fi > Index: kbd-chooser/debian/post-base-installer > === > --- kbd-chooser/debian/post-base-installer(revision 57427) > +++ kbd-chooser/debian/post-base-installer(working copy) > @@ -13,7 +13,7 @@ > echo "console-data console-data/keymap/policy select Don't touch keymap" | \ > LANG=C chroot /target debconf-set-selections > > -apt-install console-tools console-data console-common || true > +apt-install kbd console-data console-common || true > > db_get debian-installer/keymap > KEYMAP=$RET Please go ahead! It's very trivial :P heh! -- O T A V I OS A L V A D O R - E-mail: ota...@debian.org UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br - "Microsoft sells you Windows ... Linux gives you the whole house." -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Switching d-i to kbd for squeeze?
On Wed, Jan 28, 2009 at 01:59:59PM -0200, Otavio Salvador wrote: > Colin Watson writes: > > If there's consensus, I can commit the relevant fixes. > > It would be great if you could send the patches to mailing list to > people have a look on them before pushing but the concept is logical > and has really good basis to work. Index: localechooser/finish-install === --- localechooser/finish-install(revision 57427) +++ localechooser/finish-install(working copy) @@ -40,28 +40,8 @@ case "$consoletype" in kbd) consolefont=$(echo $RET | sed -e 's/^kbd=//') - if apt-install console-tools; then - ctconfig=/target/etc/console-tools/config - acm=$(echo $consolefont | sed -e 's/.*(//' -e 's/).*//') - [ "$acm" = utf8 ] && acm= - # A few workarounds of console-tools limitations below - # APP_CHARSET_MAP and console fonts are not set - # for all consoles. These workarounds should probably - # be removed when we switch to kbd - # FIXME: why 1-6 for APP_CHARSET_MAP but 2-6 for SCREEN_FONT? - if [ -n "$acm" ]; then - echo "APP_CHARSET_MAP=$acm" >>$ctconfig - for i in 1 2 3 4 5 6; do - echo "APP_CHARSET_MAP_vc$i=$acm" >>$ctconfig - done - fi + if apt-install kbd; then consolefont=$(echo $consolefont | sed -e 's/(.*//') - if [ -n "$consolefont" ]; then - echo "SCREEN_FONT=$consolefont" >>$ctconfig - for i in 2 3 4 5 6; do - echo "SCREEN_FONT_vc$i=$consolefont" >>$ctconfig - done - fi if echo "$consolefont" | grep -q "Terminus"; then apt-install console-terminus || true fi Index: kbd-chooser/debian/post-base-installer === --- kbd-chooser/debian/post-base-installer (revision 57427) +++ kbd-chooser/debian/post-base-installer (working copy) @@ -13,7 +13,7 @@ echo "console-data console-data/keymap/policy select Don't touch keymap" | \ LANG=C chroot /target debconf-set-selections -apt-install console-tools console-data console-common || true +apt-install kbd console-data console-common || true db_get debian-installer/keymap KEYMAP=$RET -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [Pkg-kbd-devel] Switching d-i to kbd for squeeze?
Quoting Alastair McKinstry (alast...@sceal.ie): >> No objections from me as a kbd maintainer. >> > > Strong agreement from me as console-tools maintainer. VERY strong agreement from me as bad maintainer of some console stuff..:-) signature.asc Description: Digital signature
Re: Switching d-i to kbd for squeeze?
Colin Watson writes: > If there's consensus, I can commit the relevant fixes. It would be great if you could send the patches to mailing list to people have a look on them before pushing but the concept is logical and has really good basis to work. Please go ahead :-) -- O T A V I OS A L V A D O R - E-mail: ota...@debian.org UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br - "Microsoft sells you Windows ... Linux gives you the whole house." -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [Pkg-kbd-devel] Switching d-i to kbd for squeeze?
On 28 Jan 2009, at 13:34, Michael Schutte wrote: d-iers, On Wed, Jan 28, 2009 at 11:52:42AM +, Colin Watson wrote: Can we switch from console-tools to kbd for squeeze? These days kbd is better maintained (I know they've gone back and forth in the past), and its setfont program supports a wider range of fonts than does consolechars. Doing this would let us get rid of some grottiness in localechooser's finish-install script where we make automatic modifications to a conffile (!). This is largely independent of the work on switching to console- setup, which still needs a set of underlying console utilities. If there's consensus, I can commit the relevant fixes. No objections from me as a kbd maintainer. Strong agreement from me as console-tools maintainer. -- Michael Schutte ___ Pkg-kbd-devel mailing list pkg-kbd-de...@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-kbd-devel Regards, Alastair -- Alastair McKinstry , http://blog.sceal.ie Anyone who believes exponential growth can go on forever in a finite world is either a madman or an economist - Kenneth Boulter, Economist. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Switching d-i to kbd for squeeze?
d-iers, On Wed, Jan 28, 2009 at 11:52:42AM +, Colin Watson wrote: > Can we switch from console-tools to kbd for squeeze? These days kbd is > better maintained (I know they've gone back and forth in the past), and > its setfont program supports a wider range of fonts than does > consolechars. Doing this would let us get rid of some grottiness in > localechooser's finish-install script where we make automatic > modifications to a conffile (!). > > This is largely independent of the work on switching to console-setup, > which still needs a set of underlying console utilities. > > If there's consensus, I can commit the relevant fixes. No objections from me as a kbd maintainer. -- Michael Schutte signature.asc Description: Digital signature
Switching d-i to kbd for squeeze?
Can we switch from console-tools to kbd for squeeze? These days kbd is better maintained (I know they've gone back and forth in the past), and its setfont program supports a wider range of fonts than does consolechars. Doing this would let us get rid of some grottiness in localechooser's finish-install script where we make automatic modifications to a conffile (!). This is largely independent of the work on switching to console-setup, which still needs a set of underlying console utilities. If there's consensus, I can commit the relevant fixes. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org