diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-04-13 00:31:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-13 00:31:15 +0200 |
commit | 32a0b8c1045481cd442c82b8b5cbb330f613c7a7 (patch) | |
tree | 8da43effb221a9d5a51a55713b675b14c8969fa8 /package/base-files | |
parent | 5170393f8cae3c5acac61bd6ac6e127f9727cee4 (diff) | |
download | upstream-32a0b8c1045481cd442c82b8b5cbb330f613c7a7.tar.gz upstream-32a0b8c1045481cd442c82b8b5cbb330f613c7a7.tar.bz2 upstream-32a0b8c1045481cd442c82b8b5cbb330f613c7a7.zip |
include/version.mk: rework repository url handling
- Add %A placeholder for substituting the package architecture
- Change %U placeholder to refer to the toplevel repository URL
- Construct package feed URLs relative to the toplevel one to match new layout
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/image-config.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in index 5f84d115e5..c68f0b4a37 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.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" |