FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 07-14-2011, 09:02 AM
Martin Gracik
 
Default Add lvm symlinks to rescue image

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2011, 02:42 PM
Chris Lumens
 
Default Add lvm symlinks to rescue image

> 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

A very concise fix for the problem. Thanks. ACK.

- Chris

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

Thread Tools




All times are GMT. The time now is 01:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org