From 685860677d63b6063aea63c5ee4d58fd84c7590c Mon Sep 17 00:00:00 2001 From: Charles Short Date: Fri, 29 Oct 2021 13:17:29 -0400 Subject: [PATCH] Update sbuild configuration - Run lintian against package builds. - Update configuration so its a bit more stable. Story: 2008846 Task: 43820 Signed-off-by: Charles Short Change-Id: I35ace827124adf84dace6d8793c29f2f92f83230 --- stx/toCOPY/pkgbuilder/debbuilder.conf | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/stx/toCOPY/pkgbuilder/debbuilder.conf b/stx/toCOPY/pkgbuilder/debbuilder.conf index 3b90800e8..c267cb37e 100644 --- a/stx/toCOPY/pkgbuilder/debbuilder.conf +++ b/stx/toCOPY/pkgbuilder/debbuilder.conf @@ -2,10 +2,26 @@ $build_arch_all = undef; $build_arch_any = 1; $build_source = 1; $run_autopkgtest = 0; -$run_lintian = 0; +$run_lintian = 1; +$lintian_opts = ['--fail-on','error,warning', '--profile', 'debian', '-X', + 'debian/changelog,' . + 'documentation/manual,' . + 'fields/distribution,' . + 'fields/version,' . + 'files/hierarchy/standard,' . + 'files/init,' . + 'files/permissions,' . + 'files/scripts,' . + 'init.d,' . + 'nmu,' . + 'scripts,' . + 'systemd,' . + '' +]; +$lintian_require_success = 1; $run_piuparts = 0; -$purge_build_deps = 'never'; -$purge_build_directory = 'successful'; +$purge_build_deps = 'always'; +$purge_build_directory = 'always'; $extra_repositories = ['deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-binary bullseye main', 'deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-build bullseye main']; $log_colour = 1;