Updating link to change in openSUSE:Factory/xen revision 99.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=87c8ac43897718b61dbcbca0296d6c2a
This commit is contained in:
OBS User buildservice-autocommit
2010-09-27 22:07:21 +00:00
committed by Git OBS Bridge
parent 06b9899ef9
commit 163148b426
186 changed files with 2359 additions and 5185 deletions

View File

@@ -98,9 +98,9 @@ function activate_lvm ()
{
# First scan for PVs and VGs; we may then have to activate the VG
# first, but can ignore errors:
/sbin/pvscan || :
/sbin/vgscan --mknodes || :
/sbin/vgchange -ay ${1%/*} || :
# /sbin/pvscan || :
# /sbin/vgscan --mknodes || :
# /sbin/vgchange -ay ${1%/*} || :
/sbin/lvchange -ay $1
return $?
}
@@ -110,9 +110,9 @@ function deactivate_lvm ()
/sbin/lvchange -an $1
if [ $? -eq 0 ]; then
# We may have to deactivate the VG now, but can ignore errors:
/sbin/vgchange -an ${1%/*} || :
# /sbin/vgchange -an ${1%/*} || :
# Maybe we need to cleanup the LVM cache:
/sbin/vgscan --mknodes || :
# /sbin/vgscan --mknodes || :
return 0
fi
return 1