fi
echo "deb file:///mnt /" >>/etc/apt/sources.list
-apt-get update
-if ! apt-get --assume-yes --force-yes install python-arvados-python-client python-arvados-fuse ; then
+apt-get -qq update
+if ! apt-get -qq --assume-yes --force-yes install python-arvados-python-client python-arvados-fuse ; then
exit 1
fi
dpkg-deb -x $r .
done
+for so in $(find . -name "*.so") ; do
+ echo
+ echo "== Packages dependencies for $so =="
+ ldd $so | awk '($3 ~ /^\//){print $3}' | sort -u | xargs dpkg -S | cut -d: -f1 | sort -u
+done
+
exec /root/common-test.sh
FAIL=0
+ERRORS=""
+
for pkg in ./test-packages-*.sh ; do
+ echo
+ echo "== Running $pkg =="
+ echo
if ! $pkg --run-test ; then
FAIL=1
- echo "$pkg has install errors"
+ ERRORS="$ERRORS\n$pkg has install errors"
fi
done
+echo $ERRORS
exit $FAIL
fi
if test "$1" = --install-scl ; then
- yum install --assumeyes scl-utils
+ yum -q install --assumeyes scl-utils
curl -L -O https://www.softwarecollections.org/en/scls/rhscl/python27/epel-6-x86_64/download/rhscl-python27-epel-6-x86_64.noarch.rpm
- yum install --assumeyes rhscl-python27-epel-6-x86_64.noarch.rpm
- yum install --assumeyes python27
+ yum -q install --assumeyes rhscl-python27-epel-6-x86_64.noarch.rpm
+ yum -q install --assumeyes python27
exec scl enable python27 $0
fi
enabled=1
EOF
-yum clean all
-yum update
-if ! yum install --assumeyes python27-python-arvados-python-client python27-python-arvados-fuse ; then
+yum -q clean all
+yum -q update
+if ! yum -q install --assumeyes python27-python-arvados-python-client python27-python-arvados-fuse ; then
exit 1
fi
rpm2cpio $r | cpio -idm
done
+for so in $(find . -name "*.so") ; do
+ echo
+ echo "== Packages dependencies for $so =="
+ ldd $so | awk '($3 ~ /^\//){print $3}' | sort -u | xargs rpm -qf | sort -u
+done
+
exec /root/common-test.sh