[rhel6-branch] Add lvm symlinks to rescue image

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

 



Resolves: rhbz#676404
---
 scripts/upd-instroot |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 97e89f2..7a2afb5 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -937,6 +937,11 @@ usr/bin/whiptail
 usr/bin/firstaidkit-qs
 EOF
 
+# add all lvm symlinks to keepfile
+for cmd in `rpm -ql lvm2 | grep /sbin/`; do
+    echo "usr"$cmd;
+done >> $KEEPFILERESCUE
+
 if [[ $ARCH =~ "i[356]86" || $ARCH == "x86_64" ]]; then
     cat >> $KEEPFILERESCUE <<-EOF
 sbin/grub
-- 
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