Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

How can I compile and replace the Ceph binaries in the ISO image?

Hello and congrats for the project. It is great!

I had a quick look in the ISO image and I guess it works booting a Tiny Core Linux in order to install a rootfs based on Ubuntu with the user configuration in place. After that it installs deb packages as part of the new Ubuntu system (Ubuntu Core). Am I right?

I am not familiar with Tiny Core Linux, Ubuntu Core, etc. Could you share the process/steps to compile a new Ceph package and the way to craft it in the ISO image? I am familiar with the official Ceph building process on Ubuntu Desktop and I would appreciate to know what it needs to be done to see changes from source to binaries in the ISO image.

Thanks!

Hello there, thanks for your nice feedback !

Yes you are correct. We do however use a custom kernel based on suse enterprise storage. Also note that the Ceph version used includes a patch to support clustering of VAAI under VMWware. If you use VMWare you need to include this in your build or disable VAAI in the VMWare settings.

Ubuntu Core is just a minimal Ubuntu, you can add packages to make it a regular Ubuntu desktop, so anything you build on your desktop will run on it, it is the same thing. So you can compile Ceph on your Ubuntu desktop, unpack/pack the iso using mkisofs and replace the Ceph debs in the /packages dir with your own. This link may help:

http://bencane.com/2013/06/12/mkisofs-repackaging-a-linux-install-iso/

 

If you wish to go deeper and rebuild the installer, have a look at

http://distro.ibiblio.org/tinycorelinux/book.html

You can compile the installer ( Qt application ) on a Tiny Core development environment using:

qmake

make

and follow the book link how to package and remaster the CD.

Thank you very much. Your detailed answer helped a lot to understand how the whole thing is working!

You are welcome. 🙂