]> TLD Linux GIT Repositories - packages/lvm2.git/commitdiff
- drop tool checks, build environment is too restricted to allow that
authorMarcin Krol <hawk@tld-linux.org>
Thu, 20 Jun 2013 10:00:16 +0000 (10:00 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 20 Jun 2013 10:00:16 +0000 (10:00 +0000)
lvm2.spec

index f3d5cdd8499cf05f8960719982a617bb760673fc..30fccefa0c97ae42394e0cad0c91ff4d324b79a6 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -310,16 +310,6 @@ cp -f /usr/share/automake/config.sub autoconf
 mv -f tools/lvm.static initrd-lvm
 mv -f tools/dmsetup.static initrd-dmsetup
 
-# check if tools works
-for tool in initrd-lvm initrd-dmsetup; do
-       LVM_SYSTEM_DIR=$(pwd) ./$tool help && rc=$? || rc=$?
-       if [ $rc -gt 127 ]; then
-               echo >&2 "Unexpected failure (exit status: $rc) from $tool. Does this tool work?!"
-               exit 1
-       fi
-done
-
-
 %{?with_dietlibc:mv -f libdm/ioctl/libdevmapper.a diet-libdevmapper.a}
 %{__make} clean