[SATLUG] How to build source packages in Debian
K. Spoon
kell at spoonix.com
Wed Dec 6 17:20:11 CST 2006
On Wed, Dec 06, 2006 at 03:08:16PM -0600, Travis H. wrote:
> Hey all, quick question:
>
> What is the method for getting and building source packages in Debian?
>
> Especially kernel. I got it but it I don't know exactly how to build.
The kernel is a special case... check out see make-kpkg and
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
Otherwise, debs don't really have a "source package". They use a patch
to the pristine source tree that adds in a debian/ directory which
contains all the packaging info and build rules. If you're trying to
build something that already has this, you should be able to simply use
dh_builddeb
If you need to create the debian/ control directory from scratch, see
chapters 4-6 at http://www.debian.org/doc/maint-guide/
--
K. Spoon <kell at spoonix.com>
More information about the SATLUG
mailing list