base-files: add ARCH_PACKAGES to openwrt_release and os-release
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 16 Jan 2017 12:25:14 +0000 (13:25 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 16 Jan 2017 12:29:47 +0000 (13:29 +0100)
commitb9a408c2b49ccfa0e906bda00ef77f4002e401fd
tree3a1256a9f5a18511707e4bff01d14f51cfbce01b
parent5c20a4fec923c33175e737e2f956cb748ed5e1d5
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>
package/base-files/files/etc/openwrt_release
package/base-files/files/usr/lib/os-release