summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-08-11 08:08:50 +0200
committerKoen Kooi <koen.kooi@linaro.org>2014-08-11 08:08:50 +0200
commit1c8d18c857bac5048118259c158fb625618067b2 (patch)
tree00b6699ecb47dbd990d6e26cdd1ab2fc4a0c76c4
parente4ab5dcfbcbf69fcc39b1393ed361e8b5044daa4 (diff)
downloaddaily-prebuilt-images-1c8d18c857bac5048118259c158fb625618067b2.tar.gz
build_images: add support for kernel_hwpack hwpack location
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rwxr-xr-xbuild_images.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build_images.py b/build_images.py
index d70c7e0..0b541f4 100755
--- a/build_images.py
+++ b/build_images.py
@@ -261,7 +261,10 @@ class SnapshotCrawler:
'''return a hash table of hwpack->urls (date, url)'''
hwpackf = {}
for hwpack in self.hwpacks:
- url = "%s/%s/hwpacks/%s" % (SNAPSHOTS_URL, self.platform_hwpack, hwpack)
+ if platform_hwpack is "kernel_hwpacks":
+ url = "%s/%s/%s" % (SNAPSHOTS_URL, self.platform_hwpack, hwpack)
+ else:
+ url = "%s/%s/hwpacks/%s" % (SNAPSHOTS_URL, self.platform_hwpack, hwpack)
hwpackf[hwpack] = crawler.latest_hwpacks(url)
return hwpackf