aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-11-02 08:21:57 +0100
committerMathias Kresin <dev@kresin.me>2018-06-27 08:40:34 +0200
commit52a9edb1bfaf51c250a33303beacba95dd1dbc05 (patch)
tree4055047f5a351367729c26959be3d5f219063c58 /package
parent75ab064d2b38e70746af1718ed7cdbafb906249e (diff)
downloadupstream-52a9edb1bfaf51c250a33303beacba95dd1dbc05.tar.gz
upstream-52a9edb1bfaf51c250a33303beacba95dd1dbc05.tar.bz2
upstream-52a9edb1bfaf51c250a33303beacba95dd1dbc05.zip
base-files: add menuconfig option for HOME_URL
Add a menuconfig option to set the HOME_URL exposed in /usr/lib/os-release independent from the LEDE_DEVICE_MANUFACTURER_URL. Fixes: FS#1123 Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/usr/lib/os-release2
-rw-r--r--package/base-files/image-config.in6
2 files changed, 7 insertions, 1 deletions
diff --git a/package/base-files/files/usr/lib/os-release b/package/base-files/files/usr/lib/os-release
index 82ade59406..121041256a 100644
--- a/package/base-files/files/usr/lib/os-release
+++ b/package/base-files/files/usr/lib/os-release
@@ -4,7 +4,7 @@ ID="%d"
ID_LIKE="lede openwrt"
PRETTY_NAME="%D %V"
VERSION_ID="%v"
-HOME_URL="%m"
+HOME_URL="%u"
BUG_URL="%b"
SUPPORT_URL="%s"
BUILD_ID="%R"
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in
index dbbd60b152..ffa12cd3ec 100644
--- a/package/base-files/image-config.in
+++ b/package/base-files/image-config.in
@@ -202,6 +202,12 @@ if VERSIONOPT
%P .. Product name or "Generic"
%h .. Hardware revision or "v0"
+ config VERSION_HOME_URL
+ string
+ prompt "Release Homepage"
+ help
+ This is the release version homepage
+
config VERSION_MANUFACTURER
string
prompt "Manufacturer name"