forked from sbabic/swupdate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathConfig.in
executable file
·73 lines (58 loc) · 1.73 KB
/
Config.in
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# SPDX-FileCopyrightText: 2016 Christian Storm <christian.storm@tngtech.com>
#
# SPDX-License-Identifier: GPL-2.0-only
menuconfig SURICATTA
bool "Suricatta"
depends on HAVE_LIBCURL
help
Suricatta is a daemon mode of SWUpdate.
Suricatta regularly polls a remote server for updates,
downloads, and installs them. Thereafter, it reboots the
system and reports the update status to the server, based
on an update state variable currently stored in bootloader’s
environment ensuring persistent storage across reboots. Some
U-Boot script logics or U-Boot’s bootcount feature may be
utilized to alter this update state variable, e.g., by
setting it to reflect failure in case booting the newly
flashed root file system has failed and a switchback had to
be performed.
if SURICATTA
menu "Features"
config SURICATTA_SSL
bool "SSL support"
default n
select CHANNEL_CURL_SSL
help
Enable SSL and checksum verification support in suricatta.
endmenu
menu "Server"
choice
prompt "Server Type"
default SURICATTA_HAWKBIT
help
Choose the server type. Currently, just hawkBit is
supported.
config SURICATTA_HAWKBIT
bool "hawkBit support"
depends on HAVE_JSON_C
select CHANNEL_CURL
select JSON
help
Support for hawkBit server.
https://projects.eclipse.org/projects/iot.hawkbit
comment "hawkBit support needs json-c"
depends on !HAVE_JSON_C
config SURICATTA_GENERAL
bool "General HTTP support"
depends on HAVE_JSON_C
select CHANNEL_CURL
select JSON
help
Support for Simple HTTP coded server
The server uses HTTP return codes to detect if an update
is available. See documentation for more details.
endchoice
endmenu
endif
comment "Suricatta daemon support needs libcurl"
depends on !HAVE_LIBCURL