UBUNTU: [Packaging] checks/final-checks: Honor 'do_skip_checks'
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> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
2a272fbe40
commit
6cee3921f9
Vendored
+1
-1
@@ -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:
|
||||
|
||||
Vendored
+9
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user