From 262b3e6b6d0fdd65d63aa57dc9bb68e5c2200b8f Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 12 Aug 2014 18:23:15 -0700 Subject: [PATCH] build-rpms.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_rpms.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_rpms.sh b/build_rpms.sh index cd4ed8ba..6093d62b 100755 --- a/build_rpms.sh +++ b/build_rpms.sh @@ -25,6 +25,7 @@ BUILDAREA=./rpm/$dist mkdir -p ${BUILDAREA}/{SOURCES,SRPMS,SPECS,RPMS,BUILD} cp -a ceph-*.tar.bz2 ${BUILDAREA}/SOURCES/. cp -a ceph.spec ${BUILDAREA}/SPECS/. +cp -a *.patch ${BUILDAREA}/SOURCES/. || true # Build RPMs BUILDAREA=`readlink -fn ${BUILDAREA}` ### rpm wants absolute path -- 2.39.5