jq is useful to parse json from the command line. It is however not
packaged for all supported distributions (precise has it in the backport
repository which is usually not active) and cannot be conveniently added
to debian/control because it targets all distributions and has no
conditionals.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
}
function run() {
- sudo $(which apt-get yum zypper 2>/dev/null) install ccache
+ sudo $(which apt-get yum zypper 2>/dev/null) install -y ccache jq
sudo modprobe rbd
if test -f ./install-deps.sh ; then
# development tools
RUN yum install -y ccache valgrind gdb git
# make check dependencies
-RUN yum install -y python-virtualenv gdisk kpartx hdparm
+RUN yum install -y python-virtualenv gdisk kpartx hdparm jq
# development tools
RUN apt-get install -y ccache valgrind gdb
# make check dependencies
-RUN apt-get install -y python-virtualenv gdisk kpartx hdparm
+RUN apt-get install -y python-virtualenv gdisk kpartx hdparm jq