This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.h
40 lines (27 loc) · 1.34 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef CONFIG_H
#define CONFIG_H
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 Raspberry Pi (Trading) Limited
*/
/* Repository URL */
#define OSLIST_URL "https://raw.githubusercontent.com/runcitadel/imager/qml/os_list_imagingutility_v2.json"
/* Time synchronization URL (only used on eglfs QPA platform, URL must be HTTP) */
#define TIME_URL "http://downloads.raspberrypi.org/os_list_imagingutility_v2.json?time_synchronization"
/* Hash algorithm for verifying (uncompressed image) checksum */
#define OSLIST_HASH_ALGORITHM QCryptographicHash::Sha256
/* Hide system drives from list */
#define DRIVELIST_FILTER_SYSTEM_DRIVES true
/* Update progressbar every 0.1 second */
#define PROGRESS_UPDATE_INTERVAL 100
/* Block size used for writes (currently used when using .zip images only) */
#define IMAGEWRITER_BLOCKSIZE 1*1024*1024
/* Block size used with uncompressed images */
#define IMAGEWRITER_UNCOMPRESSED_BLOCKSIZE 128*1024
/* Block size used when reading during verify stage */
#define IMAGEWRITER_VERIFY_BLOCKSIZE 128*1024
/* Enable caching */
#define IMAGEWRITER_ENABLE_CACHE_DEFAULT true
/* Do not cache if it would bring free disk space under 5 GB */
#define IMAGEWRITER_MINIMAL_SPACE_FOR_CACHING 5*1024*1024*1024ll
#endif // CONFIG_H