Debian Buildpackages

From Linux PARISC Wiki
(Difference between revisions)
Jump to: navigation, search
m (How to build debian packages)
m (How to build debian packages)
Line 15: Line 15:
 
: DEB_BUILD_OPTIONS=nocheck
 
: DEB_BUILD_OPTIONS=nocheck
 
: or in a chroot environment:
 
: or in a chroot environment:
: DEB_BUILD_OPTIONS=nocheck sbuild  -s -mHelge\ Deller\ \<deller@gmx.de\> --dist=unstable --no-arch-all --nosrc -j5
+
: DEB_BUILD_OPTIONS=nocheck sbuild  -s -mHelge\ Deller\ \<deller@gmx.de\> --dist=unstable --no-arch-all --no-source -j5
  
 
; How to build a package (*with* modified source):
 
; How to build a package (*with* modified source):

Revision as of 13:54, 7 April 2014

How to build debian packages

DebianWannaBuildInfrastructureOnOneServer
https://wiki.debian.org/DebianWannaBuildInfrastructureOnOneServer
Another description on how to set up a buildd
https://www.wzdftpd.net/redmine/projects/general/wiki/DebianBuildd
debian-ports policy and description
http://www.debian-ports.org/archive
How to build a package (without modifying source)
dpkg-buildpackage --force-sign -B -sa -m<email>
e.g.: dpkg-buildpackage --force-sign -sa -mHelge\ Deller\ \<deller@gmx.de\> -kB51E3864 -j5
DEB_BUILD_OPTIONS=nocheck
or in a chroot environment:
DEB_BUILD_OPTIONS=nocheck sbuild -s -mHelge\ Deller\ \<deller@gmx.de\> --dist=unstable --no-arch-all --no-source -j5
How to build a package (*with* modified source)
dch --distribution unstable --bin-nmu Rebuild b1
dpkg-buildpackage --force-sign -B -sa -m<email>
How to modify debian changelog
dch --distribution unstable --bin-nmu Rebuild b1
dch-git --since <commit_nr>


How to use subkeys for signing on buildds
http://blog.cihar.com/archives/2010/09/29/using-pgp-subkeys-signing/
How to sign packages (without debsign)
http://purplefloyd.wordpress.com/2009/02/05/signing-deb-packages/
Create Debian chroot
https://www.wzdftpd.net/redmine/projects/general/wiki/DebianBuildd
apt-get install debian-ports-archive-keyring
/usr/sbin/sbuild-createchroot --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring unstable build/chroot-unstable http://ftp.debian-ports.org/debian/
https://wiki.debian.org/sbuild
https://www.ca-zephyr.org/mediawiki/index.php/Some_Notes
In each chroot to be fixed
In each chroot, you need to remove the link in the /usr/hppa64-linux-gnu directory to /usr/include. If you want, you can create a /usr/hppa64-linux-gnu/include directory but nothing gets installed there.
ls -lad /home/build*/build*/chroot-*/usr/hppa64*/include


wanna-build interface
https://wiki.debian.org/M68k/Porting#binNMU_notes
http://lists.debian.org/debian-68k/2012/12/msg00124.html
http://lists.debian.org/debian-68k/2013/10/msg00021.html
http://kmuto.jp/open.cgi?buildd

PA-RISC Linux Debian Ports Support

The hppa linux port has moved to the debian-ports distribution.

For more information about debian-ports see http://www.debian-ports.org.

Debian_Ports_Installation describes instructions on how to install or upgrade a PARISC box with the "Debian Ports" unstable release.

Debian Buildservers

Since December 2013 we have debian unstable buildservers
http://unstable.buildd.net/index-hppa.html
http://buildd.debian-ports.org/status/architecture.php?a=hppa&suite=sid
Contacts for the debian HPPA buildds
Helge Deller <deller@gmx.de>, PA-RISC Kernel maintainer, buildd maintainer
John David Anglin <dave.anglin@bell.net>, HPPA GCC, and binutils maintainer
Dave Land <xmechanic@landcomp.net>, owner of a few of the hppa buildd servers
Personal tools