[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch] Make sure we don't remove the lvm symlinks (#676404)



Include both /sbin and /usr/sbin paths in KEEPFILES, to make
sure they don't get removed before or after the /sbin move.
---
 scripts/upd-instroot |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 893090e..a318374 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -941,6 +941,7 @@ EOF
 
 # add all lvm symlinks to keepfile
 for cmd in `rpm -ql lvm2 | grep /sbin/`; do
+    echo ${cmd:1};
     echo "usr"$cmd;
 done >> $KEEPFILERESCUE
 
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]