From 6cd2fa895b8ac470135a04bb629d94d61c9e41e7 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 30 Jan 2020 02:03:41 +0100 Subject: [PATCH] differentiate sd card images --- www/index.html | 2 ++ www/index.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www/index.html b/www/index.html index ee28c65..046d26b 100644 --- a/www/index.html +++ b/www/index.html @@ -49,6 +49,7 @@ KERNEL ROOTFS TFTP + SDCARD
@@ -57,6 +58,7 @@ Linux kernel as a separate image. Root file system as a separate image. Image that can be applied using the tftp meachnism of the boot loader + Image that is meant to be flashed on an SD-Card.
diff --git a/www/index.js b/www/index.js index 57365ab..d9e5006 100644 --- a/www/index.js +++ b/www/index.js @@ -167,12 +167,12 @@ function $(id) { } function extractImageType(name) { - var m = /-(sysupgrade|factory|rootfs|kernel|tftp)[-.]/.exec(name); + var m = /-(sysupgrade|factory|rootfs|kernel|tftp|sdcard)[-.]/.exec(name); return m ? m[1] : 'factory'; } function updateImages(dllink, model, target, release, commit, images) { - var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp']; + var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp', 'sdcard']; function hideLinks() { types.forEach(function(type) { -- 2.30.2