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>
This commit is contained in:
Mathias Kresin
2017-11-02 08:21:57 +01:00
parent 75ab064d2b
commit 52a9edb1bf
3 changed files with 12 additions and 1 deletions

View File

@@ -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"

View File

@@ -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"