From 350bb890f5dfd5c52b58afba188ca3e3759412e388e2e021facaa4fea5efcc40 Mon Sep 17 00:00:00 2001 From: Anna Maresova Date: Mon, 29 Mar 2010 15:32:00 +0000 Subject: [PATCH] - add lt.std map (bnc#569554) OBS-URL: https://build.opensuse.org/package/show/Base:System/kbd?expand=0&rev=15 --- kbd.changes | 10 ++++++++++ kbd.init | 13 ++++--------- kbd.spec | 2 +- suse-add.tar.bz2 | 4 ++-- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/kbd.changes b/kbd.changes index acc9bb0..ff425b6 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Mar 29 17:31:11 CEST 2010 - anicka@suse.cz + +- add lt.std map (bnc#569554) + +------------------------------------------------------------------- +Fri Feb 19 14:39:29 CET 2010 - anicka@suse.cz + +- respect KBD_TTY="" set in sysconfig (bnc#405658) + ------------------------------------------------------------------- Tue Feb 16 11:14:18 PST 2010 - vuntz@opensuse.org diff --git a/kbd.init b/kbd.init index e762ebf..c72d652 100644 --- a/kbd.init +++ b/kbd.init @@ -80,23 +80,18 @@ fi # # Calculate KBD_TTY array only once -# Caution: Keep in sync with earlykbd.init # -# >=tty7 left out intentionaly (Bug #302010) -KBD_TTY_DEFAULT="tty1 tty2 tty3 tty4 tty5 tty6" +KBD_TTY_DEFAULT="${KBD_TTY:-tty1 tty2 tty3 tty4 tty5 tty6}" newkbd="" for tty in $KBD_TTY_DEFAULT; do + # >=tty7 left out intentionaly (Bug #302010) + test ${tty#tty} -ge 7 2>/dev/null && continue test -w /dev/$tty || continue test -c /dev/$tty || continue > /dev/$tty &> /dev/null || continue - # consider settings in /etc/sysconfig/keyboard:KBD_TTY - test -z "$KBD_TTY" && continue - case ":${KBD_TTY// /:}:" in - *:$tty:*) - newkbd="${newkbd:+$newkbd }/dev/$tty" - esac + newkbd="${newkbd:+$newkbd }/dev/$tty" done KBD_TTY="$newkbd" unset newkbd diff --git a/kbd.spec b/kbd.spec index 74c618f..fbfcbd5 100644 --- a/kbd.spec +++ b/kbd.spec @@ -24,7 +24,7 @@ License: GPLv2+ Group: System/Console AutoReqProv: on Version: 1.14.1 -Release: 23 +Release: 24 Summary: Keyboard and Font Utilities Source: kbd-%{version}.tar.bz2 Source1: kbd_fonts.tar.bz2 diff --git a/suse-add.tar.bz2 b/suse-add.tar.bz2 index 1360c10..04db640 100644 --- a/suse-add.tar.bz2 +++ b/suse-add.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a34e4267d8fb7bbf8f8e6de396ecd5c65ea565d6388b558d9e353a2c601b661 -size 40327 +oid sha256:fec4adb38cb96561e0f431bb7ea6710118553a4ac674218b2dd1035f6d7c7bf2 +size 41756