ceph: build script with submodule archive support
Boost and Ceph submodules are stored as archives in SRPM.
They are unpacked in %prep stage so they can be picked up
by build process.
Ceph submodules are added as Source: dependencies with
a path prefix matching the subfolder where the corresponding
archive will be unpacked.
When adding a new submodule please follow this procedure:
1. make sure sudmodule.tar.gz is available in
DOWNLOADS_DIR="$CGCS_BASE/downloads"
2. add corresponding source line in ceph.spec prefixed by
the path in the source tree where the archive should
be unpacked:
Source29: src/path/to/submodule/submodule.tar.gz
3. add a new line to unpack the submodule:
unpack_submodule "%{SOURCE29}" "%(dirname %{SOURCEURL29})"
Story: 2003605
Task: 28856
Depends-On: Ic5a03fe903c5119e6f01bd888093360e7e663bbb
Change-Id: Ic9c4aed8dbab5d3e141cf9c1b2b1892731b14779
Co-Authored-By: Scott Little <scott.little@windriver.com>
Co-Authored-By: Tingjie Chen <tingjie.chen@intel.com>
Co-Authored-By: Daniel Badea <daniel.badea@windriver.com>
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
This commit is contained in:
committed by
Daniel Badea
parent
7d8f8d6e3f
commit
27426985a3
@@ -1,2 +0,0 @@
|
||||
02899bfda814146b021136e9d8e80eba494e1126
|
||||
v13.2.2
|
||||
Reference in New Issue
Block a user