]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-ceph-rpm.sh: copy "*.patch" from topdir into SOURCES 15/head
authorDan Mick <dan.mick@inktank.com>
Wed, 13 Aug 2014 01:21:12 +0000 (18:21 -0700)
committerDan Mick <dan.mick@inktank.com>
Wed, 13 Aug 2014 04:29:00 +0000 (21:29 -0700)
This allows patches to be applied when building the RPMs; the addition
of the ceph patch to disable /etc/init.d/ceph from autostarting Ceph
daemons leads to the desire for a .patch file, conditionally applied
by the .spec.  See the Ceph sources.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
build-ceph-rpm.sh

index 85c8d283176d600c411c252448aaad727a7e4d08..e197552c9b5b46d1bc963ae0251c470e830a0f60 100755 (executable)
@@ -86,6 +86,7 @@ mkdir -p ${BUILDAREA}/SPECS
 mkdir -p ${BUILDAREA}/RPMS
 mkdir -p ${BUILDAREA}/BUILD
 cp -a ceph-*.tar.bz2 ${BUILDAREA}/SOURCES/.
+cp -a *.patch ${BUILDAREA}/SOURCES || true
 
 # If this is a release candidate, identified by having -rc[0-9] appended to
 # the version number, then fix up the generated rpm spec file by moving the