From 43a57ce249201f0e3e960bdc601d12c39fdc884a Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 12 Aug 2014 18:21:12 -0700 Subject: [PATCH] build-ceph-rpm.sh: copy "*.patch" from topdir into SOURCES 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 --- build-ceph-rpm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-ceph-rpm.sh b/build-ceph-rpm.sh index 85c8d28..e197552 100755 --- a/build-ceph-rpm.sh +++ b/build-ceph-rpm.sh @@ -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 -- 2.39.5