dracut/0589-Fix-displaying-text-on-emergency-consoles.patch
Daniel Molkentin d3ae36b2fe Accepting request 671820 from home:dmolkentin:branches:Base:System
- Fix displaying text on emergency consoles (boo#1124088)
  - adds 0589-Fix-displaying-text-on-emergency-consoles.patch
- Fix systemd version check, will be required for systemd v241
  - 0590-00systemd-check-if-systemd-version-is-a-number.patch

OBS-URL: https://build.opensuse.org/request/show/671820
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=363
2019-02-05 10:40:45 +00:00

27 lines
949 B
Diff

From 71ac8784994c2703ec4313821b3a314326255b65 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Mon, 4 Feb 2019 14:43:04 +0100
Subject: [PATCH] Fix displaying text on emergency consoles
Reference: boo#1124088
---
modules.d/98dracut-systemd/dracut-emergency.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/98dracut-systemd/dracut-emergency.sh b/modules.d/98dracut-systemd/dracut-emergency.sh
index 1a11220b..b9156d2f 100755
--- a/modules.d/98dracut-systemd/dracut-emergency.sh
+++ b/modules.d/98dracut-systemd/dracut-emergency.sh
@@ -31,7 +31,7 @@ if getargbool 1 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then
echo
[ -f "$FSTXT" ] && cat "$FSTXT"
) > /dev/$_tty
- done < /dev/consoles
+ done < /dev/console
[ -f /etc/profile ] && . /etc/profile
[ -z "$PS1" ] && export PS1="$_name:\${PWD}# "
exec sulogin -e
--
2.16.4