@@ -151,7 +151,7 @@ finalchecks: debian/control
ifeq ($(do_fips_checks),true)
$(DROOT)/scripts/misc/fips-checks
endif
- $(DROOT)/scripts/checks/final-checks "$(DEBIAN)" "$(prev_fullver)"
+ $(DROOT)/scripts/checks/final-checks "$(DEBIAN)" "$(prev_fullver)" $(do_skip_checks)
.PHONY: startnewrelease
startnewrelease:
@@ -3,6 +3,12 @@
debian="$1"
abi="$2"
+skipabi=${3:-}
+case "${skipabi,,}" in
+ 1|true|yes) skipabi=true ;;
+ *) skipabi=false ;;
+esac
+
archs=$(awk '/^Architecture:/ { $1=""; for (i=1; i<=NF; i++) { if ($i != "all") { print $i }}}' debian/control | sort -u)
fail=0
@@ -100,7 +106,9 @@ do
fi
fi
fi
- abi_check "$debian/abi" "$arch" "$flavour"
+ if [ "${skipabi}" = "false" ] ; then
+ abi_check "$debian/abi" "$arch" "$flavour"
+ fi
done
done
The final-checks script is doing some final ABI checkig that should be skipped if 'do_skip_checks' is true. Just like the other checker scripts in debian/scripts/checks. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> --- debian/rules.d/1-maintainer.mk | 2 +- debian/scripts/checks/final-checks | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-)