Building binary packages

From GeopsyWiki
Revision as of 23:28, 4 December 2008 by Marc (talk | contribs) (New page: == ''pbuilder'' setup == These comments are made on a gentoo distribution and they are based on https://help.ubuntu.com/ubuntu/packagingguide/C/gs-pbuilder.html. Before running ''pbuilde...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

pbuilder setup

These comments are made on a gentoo distribution and they are based on https://help.ubuntu.com/ubuntu/packagingguide/C/gs-pbuilder.html.

Before running pbuilder, you must fix /etc/hostname temporarily (difference between gentoo and debian environments).

 echo "sirac" > /etc/hostname

Don't forget to remove that file at the end. You may encounter problems on next startup of you gentoo box.

pbuilder does not run out of the box. Apparently, arch is not properly set and it must be forced with --debootstrapopts.

 pbuilder create --distribution hardy --debootstrapopts --arch=amd64 --mirror "http://archive.ubuntu.com/ubuntu hardy main"

Package building

https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/basic-scratch.html