diff options
author | Daniel Dickinson <lede@daniel.thecshore.com> | 2016-05-18 09:07:30 -0400 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-24 13:52:53 +0200 |
commit | f954f4337b85bd8d8ad6a589bc63edf48f777ee6 (patch) | |
tree | 8158e3d8584d80f4960da16be581503c6ca07d54 /package/base-files/image-config.in | |
parent | 59e98b27c93d282edb62fad756fd1c1e587c067f (diff) | |
download | upstream-f954f4337b85bd8d8ad6a589bc63edf48f777ee6.tar.gz upstream-f954f4337b85bd8d8ad6a589bc63edf48f777ee6.tar.bz2 upstream-f954f4337b85bd8d8ad6a589bc63edf48f777ee6.zip |
base-files: Add standard os-release file
/etc/os-release is the standard distribution release information
file, therefore add it (and image configuration options for
fields not previously present in LEDE). Once it is deemed
reasonable the non-standard openwrt_release, openwrt_version,
and device_info files could be removed (that is with this patch
we consider them deprecated in favour of the standard file).
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
Diffstat (limited to 'package/base-files/image-config.in')
-rw-r--r-- | package/base-files/image-config.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in index ef1d76790a..43d3859301 100644 --- a/package/base-files/image-config.in +++ b/package/base-files/image-config.in @@ -148,10 +148,10 @@ menuconfig VERSIONOPT default n help These options allow to override the version information embedded in - the /etc/openwrt_version, /etc/openwrt_release, /etc/banner and - /etc/opkg.conf files. Usually there is no need to set these, but - they're useful for release builds or custom OpenWrt redistributions - that should carry custom version tags. + the /etc/openwrt_version, /etc/openwrt_release, /etc/banner, + /etc/opkg.conf, and /etc/os-release files. Usually there is no need + to set these, but they're useful for release builds or custom OpenWrt + redistributions that should carry custom version tags. if VERSIONOPT @@ -216,6 +216,18 @@ if VERSIONOPT This is an URL to the manufacturer's website embedded in /etc/device_info Useful for OEMs building OpenWrt based firmware + config VERSION_BUG_URL + string + prompt "Bug reporting URL" + help + This is an URL to provide users for providing bug reports + + config VERSION_SUPPORT_URL + string + prompt "Support URL" + help + This an URL to provide users seeking support + config VERSION_PRODUCT string prompt "Product name" |