This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:debian_packaging [2019/11/07 02:03]
neyron [Push to oar-ftp]
wiki:debian_packaging [2020/02/26 17:50] (current)
neyron [Push to oar-ftp]
Line 100: Line 100:
 # oar-ftp sshd accepts env variables OAR_* # oar-ftp sshd accepts env variables OAR_*
 $ ssh $OAR_FTP -o SendEnv=OAR_VERSION -o SendEnv=OAR_DIR -o SendEnv=OAR_CHROOT $ ssh $OAR_FTP -o SendEnv=OAR_VERSION -o SendEnv=OAR_DIR -o SendEnv=OAR_CHROOT
 +# First update the build chroots
 oar-ftp$ sudo sbuild-update source:$OAR_CHROOT && sudo sbuild-update --upgrade source:$OAR_CHROOT oar-ftp$ sudo sbuild-update source:$OAR_CHROOT && sudo sbuild-update --upgrade source:$OAR_CHROOT
 +# Other arch? arm64:
 +oar-ftp$ sudo sbuild-update source:$OAR_CHROOT --arch arm64 && sudo sbuild-update --upgrade source:$OAR_CHROOT --arch arm64
 +# Then build:
 oar-ftp$ cd $OAR_DIR/build-area oar-ftp$ cd $OAR_DIR/build-area
 # amd64 and sources packages: # 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
-# arm64 packages:+Other arch ? arm64 binary packages:
 oar-ftp$ sbuild -A -d $OAR_CHROOT --arch arm64 --debbuildopts "-uc -us" oar_$OAR_VERSION.dsc oar-ftp$ sbuild -A -d $OAR_CHROOT --arch arm64 --debbuildopts "-uc -us" oar_$OAR_VERSION.dsc
 oar-ftp$ logout oar-ftp$ logout
Line 120: Line 124:
 <code bash> <code bash>
-# 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
 +# or for multi-arch:
 +$ mergechanges -f oar_${OAR_VERSION}_*.changes
 $ debsign oar_${OAR_VERSION}_multi.changes $ debsign oar_${OAR_VERSION}_multi.changes
 </code> </code>
Line 146: Line 151:
 <code bash> <code bash>
 +$ cd ../build-area && dput oar_${OAR_VERSION}_amd64.changes
 +# Or if multi-arch:
 $ cd ../build-area && dput oar_${OAR_VERSION}_multi.changes $ cd ../build-area && dput oar_${OAR_VERSION}_multi.changes
 </code> </code>
wiki/debian_packaging.1573088605.txt.gz ยท Last modified: 2019/11/07 02:03 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki