Debian Buildpackages

From Linux PARISC Wiki
Revision as of 16:10, 9 June 2015 by Deller (Talk | contribs)

Jump to: navigation, search

How to build debian packages

Another description on how to set up a buildd
debian-ports policy and description
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\ \<\> -kB51E3864 -j5
or in a chroot environment:
DEB_BUILD_OPTIONS=nocheck sbuild -s -mHelge\ Deller\ \<\> --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
How to sign packages (without debsign)
Create Debian chroot
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
In each chroot to be fixed
Remove the link in the /usr/hppa64-linux-gnu directory to /usr/include:
ls -lad /home/build*/build*/chroot-*/usr/hppa64*/include
In each chroot, /etc/hosts has to look like this (e.g. needed for mod-gnutls package)       sibaris localhost localhost.localdomain
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
wanna-build interface
How to create a palo iplboot image from official Debian install CD
alo --init-tape=lifimage -k vmlinux-3.13-1-parisc.gz -k vmlinux-3.13-1-parisc64-smp.gz -r initrd.gz --commandline='0/vmlinux initrd=0/ramdisk panic_timeout=60 panic=-1 debian-installer/allow_unauthenticated=true mirror/http/ mirror/http/directory=/debian'

PA-RISC Linux Debian Ports Support

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

For more information about debian-ports see

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
Contacts for the debian HPPA buildds
Helge Deller <>, PA-RISC Kernel maintainer, buildd maintainer
John David Anglin <>, HPPA GCC, and binutils maintainer
Dave Land <>, owner of a few of the hppa buildd servers
Personal tools