Creating one packages

Hi,

we do some modifications to opennebula in our own git branch.
I would like to be able to rebuild the packages (debs in specific) from that branch.
Building/Installing from source and running through e.g. fpm does not create the directory structures used in the packages, nor does it create separate packages for e.g. sunstone, onegate.
How are the official packages build? Are those scripts available?

Thank you in advance for any hint!

regards,

Joerg

The packages are created with some internal scripts that generate the deb/rpm configuration. The files generated are packaged in the tar.gz for each version. For example, for debian download http://downloads.opennebula.org/packages/opennebula-4.12.0/Debian-7/Debian-7-opennebula-4.12.0-1.tar.gz and check the files inside the sources directory.

Mauerj forum@opennebula.org writes:

Hi,

Hello,

we do some modifications to opennebula in our own git branch.
I would like to be able to rebuild the packages (debs in specific) from that branch.
Building/Installing from source and running through e.g. fpm does not create the directory structures used in the packages, nor does it create separate packages for e.g. sunstone, onegate.
How are the official packages build? Are those scripts available?

Thank you in advance for any hint!

I started to integrate a Debian packaging branch in my personal
repository[1]

I need to clean the workflow[2] and make sure it can be automated before
proposing it to OpenNebula.

Regards.

Footnotes:
[1] http://git.baby-gnu.net/gitweb/gitweb.cgi?p=opennebula.git;a=shortlog;h=refs/heads/dev-deb-packaging

[2] http://git.baby-gnu.net/gitweb/gitweb.cgi?p=opennebula.git;a=blob;f=debian/README.source;hb=refs/heads/dev-deb-packaging

Hi Javi and Daniel,

thanks for your fast reply.
I will take a look at both options.
Including packaging scripts in git has some advantages imho.
(like in https://github.com/OpenNebula/addon-context-linux/blob/master/generate.sh)

regards,
joerg