OBS User unknown 2008-03-26 15:16:40 +00:00 committed by Git OBS Bridge
parent e20540a982
commit d1782f02bd
3 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 21 18:47:50 CET 2008 - sndirsch@suse.de
- kbd.init: MAY_TTY should be tty6 (Bug #302010)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 21 21:19:52 CET 2008 - crrodriguez@suse.de Thu Feb 21 21:19:52 CET 2008 - crrodriguez@suse.de

View File

@ -85,16 +85,19 @@ fi
# Calculate KBD_TTY array only once # Calculate KBD_TTY array only once
# Caution: Keep in sync with earlykbd.init # Caution: Keep in sync with earlykbd.init
# #
if test -z "$KBD_TTY"; then
# >=tty7 left out intentionaly # >=tty7 left out intentionaly (Bug #302010)
KBD_TTY="tty1 tty2 tty3 tty4 tty5 tty6" KBD_TTY_DEFAULT="tty1 tty2 tty3 tty4 tty5 tty6"
fi
newkbd="" newkbd=""
for tty in $KBD_TTY; do for tty in $KBD_TTY_DEFAULT; do
test -w /dev/$tty || continue test -w /dev/$tty || continue
test -c /dev/$tty || continue test -c /dev/$tty || continue
> /dev/$tty &> /dev/null || continue > /dev/$tty &> /dev/null || continue
# consider settings in /etc/sysconfig/keyboard:KBD_TTY
if test -n "$KBD_TTY"; then
echo "$KBD_TTY" | grep -q $tty || continue
fi
newkbd="${newkbd:+$newkbd }/dev/$tty" newkbd="${newkbd:+$newkbd }/dev/$tty"
done done
KBD_TTY="$newkbd" KBD_TTY="$newkbd"

View File

@ -17,7 +17,7 @@ License: GPL v2 or later
Group: System/Console Group: System/Console
AutoReqProv: on AutoReqProv: on
Version: 1.12 Version: 1.12
Release: 163 Release: 166
Summary: Keyboard and Font Utilities Summary: Keyboard and Font Utilities
Source: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/kbd/%{name}-%{version}.tar.bz2 Source: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/kbd/%{name}-%{version}.tar.bz2
Source1: kbd_fonts.tar.bz2 Source1: kbd_fonts.tar.bz2
@ -324,6 +324,8 @@ rm -rf $RPM_BUILD_ROOT
#rm -rf $RPM_BUILD_DIR/kbd-%{version} #rm -rf $RPM_BUILD_DIR/kbd-%{version}
%changelog %changelog
* Fri Mar 21 2008 sndirsch@suse.de
- kbd.init: MAY_TTY should be tty6 (Bug #302010)
* Thu Feb 21 2008 crrodriguez@suse.de * Thu Feb 21 2008 crrodriguez@suse.de
- use find_lang macro - use find_lang macro
* Mon Dec 03 2007 jw@suse.de * Mon Dec 03 2007 jw@suse.de