source: ProjectBuilder/projects/schroot/pbconf/devel/schroot/pbpatch/03-schroot-setup-patch.rpm

Last change on this file was 664, checked in by Bruno Cornec, 15 years ago

boostlib-patch useless and fixes for correct patches for schroot

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1diff -ru schroot-1.1.5/bin/schroot/setup/05lvm schroot-1.1.5.centos/bin/schroot/setup/05lvm
2--- schroot-1.1.5/bin/schroot/setup/05lvm 2007-07-07 23:11:19.000000000 +0200
3+++ schroot-1.1.5.centos/bin/schroot/setup/05lvm 2007-09-11 11:31:09.000000000 +0200
4@@ -31,10 +31,10 @@
5 if [ $1 = "setup-start" ]; then
6
7 if [ "$AUTH_VERBOSITY" = "verbose" ]; then
8- lvcreate $VERBOSE $CHROOT_LVM_SNAPSHOT_OPTIONS --snapshot \
9+ /usr/sbin/lvcreate $VERBOSE $CHROOT_LVM_SNAPSHOT_OPTIONS --snapshot \
10 --name "$CHROOT_LVM_SNAPSHOT_NAME" "$CHROOT_DEVICE"
11 else
12- lvcreate $VERBOSE $CHROOT_LVM_SNAPSHOT_OPTIONS --snapshot \
13+ /usr/sbin/lvcreate $VERBOSE $CHROOT_LVM_SNAPSHOT_OPTIONS --snapshot \
14 --name "$CHROOT_LVM_SNAPSHOT_NAME" "$CHROOT_DEVICE" > /dev/null
15 fi
16
17@@ -51,9 +51,9 @@
18 --pid=$PID || true
19
20 if [ "$AUTH_VERBOSITY" = "verbose" ]; then
21- lvremove $VERBOSE -f "$CHROOT_LVM_SNAPSHOT_DEVICE" || true
22+ /usr/sbin/lvremove $VERBOSE -f "$CHROOT_LVM_SNAPSHOT_DEVICE" || true
23 else
24- lvremove $VERBOSE -f "$CHROOT_LVM_SNAPSHOT_DEVICE" > /dev/null || true
25+ /usr/sbin/lvremove $VERBOSE -f "$CHROOT_LVM_SNAPSHOT_DEVICE" > /dev/null || true
26 fi
27
28 fi
Note: See TracBrowser for help on using the repository browser.