topdir.mk: pkg-install-release-deps: Improve selector

Use pkg-requires --hide-self to find all prerequisites that should be
installed for a test run against packages installed from the
repositories, including self-built and self-hosted packages.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-15 16:39:28 +01:00
commit adb7fce0ab

View file

@ -220,7 +220,8 @@ pkg-install-build-deps:
pkg-install-release-deps: pkg-install-release-deps:
$(PKG_MANAGER) install $(shell $(proj_query_cmd) required-os-pkg --quote --skip-excluded "build,run,release" $(PROJECT)) $(PKG_MANAGER) install $(shell $(proj_query_cmd) required-os-pkg --quote --skip-excluded "build,run,release" $(PROJECT))
pkg-install-testbuild-deps: pkg-install-release-deps pkg-install-testbuild-deps:
$(PKG_MANAGER) install $(shell $(proj_query_cmd) pkg-requires --quote --skip-excluded --hide-self --syntax names-only --delimiter " " "build,run,devel,release" $(PROJECT))
echo-hash: echo-hash:
$(Q)/bin/bash $(PKG_SH_EXE) hash $(Q)/bin/bash $(PKG_SH_EXE) hash