dracut/0019-iscsiroot.sh-do-not-source-etc-conf.d.patch
Harald Hoyer 12f6cc01aa dracut-022-63.git20120727
- fixed dracut-install bug if /var/tmp contains a symlink
- fixed some partx issues
2012-07-27 06:28:40 +02:00

24 lines
685 B
Diff

From 35022f987cfe680897ab2e83d1897a37c9ff67e0 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Wed, 25 Jul 2012 14:52:25 +0200
Subject: [PATCH] iscsiroot.sh: do not source /etc/conf.d
this should have been done already.
---
modules.d/95iscsi/iscsiroot.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
index 87b7fa7..92414ee 100755
--- a/modules.d/95iscsi/iscsiroot.sh
+++ b/modules.d/95iscsi/iscsiroot.sh
@@ -27,8 +27,6 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin
netif="$1"
iroot="$2"
-source_all /etc/conf.d
-
# If it's not iscsi we don't continue
[ "${iroot%%:*}" = "iscsi" ] || exit 1