UBUNTU: [Packaging] Move checker scripts to debian/scripts/checks
Tidy up the scripts directory and move all checker scripts to a new subdirectory. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
f5b739c7d5
commit
78021e8a72
Vendored
+5
-6
@@ -1,26 +1,26 @@
|
||||
# Check ABI for package against last release (if not same abinum)
|
||||
abi-check-%: $(stampdir)/stamp-install-%
|
||||
@echo Debug: $@
|
||||
$(DROOT)/scripts/abi-check "$*" \
|
||||
$(DROOT)/scripts/checks/abi-check "$*" \
|
||||
"$(prev_abidir)" "$(abidir)" $(skipabi)
|
||||
|
||||
# Check the module list against the last release (always)
|
||||
module-check-%: $(stampdir)/stamp-install-%
|
||||
@echo Debug: $@
|
||||
$(DROOT)/scripts/module-check "$*" \
|
||||
$(DROOT)/scripts/checks/module-check "$*" \
|
||||
"$(prev_abidir)" "$(abidir)" $(skipmodule)
|
||||
|
||||
# Check the signature of staging modules
|
||||
module-signature-check-%: $(stampdir)/stamp-install-%
|
||||
@echo Debug: $@
|
||||
$(DROOT)/scripts/module-signature-check "$*" \
|
||||
$(DROOT)/scripts/checks/module-signature-check "$*" \
|
||||
"$(DROOT)/$(mods_pkg_name)-$*" \
|
||||
"$(DROOT)/$(mods_extra_pkg_name)-$*"
|
||||
|
||||
# Check the reptoline jmp/call functions against the last release.
|
||||
retpoline-check-%: $(stampdir)/stamp-install-%
|
||||
@echo Debug: $@
|
||||
$(SHELL) $(DROOT)/scripts/retpoline-check "$*" \
|
||||
$(DROOT)/scripts/checks/retpoline-check "$*" \
|
||||
"$(prev_abidir)" "$(abidir)" "$(skipretpoline)" "$(builddir)/build-$*"
|
||||
|
||||
checks-%: module-check-% module-signature-check-% abi-check-% retpoline-check-%
|
||||
@@ -30,11 +30,10 @@ checks-%: module-check-% module-signature-check-% abi-check-% retpoline-check-%
|
||||
config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
|
||||
@echo Debug: $@
|
||||
if [ -e $(commonconfdir)/config.common.ubuntu ]; then \
|
||||
perl -f $(DROOT)/scripts/config-check \
|
||||
perl -f $(DROOT)/scripts/checks/config-check \
|
||||
$(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" \
|
||||
"$(skipconfig)" "$(do_enforce_all)"; \
|
||||
else \
|
||||
python3 $(DROOT)/scripts/misc/annotations -f $(commonconfdir)/annotations \
|
||||
--arch $(arch) --flavour $* --check $(builddir)/build-$*/.config; \
|
||||
fi
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ mods_extra_dir="${3}"
|
||||
|
||||
echo "II: Checking signature of staging modules for ${flavor}..."
|
||||
|
||||
root=$(dirname "$(realpath -e "${0}")")/../..
|
||||
root=$(dirname "$(realpath -e "${0}")")/../../..
|
||||
. "${root}"/debian/debian.env
|
||||
|
||||
# Collect the signature-inclusion files
|
||||
Reference in New Issue
Block a user