This script should be started on VM as additional dependencies could be installed!

How to install dependencies:
  sudo ./psmdb_builder.sh --builddir=<absolute path to dir> --install_deps=1

How to get sources from github:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --psm_ver=4.0.0 --psm_release=1.1 --mongo_tools_tag=r4.0.0 --get_sources=1

How to get sources from github for jenkins needs:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --jenkins_mode=1 --get_sources=1

How to build source rpm:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_src_rpm=1

How to build source deb:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_src_deb=1

How to build rpms:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_rpm=1

How to build debs:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_deb=1

How to build binary tarball:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_tarball=1

How to build binary tarball with special targets for tests:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --build_tarball=1 --special_targets=dbtest

How to build tarball with debug:
  bash -x psmdb_builder.sh --builddir=<absolute path to dir> --branch=v4.0 --debug=1
