Difference between revisions of "Building binary packages"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
echo "sirac.geopsy.org" > /etc/hostname | echo "sirac.geopsy.org" > /etc/hostname | ||
− | Don't forget to remove that file at the end. You may encounter problems on next startup of you gentoo box. | + | Don't forget to remove that file at the end. You may encounter problems on next startup of you gentoo box. Check that ''hostname -f'' works properly. If not, check /etc/host of gentoo tree. |
''pbuilder'' does not run out of the box. Apparently, '''arch''' is not properly set and it must be forced with '''--debootstrapopts'''. | ''pbuilder'' does not run out of the box. Apparently, '''arch''' is not properly set and it must be forced with '''--debootstrapopts'''. |
Revision as of 01:48, 5 December 2008
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.geopsy.org" > /etc/hostname
Don't forget to remove that file at the end. You may encounter problems on next startup of you gentoo box. Check that hostname -f works properly. If not, check /etc/host of gentoo tree.
pbuilder does not run out of the box. Apparently, arch is not properly set and it must be forced with --debootstrapopts.
pbuilder create --debug --distribution hardy --debootstrapopts --arch=amd64 --mirror "ftp://ftp.proxad.net/mirrors/ftp.ubuntu.com/ubuntu" --othermirror "deb http://archive.ubuntu.com/ubuntu hardy universe multiverse" --debootstrapopts --include=gpgv
Package building
https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/basic-scratch.html