Debian Packaging

http://www.debian.org/doc/maint-guide/index.en.html

  • Update changelog: dch -i -D hardy
  • Build package: debuild -i -us -uc -b

Debianize some source code

  • apt-get install dh-make
  • make sure Makefile has an install target
  • make sure files are installed to $(DESTDIR)/usr/bin, as DESTDIR will be used during package creation
  • make sure the current directory is <name>-<version>
  • dh_make -r -c gpl
  • delete templates in debian/

Debianize a kernel module

  • if you get the message Nothing to be done for `kdist'., then install module-assistant!

Upgrading Debian revision

export DEBEMAIL="user@domain.com" DEBFULLNAME="User Name"
dch -i
 
debian/packaging.txt · Last modified: 2009/04/17 08:59 by Christoph
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki