From e03c7c50f36e5f21e944cb2667b5e73615d98780 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Fri, 19 Feb 2021 20:34:30 +1300 Subject: [PATCH] store build distro with package --- packages/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/common.mk b/packages/common.mk index 8305faf..9cb6bbd 100644 --- a/packages/common.mk +++ b/packages/common.mk @@ -20,6 +20,7 @@ pkg-info.jq: echo '.version="${LANG_VERSION}"' >> pkg-info.jq echo '.author="${LANG_AUTHOR}"' >> pkg-info.jq echo '.dependencies={}' >> pkg-info.jq + echo '.distro="$(shell grep -oP "^ID=\K\w+" /etc/os-release )"' $(foreach dep, ${LANG_DEPS}, echo '.dependencies.$(word 1,$(subst =, ,${dep}))="$(word 2,$(subst =, ,${dep}))"' >> pkg-info.jq) %.asc: %