aidecoe     14/07/21 08:00:22

  Added:                038-0006-inst_simple-doesn-t-take-H-parameter.patch
  Log:
  Bug-fix in zfcp and lvm installation scripts.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
F0134531E1DBFAB5)

Revision  Changes    Path
1.1                  
sys-kernel/dracut/files/038-0006-inst_simple-doesn-t-take-H-parameter.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/038-0006-inst_simple-doesn-t-take-H-parameter.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/038-0006-inst_simple-doesn-t-take-H-parameter.patch?rev=1.1&content-type=text/plain

Index: 038-0006-inst_simple-doesn-t-take-H-parameter.patch
===================================================================
>From 17eb419fc93a5ea3153306c59584d82253d80b59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <[email protected]>
Date: Mon, 21 Jul 2014 09:53:22 +0200
Subject: [PATCH 6/6] inst_simple doesn't take '-H' parameter

It was introduced in commit 5a5758.
---
 modules.d/90lvm/module-setup.sh  | 2 +-
 modules.d/95zfcp/module-setup.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh
index 00d4e5a..5b810b9 100755
--- a/modules.d/90lvm/module-setup.sh
+++ b/modules.d/90lvm/module-setup.sh
@@ -59,7 +59,7 @@ install() {
 
     if [[ $hostonly ]] || [[ $lvmconf = "yes" ]]; then
         if [ -f /etc/lvm/lvm.conf ]; then
-            inst_simple -H /etc/lvm/lvm.conf
+            inst_simple /etc/lvm/lvm.conf
             # FIXME: near-term hack to establish read-only locking;
             # use command-line lvm.conf editor once it is available
             sed -i -e 
's/\(^[[:space:]]*\)locking_type[[:space:]]*=[[:space:]]*[[:digit:]]/\1locking_type
 = 4/' ${initdir}/etc/lvm/lvm.conf
diff --git a/modules.d/95zfcp/module-setup.sh b/modules.d/95zfcp/module-setup.sh
index 9526caa..b96ccd2 100755
--- a/modules.d/95zfcp/module-setup.sh
+++ b/modules.d/95zfcp/module-setup.sh
@@ -31,6 +31,6 @@ install() {
     inst_rules 56-zfcp.rules
 
     if [[ $hostonly ]]; then
-        inst_simple -H /etc/zfcp.conf
+        inst_simple /etc/zfcp.conf
     fi
 }
-- 
2.0.0





Reply via email to