User:Elukey/Ops/DebianPackaging

From Wikitech
Jump to navigation Jump to search

Useful commands

# pdebuild
DIST=buster pdebuild

# Regular git pbuilder
GIT_PBUILDER_AUTOCONF=no ARCH=amd64 DIST=buster gbp buildpackage -j4 -sa -us -uc --git-builder=git-pbuilder --git-color=on --git-ignore-branch

# If you need to allow network while building
elukey@deneb:~$ cat ~/.pbuilderrc
USENETWORK=yes

elukey@deneb:~$ https_proxy=http://webproxy.eqiad.wmnet:8080 GIT_PBUILDER_AUTOCONF=no ARCH=amd64 DIST=buster gbp buildpackage -j4 -sa -us -uc --git-builder=git-pbuilder --git-color=on --git-ignore-branch