diff --git a/0006-95terminfo-install-vt102.patch b/0006-95terminfo-install-vt102.patch new file mode 100644 index 0000000..3cc4adf --- /dev/null +++ b/0006-95terminfo-install-vt102.patch @@ -0,0 +1,31 @@ +From ff66b6dad345ca12de4aa14db298c8776b16d115 Mon Sep 17 00:00:00 2001 +From: WANG Chao +Date: Thu, 1 Aug 2013 18:54:55 +0800 +Subject: [PATCH] 95terminfo: install vt102 + +systemd uses vt102 as default term for tty: + +commit acda6a0 +Author: Lennart Poettering +Date: Sun Apr 22 02:45:39 2012 +0200 + + default to v102 everywhere, instead of vt100, to synchronize with agetty + +Signed-off-by: WANG Chao +--- + modules.d/95terminfo/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/95terminfo/module-setup.sh b/modules.d/95terminfo/module-setup.sh +index ecd4395..4656cd3 100755 +--- a/modules.d/95terminfo/module-setup.sh ++++ b/modules.d/95terminfo/module-setup.sh +@@ -10,7 +10,7 @@ install() { + done + + if [ -d ${_terminfodir} ]; then +- for i in "l/linux" "v/vt100" "v/vt220"; do ++ for i in "l/linux" "v/vt100" "v/vt102" "v/vt220"; do + inst_dir "$_terminfodir/${i%/*}" + cp --reflink=auto --sparse=auto -prfL -t "${initdir}/${_terminfodir}/${i%/*}" "$_terminfodir/$i" + done diff --git a/dracut.spec b/dracut.spec index e670d61..edaea2a 100644 --- a/dracut.spec +++ b/dracut.spec @@ -10,7 +10,7 @@ Name: dracut Version: 031 -Release: 6.git20130731%{?dist} +Release: 7.git20130801%{?dist} Summary: Initramfs generator using udev %if 0%{?fedora} || 0%{?rhel} @@ -34,6 +34,7 @@ Patch2: 0002-Revert-base-setup-correct-system-time-and-time-zone-.patch Patch3: 0003-Change-the-implementation-of-action_on_fail.patch Patch4: 0004-lvm-add-yes-to-lvm-lvchange.patch Patch5: 0005-cms-cmssetup.sh-correct-port-for-zfcp.conf.patch +Patch6: 0006-95terminfo-install-vt102.patch BuildRequires: bash git @@ -449,6 +450,9 @@ rm -rf -- $RPM_BUILD_ROOT %endif %changelog +* Thu Aug 01 2013 Harald Hoyer 031-7.git20130801 +- also install vt102 terminfo + * Wed Jul 31 2013 Harald Hoyer 031-6.git20130731 - cmssetup: fixed port for zfcp.conf - lvm: call lvchange with --yes to boot from snapshots