From 3c10624a8ee0bd49c213b878c109612d3ad4333e Mon Sep 17 00:00:00 2001 From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Thu, 8 Jan 2015 12:46:44 +0000 Subject: [PATCH] base-files: update default url template and complete kconfig help Change the kconfig default for the repository url template to use "%s" instead of "%T" as well. Also complete the kconfig help text do cover the recently introduced manufacturer, product and hwrev options. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43872 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/image-config.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in index 1f0b2c86ea..193ea08930 100644 --- a/package/base-files/image-config.in +++ b/package/base-files/image-config.in @@ -170,7 +170,7 @@ if VERSIONOPT config VERSION_REPO string prompt "Release repository" - default "http://downloads.openwrt.org/snapshots/trunk/%T/packages" + default "http://downloads.openwrt.org/snapshots/trunk/%s/packages" help This is the repository address embedded in the image, it defaults to the trunk snapshot repo; the url may contain the following placeholders: @@ -185,6 +185,11 @@ if VERSIONOPT %d .. Distribution name or "openwrt", lowercase %T .. Target name %S .. Target/Subtarget name + %s .. Target/Subtarget name in dotted notation, e.g. "ar71xx" or "ar71xx.nand" + %t .. Build taint flags, e.g. "no-all busybox" + %M .. Manufacturer name or "OpenWrt" + %P .. Product name or "Generic" + %h .. Hardware revision or "v0" config VERSION_MANUFACTURER string -- GitLab