include/version.mk: rework repository url handling
[openwrt/openwrt.git] / package / base-files / image-config.in
index 5f84d115e53f7a02f8944e0fb19b5eba7b2157b6..c68f0b4a37d924d7a670b3989e4e5222ca72d3db 100644 (file)
@@ -170,7 +170,7 @@ if VERSIONOPT
        config VERSION_REPO
                string
                prompt "Release repository"
-               default "http://downloads.lede-project.org/snapshots/trunk/%S/packages"
+               default "http://downloads.lede-project.org/snapshots"
                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,7 @@ if VERSIONOPT
                         %d .. Distribution name or "lede", lowercase
                         %T .. Target name
                         %S .. Target/Subtarget name
+                        %A .. Package architecture
                         %t .. Build taint flags, e.g. "no-all busybox"
                         %M .. Manufacturer name or "Lede"
                         %P .. Product name or "Generic"