Created
December 9, 2016 09:11
-
-
Save wido/c6b3d78f15966ab9fe4a1183d697bc0a to your computer and use it in GitHub Desktop.
Build Ceph DEB packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
apt-get install git-core | |
apt-get update && apt-get install -y git-core debhelper dpkg-dev autoconf automake autotools-dev libbz2-dev cryptsetup default-jdk gdisk javahelper junit4 libaio-dev libatomic-ops-dev libbabeltrace-ctf-dev libbabeltrace-dev libblkid-dev libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libcurl4-gnutls-dev libedit-dev libexpat1-dev libfcgi-dev libfuse-dev libgoogle-perftools-dev libkeyutils-dev libleveldb-dev libnss3-dev libsnappy-dev liblttng-ust-dev libtool libudev-dev libxml2-dev parted pkg-config python python-argparse python-nose python-virtualenv uuid-dev uuid-runtime xfslibs-dev xfsprogs xmlstarlet yasm zlib1g-dev sdparm hdparm | |
cd /tmp | |
git clone https://github.com/ceph/ceph.git | |
cd ceph | |
dpkg-buildpackage -uc -us -b -j4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!