[patch] add GNU/kFreeBSD detect-console
This patch adds GNU/kFreeBSD /lib/debian-installer/detect-console. It needs the BusyBox tty command (it builds on GNU/kFreeBSD i386 with no patches more needed). Please carefully review this, because I used it only /dev/ttyv console. Cheers, Luca Favatella Index: debian/changelog === --- debian/changelog (.../trunk/packages/rootskel) (revision 59604) +++ debian/changelog (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59604) @@ -6,6 +6,7 @@ [ Luca Favatella ] * Generalize code splitting Linux specific stuff. * GNU/kFreeBSD does not need klibc and udev. + * Add GNU/kFreeBSD /lib/debian-installer/detect-console. [ Otavio Salvador ] * Unix socket support is built-in since long ago so we don't need to Index: src/lib/debian-installer/detect-console-kfreebsd === --- src/lib/debian-installer/detect-console-kfreebsd (.../trunk/packages/rootskel) (revision 0) +++ src/lib/debian-installer/detect-console-kfreebsd (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59604) @@ -0,0 +1,15 @@ +if [ -z $TERM_TYPE ]; then + case `tty` in + /dev/console|/dev/cuaa[0-f]*) + TERM_TYPE=serial + ;; + /dev/ttyv[0-f]*) + TERM_TYPE=virtual + ;; + /dev/ttyp[0-f]*) + TERM_TYPE=pts + ;; + esac +fi + +export TERM_TYPE
Re: [patch] add GNU/kFreeBSD detect-console
Hello, On Wed, Jul 22, 2009 at 3:01 PM, Luca Favatellaslacky...@gmail.com wrote: This patch adds GNU/kFreeBSD /lib/debian-installer/detect-console. It needs the BusyBox tty command (it builds on GNU/kFreeBSD i386 with no patches more needed). Please carefully review this, because I used it only /dev/ttyv console. Fine with me. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: [patch] add GNU/kFreeBSD detect-console
On 22/07/2009, Otavio Salvador ota...@ossystems.com.br wrote: Hello, On Wed, Jul 22, 2009 at 3:01 PM, Luca Favatellaslacky...@gmail.com wrote: This patch adds GNU/kFreeBSD /lib/debian-installer/detect-console. [...] Fine with me. Committed to trunk. Thanks, Luca Favatella -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org