dracut/0086-i18n-parse-i18n.sh-remove-udev-rules.patch
Harald Hoyer 811c04a7e9 dracut-022-97.git20120730
- moved crypt setup to systemd units
2012-07-30 21:53:48 +02:00

23 lines
752 B
Diff

From d782ffb8224cccd87ab5e1f314f011c5bb760f34 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 30 Jul 2012 17:01:08 +0200
Subject: [PATCH] i18n/parse-i18n.sh: remove udev rules
---
modules.d/10i18n/parse-i18n.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/10i18n/parse-i18n.sh b/modules.d/10i18n/parse-i18n.sh
index 90152cf..3aa8d70 100755
--- a/modules.d/10i18n/parse-i18n.sh
+++ b/modules.d/10i18n/parse-i18n.sh
@@ -36,6 +36,7 @@ if [ -f /etc/locale.conf ]; then
fi
if [ -n "$DRACUT_SYSTEMD" ]; then
- rm -f /{etc,lib}/udev/rules.d/10-console.rules
+ rm -f /etc/udev/rules.d/10-console.rules
+ rm -f /lib/udev/rules.d/10-console.rules
rm -f /lib/udev/console_init
fi