diff options
Diffstat (limited to 'DEVELOP.md')
-rw-r--r-- | DEVELOP.md | 53 |
1 files changed, 37 insertions, 16 deletions
@@ -2,13 +2,15 @@ ## Create build environment - localcowbuilder-create jessie - +```shell +localcowbuilder-create jessie +``` ## Refresh build environment - localcowbuilder-update jessie - +```shell +localcowbuilder-update jessie +``` ## Build package @@ -16,45 +18,64 @@ Minimal steps involved in building a new package: Refresh copyright file: - debian/rules pre-build DEB_MAINTAINER_MODE=1; debian/rules clean DEB_MAINTAINER_MODE=1 +```shell +DEB_MAINTAINER_MODE=1 debian/rules pre-build +DEB_MAINTAINER_MODE=1 debian/rules clean +``` Resolve changelog from git commits: - gbp dch -a +```shell +gbp dch -a +``` Finalize changelog (manually merge/drop items to reflect only product): - dch -r +```shell +dch -r +``` Build in clean chroot and tag as final: - localgitcowdebuild sid --git-tag +```shell +localgitcowdebuild sid --git-tag +``` Compare built binaries against previous ones (in MC shell): - debdiff --controlfiles ALL --wl %f %D/%F | less +```shell +debdiff --controlfiles ALL --wl %f %D/%F | less +``` Check lintian warnings/errors: - lintian *.changes +```shell +lintian *.changes +``` Rebuild source-only package (to save bandwidth uploading, and for official rebuild): - localgitcowdebuild sid -S +```shell +localgitcowdebuild sid -S +``` Sign and upload: - debsign %f && dput %f - +```shell +debsign %f && dput %f +``` ## Backport package for main architecture - localcowdebuild jessie -sa - +```shell +localcowdebuild jessie -sa +``` ## Backport package for secondary architecture - localcowdebuild jessie-ia32 -b +```shell +localcowdebuild jessie-ia32 -b +``` |