Install of depends to tests:
- git.
- git-buildpackage.
- build-essential.
git-buildpackage and build-essentia are Meta-Packages that have all depends generic to build a packages
apt install git-buildpackage build-essential
- piuparts.
- pbuilder.
$ apt install piuparts pbuilder
$ pbuilder --create
Execute AMD64:
$ DIST=jessie ARCH=amd64 git-pbuilder create
and i383:
$ DIST=jessie ARCH=amd64 git-pbuilder create
---- Section in build -------
################################################
Execute:
$ git clone <url-repository>
Build without pbuilder:
$ gbp buildpackage -tc --git-tag --git-retag -uc -us --git-debian-branch="branch"
Build with pbuilder and a package amd64
$ gbp buildpackage --git-pbuilder --git-dist=jessie --git-arch=amd64 --git-upstream-tree=master -us -uc
i386 package:
$ gbp buildpackage --git-pbuilder --git-dist=jessie --git-arch=i386 --git-upstream-tree=master -us -uc
Execute:
piuparts -p -d stable <package_generated.deb> -D debian --mirror="http://ftp.debian.org/debian" --extra-repo="deb http://200.11.148.219/canaima chimanta usuarios" --extra-repo="deb http://200.11.148.219/linuxmint betsy main import upstream" --extra-repo="deb http://200.11.148.219/seguridad jessie/updates main contrib non-free" --extra-repo="deb http://multimedia.canaima.softwarelibre.gob.ve jessie main non-free" -l <path_to_log>