From eb3fad4bae30ff0c7912d94ffd3c7704cb0bdfe6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 13 Jun 2021 00:05:56 +0200 Subject: [PATCH] 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. --- .../gluon-core/luasrc/lib/gluon/check-site.lua | 0 package/gluon.mk | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/check_site.lua => package/gluon-core/luasrc/lib/gluon/check-site.lua (100%) diff --git a/scripts/check_site.lua b/package/gluon-core/luasrc/lib/gluon/check-site.lua similarity index 100% rename from scripts/check_site.lua rename to package/gluon-core/luasrc/lib/gluon/check-site.lua diff --git a/package/gluon.mk b/package/gluon.mk index 5a794476..199ef863 100644 --- a/package/gluon.mk +++ b/package/gluon.mk @@ -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