Skip to content
This repository has been archived by the owner on Mar 10, 2019. It is now read-only.

Building Debian Packages on Gentoo

hairmare edited this page Nov 15, 2012 · 5 revisions

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

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.

Clone this wiki locally