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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux