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

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



On 08/19/2011 06:35 AM, Martin Gracik wrote:
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


Ack.

--
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


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