build: move check_site.lua main script into gluon-core package

Installing the script into the image allows site checks to run for
manual package installations via opkg.
This commit is contained in:
Matthias Schiffer 2021-06-13 00:05:56 +02:00
parent 3386221ef1
commit eb3fad4bae
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ shell-verbatim = $(call shell-unescape,$(call shell-escape,$(1)))
define GluonCheckSite
[ -z "$$IPKG_INSTROOT" ] || "${TOPDIR}/staging_dir/hostpkg/bin/lua" "${TOPDIR}/../scripts/check_site.lua" <<'END__GLUON__CHECK__SITE'
[ -z "$$IPKG_INSTROOT" ] || "${TOPDIR}/staging_dir/hostpkg/bin/lua" "$$IPKG_INSTROOT/lib/gluon/check-site.lua" <<'END__GLUON__CHECK__SITE'
$(call shell-verbatim,cat '$(1)')
END__GLUON__CHECK__SITE
endef