diff --git a/debian/rules.d/4-checks.mk b/debian/rules.d/4-checks.mk index 68ac5471c6e4..fc263f32e0ce 100644 --- a/debian/rules.d/4-checks.mk +++ b/debian/rules.d/4-checks.mk @@ -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 - diff --git a/debian/scripts/abi-check b/debian/scripts/checks/abi-check similarity index 100% rename from debian/scripts/abi-check rename to debian/scripts/checks/abi-check diff --git a/debian/scripts/config-check b/debian/scripts/checks/config-check similarity index 100% rename from debian/scripts/config-check rename to debian/scripts/checks/config-check diff --git a/debian/scripts/module-check b/debian/scripts/checks/module-check similarity index 100% rename from debian/scripts/module-check rename to debian/scripts/checks/module-check diff --git a/debian/scripts/module-signature-check b/debian/scripts/checks/module-signature-check similarity index 97% rename from debian/scripts/module-signature-check rename to debian/scripts/checks/module-signature-check index 80796b63e1be..67736c289820 100755 --- a/debian/scripts/module-signature-check +++ b/debian/scripts/checks/module-signature-check @@ -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 diff --git a/debian/scripts/retpoline-check b/debian/scripts/checks/retpoline-check similarity index 100% rename from debian/scripts/retpoline-check rename to debian/scripts/checks/retpoline-check