Accepting request 253649 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/253649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=62
This commit is contained in:
Stephan Kulow
2014-10-05 18:30:43 +00:00
committed by Git OBS Bridge
4 changed files with 50 additions and 0 deletions
+9
View File
@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Oct 2 14:33:20 UTC 2014 - trenn@suse.de
- Fix install-kernel with xen for self build kernels to show up in grub2
properly (bsc#897901)
* Modify dracut-installkernel (source file)
- Fix foreign fonts in plymouth and console (bnc#897972)
* Add 0163-Install-etc-sysconfig-console-to-see-specific-fonts.patch
-------------------------------------------------------------------
Wed Sep 24 16:21:11 UTC 2014 - trenn@suse.de
+2
View File
@@ -183,6 +183,7 @@ Patch159: 0159-network-Try-to-load-xennet.patch
Patch160: 0160-nfs-Add-ip-.-and-root-nfs.-parameters-to-internal-dr.patch
Patch161: 0161-Fix-error-message-when-there-are-no-internal-kernel-.patch
Patch162: 0162-network-Request-DHCP-lease-instead-of-getting-applyi.patch
Patch163: 0163-Install-etc-sysconfig-console-to-see-specific-fonts.patch
BuildRequires: asciidoc
BuildRequires: bash
@@ -388,6 +389,7 @@ and its cryptography during startup.
%patch160 -p1
%patch161 -p1
%patch162 -p1
%patch163 -p1
%build
%configure\
@@ -0,0 +1,31 @@
From 4ef054c0510f24e8652726674461833a33643b26 Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.de>
Date: Tue, 30 Sep 2014 16:58:05 +0200
Subject: Install /etc/sysconfig/console to see specific fonts
bnc#897972
Author: Werner Fink <werner@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
modules.d/10i18n/module-setup.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
index a091f89..f7ec0d9 100755
--- a/modules.d/10i18n/module-setup.sh
+++ b/modules.d/10i18n/module-setup.sh
@@ -221,6 +221,10 @@ install() {
print_vars KEYMAP EXT_KEYMAPS UNICODE FONT FONT_MAP FONT_UNIMAP >> ${initdir}${VCONFIG_CONF}
fi
+ if dracut_module_included "systemd" && [[ -f /etc/sysconfig/console ]]; then
+ inst_simple /etc/sysconfig/console
+ fi
+
return 0
}
--
1.8.4.5
+8
View File
@@ -15,6 +15,7 @@
KERNEL_VERSION=$1
BOOTIMAGE=$2
MAPFILE=$3
CONFIGFILE=config-$KERNEL_VERSION
case "$(uname -m)" in
s390|s390x)
@@ -56,12 +57,19 @@ if [ -f $INSTALL_PATH/System.map-$KERNEL_VERSION ]; then
$INSTALL_PATH/System.map-$KERNEL_VERSION.old;
fi
if [ -f $INSTALL_PATH/$CONFIGFILE ]; then
mv $INSTALL_PATH/$CONFIGFILE \
$INSTALL_PATH/$CONFIGFILE.old;
fi
#
# Install new files
#
cp -fp $BOOTIMAGE $INSTALL_PATH/$BOOTFILE-$KERNEL_VERSION
cp -fp $MAPFILE $INSTALL_PATH/System.map-$KERNEL_VERSION
cp -fp .config $INSTALL_PATH/$CONFIGFILE
CONFIG=$(dirname $MAPFILE)/.config
CHECK_SUPPORTED=