build-ceph-rpm.sh:  Fixes for RPM builds

Several fixes for the RPM build script including writing out the
version number in the same format as used for naming RPMS.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
Merge branch 'master' of http://github.com/ceph/autobuild-ceph
Merge branch 'master' of http://github.com/ceph/autobuild-ceph
Merge branch 'master' of http://github.com/ceph/autobuild-ceph
Merge pull request #2 from dachary/master

fabfile: add python-nose build dependency
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
build-kernel.sh: handle -dbg package too

Starting with 3.12-rc1 we get two packages... one with -dbg in it.

Signed-off-by: Sage Weil <sage@inktank.com>
build-kernel.sh: disable perf patch for now

Does not work on 3.11+.
build-kernel.sh: reverse -dbg and normal

Signed-off-by: Sage Weil <sage@inktank.com>
build-kernel.sh: ugh, use grep
fabfile: more deps for building perf

Signed-off-by: Sage Weil <sage@inktank.com>
build-ceph-deb-native: include libleveldb1 backport in precise repo

If libleveldb1 is on the build machine, include it in the genearted repo.
This isn't super elegant, but it works.

Signed-off-by: Sage Weil <sage@inktank.com>
build-ceph-deb-native: include libcurl3-gnutls for precise

Signed-off-by: Sage Weil <sage@inktank.com>
rename build-kernel.sh -> build-kernel-deb.sh

This makes it runable by build-auto.sh.

Signed-off-by: Sage Weil <sage@inktank.com>
build-kernel-deb.sh: use a different kernel config for each flavor

Signed-off-by: Sage Weil <sage@inktank.com>
fabfile: make gitbuilder_kernel use build-auto.sh and sync from hostname

Signed-off-by: Sage Weil <sage@inktank.com>
fabfile: drop linus' github tree

Signed-off-by: Sage Weil <sage@inktank.com>
build-auto.sh: make deb/rpm rules specific to ceph

Signed-off-by: Sage Weil <sage@inktank.com>
build-kernel-deb: simplify flavor detection

Signed-off-by: Sage Weil <sage@inktank.com>
build-auto: fix builder selection based on hostname

the '.. | read ' spanws a subshell, which means we always hit the exit 1
at the bottom.  Avoid using a pipe with read to avoid this.

Signed-off-by: Sage Weil <sage@inktank.com>
kenrel-config: rename basic->debug, add basic from vanilla ubuntu

This is from ubuntu upstream 3.8 kernel package.

Signed-off-by: Sage Weil <sage@inktank.com>