aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/openwrt_release
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-01-16 13:25:14 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-01-16 13:29:47 +0100
commitb9a408c2b49ccfa0e906bda00ef77f4002e401fd (patch)
tree3a1256a9f5a18511707e4bff01d14f51cfbce01b /package/base-files/files/etc/openwrt_release
parent5c20a4fec923c33175e737e2f956cb748ed5e1d5 (diff)
downloadupstream-b9a408c2b49ccfa0e906bda00ef77f4002e401fd.tar.gz
upstream-b9a408c2b49ccfa0e906bda00ef77f4002e401fd.tar.bz2
upstream-b9a408c2b49ccfa0e906bda00ef77f4002e401fd.zip
base-files: add ARCH_PACKAGES to openwrt_release and os-release
Knowing the package architecture at runtime can be useful, e.g. to configure opkg repository URLs. The value of ARCH_PACKAGES ("%A" in VERSION_SED) as added to openwrt_release (as DISTRIB_ARCH) and os-release (as LEDE_ARCH). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/base-files/files/etc/openwrt_release')
-rw-r--r--package/base-files/files/etc/openwrt_release1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/openwrt_release b/package/base-files/files/etc/openwrt_release
index 46ad63209f..da86208f7f 100644
--- a/package/base-files/files/etc/openwrt_release
+++ b/package/base-files/files/etc/openwrt_release
@@ -3,5 +3,6 @@ DISTRIB_RELEASE='%V'
DISTRIB_REVISION='%R'
DISTRIB_CODENAME='%n'
DISTRIB_TARGET='%S'
+DISTRIB_ARCH='%A'
DISTRIB_DESCRIPTION='%D %N %V %C'
DISTRIB_TAINTS='%t'