Versions 2.2 and 2.3 require to update to 2.4 first (to fix Active Setup issue which works for minor updates only), before updating to 2.5 (requires major update). The 2.5 and beyond updates will have to be visible to 2.4 version only. Therefore, we switch the Updater in 2.4 to a new catalog file. While the 2.4 update itself needs to be published to the existing catalog file to instruct pre-2.4 versions to update to 2.4. In other words: - include\UpdaterCfg.h is about checking for future releases - Makefile publish is about upgrading the past releases This is also an excellent opportunity to phase out SHA-1. Updater will treat all hashes as SHA-256 when checking for updates in the new catalog - the future releases. While we keep hashing and signing the old catalog file using SHA-1 - for past releases. Signed-off-by: Simon Rozman <simon@rozman.si>
18 lines
335 B
C
18 lines
335 B
C
#include "version.h"
|
|
|
|
//
|
|
// Update server(s)
|
|
// Zero delimited list of update servers
|
|
//
|
|
#define UPDATER_HTTP_SERVER "prenos.amebis.si\0"
|
|
|
|
//
|
|
// Update server port
|
|
//
|
|
#define UPDATER_HTTP_PORT 80
|
|
|
|
//
|
|
// Update server catalog location
|
|
//
|
|
#define UPDATER_HTTP_PATH "/ZRCola/catalog-0001.xml"
|