From 3a2d176df8973e6647bcea805612f13a801108eb Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 13 Jun 2021 00:43:02 +0200 Subject: [PATCH] build: run site checks for manual package installations --- package/gluon.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gluon.mk b/package/gluon.mk index 199ef863..a2aab619 100644 --- a/package/gluon.mk +++ b/package/gluon.mk @@ -21,7 +21,8 @@ shell-verbatim = $(call shell-unescape,$(call shell-escape,$(1))) define GluonCheckSite -[ -z "$$IPKG_INSTROOT" ] || "${TOPDIR}/staging_dir/hostpkg/bin/lua" "$$IPKG_INSTROOT/lib/gluon/check-site.lua" <<'END__GLUON__CHECK__SITE' +[ -z "$$STAGING_DIR_HOSTPKG" ] || PATH="$$STAGING_DIR_HOSTPKG/bin:$$PATH" +lua "$$IPKG_INSTROOT/lib/gluon/check-site.lua" <<'END__GLUON__CHECK__SITE' $(call shell-verbatim,cat '$(1)') END__GLUON__CHECK__SITE endef