Building Debian Packages on Gentoo - purplehazech/puppet-infra-project GitHub Wiki
Here are some notes on how to build a Debian package from an existing ebuild. I plan on using this to install this puppet tree on a debian system.
prereqs
- sys-apps/puppet-9999
- apply patch in https://bugs.gentoo.org/show_bug.cgi?id=443460
step by step howto
It seems as if the easiest way to get a deb out of an ebuild spec is like so:
ebuild something.ebuild rpm
ebuild something.ebuild clean
alien --to-deb /usr/portage/rpm/somecat/something-${PV}.rpm
Still testing if this works, will add this as a default output to jenkins if it works out. See the prereqs for the patch needed to get this off the ground.
Also it looks like this will also add the benefit of also having created an rpm, so i should be able to cover all bases with one single build infrastructure.