Skip to content

Instantly share code, notes, and snippets.

@wido
Last active January 22, 2019 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wido/921106ee29e66684bccf82e753b84814 to your computer and use it in GitHub Desktop.
Save wido/921106ee29e66684bccf82e753b84814 to your computer and use it in GitHub Desktop.
Build Ceph DEB packages
#!/bin/bash
#
# Build DEB packages for Ubuntu 16.04 tested with Ceph Mimic
#
apt install -y dpkg-dev debhelper
apt install -y bc btrfs-tools cmake cpio cryptsetup cython cython3 default-jdk dh-exec dh-python dh-systemd gdisk git gperf javahelper jq junit4 libaio-dev libbabeltrace-ctf-dev libbabeltrace-dev libblkid-dev libcurl4-openssl-dev libexpat1-dev libfuse-dev libgoogle-perftools-dev libibverbs-dev libkeyutils-dev libldap2-dev libleveldb-dev liblttng-ust-dev libnss3-dev libsnappy-dev libssl-dev libtool libudev-dev libxml2-dev lsb-release parted pkg-config python python-all-dev python-coverage python-cherrypy3 python-nose python-pecan python-prettytable python-setuptools python-six python-sphinx python-werkzeug python3-all-dev python3-setuptools socat uuid-runtime valgrind python-virtualenv xfslibs-dev xfsprogs xmlstarlet yasm zlib1g-dev libcunit1-dev liblz4-dev liboath-dev python-bcrypt python-tox
cd /src/ceph
dpkg-buildpackage -j8 -us -us -b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment