This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:debian_packaging [2019/11/06 19:51] – [Build the binary packages] neyron | wiki:debian_packaging [2019/11/07 02:02] – [Verify and sign the generated packages] neyron | ||
---|---|---|---|
Line 96: | Line 96: | ||
<code bash> | <code bash> | ||
- | $ export OAR_VERSION=$(head -n1 oar/ | + | $ export OAR_VERSION=$(head -n1 oar/ |
$ export OAR_CHROOT=$(head -n1 oar/ | $ export OAR_CHROOT=$(head -n1 oar/ | ||
# oar-ftp sshd accepts env variables OAR_* | # oar-ftp sshd accepts env variables OAR_* | ||
Line 102: | Line 102: | ||
oar-ftp$ sudo sbuild-update source: | oar-ftp$ sudo sbuild-update source: | ||
oar-ftp$ cd $OAR_DIR/ | oar-ftp$ cd $OAR_DIR/ | ||
+ | # amd64 and sources packages: | ||
oar-ftp$ sbuild -As -d $OAR_CHROOT --arch amd64 --debbuildopts "-uc -us" oar_$OAR_VERSION.dsc | oar-ftp$ sbuild -As -d $OAR_CHROOT --arch amd64 --debbuildopts "-uc -us" oar_$OAR_VERSION.dsc | ||
- | # if multi-arch: sbuild -d $OAR_CHROOT --arch | + | # arm64 packages: |
+ | oar-ftp$ | ||
oar-ftp$ logout | oar-ftp$ logout | ||
</ | </ | ||
Line 118: | Line 120: | ||
<code bash> | <code bash> | ||
- | # if multi-arch: mergechanges -f oar_${OAR_VERSION}_*.changes; then replace amd64 by multi, below. | + | # for multi-arch: |
+ | $ mergechanges -f oar_${OAR_VERSION}_*.changes | ||
# update lintian | # update lintian | ||
$ sudo apt-get update && sudo apt-get install -t sid lintian | $ sudo apt-get update && sudo apt-get install -t sid lintian | ||
$ cd build-area | $ cd build-area | ||
$ lintian --pedantic -I -i oar_${OAR_VERSION}_amd64.changes | $ lintian --pedantic -I -i oar_${OAR_VERSION}_amd64.changes | ||
- | $ debsign oar_${OAR_VERSION}_amd64.changes | + | $ debsign oar_${OAR_VERSION}_multi.changes |
</ | </ | ||