Build Ceph Packages/Container Images from forked repository.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Team,

 

I am trying to build Ceph from source code from my forked repository.  Explored https://github.com/ceph/ceph-container to build Ceph container images. I am able to build images from pacific release.  

 

Executing  make FLAVORS=pacific,centos,8 build generated below images,

 

ceph/daemon                                       master-pacific-centos-8-x86_64   d603ac839f35   7 days ago     1.28GB

ceph/daemon-base                                  master-pacific-centos-8-x86_64   8bbd33fbf30f   7 days ago     1.21GB

 

I found that ceph/daemon-base:master-pacific-centos-8-x86_64 has http://download.ceph.com/rpm-pacific/el8/ URL configured in yum configuration for Ceph Packages.  Followed below steps to generate Ceph packages locally from my forked repository.

 

./install-deps.sh

./make-dist

tar --strip-components=1 -C /root/rpmbuild/SPECS/ --no-anchored -xvjf ceph-*tar.bz2 "ceph.spec"

mv ceph*tar.bz2 /root/rpmbuild/SOURCES/

cd /root/rpmbuild/

rpmbuild --clean --rmsource --define "_unpackaged_files_terminate_build 0" --define "debug_package %{nil}" --without cmake_verbose_logging --without jaeger --without lttng --without seastar --without kafka_endpoint --without zbd --without cephfs_java --without cephfs_shell --without ocf --without selinux --without ceph_test_package --without make_check --define "_binary_payload w2T16.xzdio" --define "_topdir `pwd`" -ba /root/rpmbuild/SPECS/ceph.spec

 

NOTE: Used options in rpmbuild to speedup RPM generation process.

 

Could you please help me with command option to use to locally generated RPM’s to build Ceph Image.

 

 

Regards,

Shailesh Vaidya

 


Seagate Internal

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux