diff options
author | Harald Hoyer <harald@redhat.com> | 2013-09-04 13:43:12 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-09-04 13:43:12 +0200 |
commit | fe48c9c4e590d7ab905da3307e021b9c48545a9a (patch) | |
tree | 29503658db53c8f22eba77857925b7d33936cf2f /0001-network-do-not-depend-on-ifcfg.patch | |
parent | b6aad2a9c88b5822b30c1686ce66dd31e2fb1a80 (diff) | |
download | dracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.tar.gz dracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.tar.xz dracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.zip |
dracut-032-23.git20130904
- fixed curl error with zero size kickstart file
Resolves: rhbz#989133
- fixed systemd-cat failure, when systemd is installed
but not actually running
Resolves: rhbz#1002021
- do not fail on empty dracut module directories
Resolves: rhbz#1003153
Diffstat (limited to '0001-network-do-not-depend-on-ifcfg.patch')
-rw-r--r-- | 0001-network-do-not-depend-on-ifcfg.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/0001-network-do-not-depend-on-ifcfg.patch b/0001-network-do-not-depend-on-ifcfg.patch new file mode 100644 index 0000000..d8de123 --- /dev/null +++ b/0001-network-do-not-depend-on-ifcfg.patch @@ -0,0 +1,35 @@ +From f34e1d6b0ecf907066b6083e70d5eac84c2ba2f5 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Tue, 20 Aug 2013 15:09:33 +0200 +Subject: [PATCH] network: do not depend on ifcfg + +rather let ifcfg return 0 if /etc/sysconfig/network-scripts exists +--- + modules.d/40network/module-setup.sh | 1 - + modules.d/45ifcfg/module-setup.sh | 1 + + 2 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh +index a5f635d..464e0cb 100755 +--- a/modules.d/40network/module-setup.sh ++++ b/modules.d/40network/module-setup.sh +@@ -16,7 +16,6 @@ check() { + } + + depends() { +- [ -d /etc/sysconfig/network-scripts/ ] && echo ifcfg + return 0 + } + +diff --git a/modules.d/45ifcfg/module-setup.sh b/modules.d/45ifcfg/module-setup.sh +index 3cd0c48..ce53e5e 100755 +--- a/modules.d/45ifcfg/module-setup.sh ++++ b/modules.d/45ifcfg/module-setup.sh +@@ -3,6 +3,7 @@ + # ex: ts=8 sw=4 sts=4 et filetype=sh + + check() { ++ [[ -d /etc/sysconfig/network-scripts ]] && return 0 + return 255 + } + |