summaryrefslogtreecommitdiffstats
path: root/rules/rauc.in
blob: 213a1211e460d5f107b8ffed23d91a3f6d515a27 (plain)
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
74
75
76
77
78
79
80
81
## SECTION=applications

menuconfig RAUC
	tristate
	prompt "Rauc Update Tool              "
	select OPENSSL
	select GLIB
	select GLIB_LIBMOUNT
	select HOST_GLIB
	select BUSYBOX_FEATURE_TAR_LONG_OPTIONS	if BUSYBOX_TAR
	select BUSYBOX_FEATURE_TAR_AUTODETECT 	if BUSYBOX_TAR
	select BUSYBOX_FEATURE_SEAMLESS_XZ 		if BUSYBOX_TAR
	select LIBCURL				if RAUC_NETWORK
	select JSON_GLIB			if RAUC_JSON
	select SQUASHFS_TOOLS			if RUNTIME
	select SQUASHFS_TOOLS_UNSQUASHFS	if RUNTIME
	help
	  Robust Auto-Update Controller. RAUC controls the update process on embedded linux systems.

if RAUC

config RAUC_SERVICE
	bool
	prompt "Enable service (D-Bus) support"
	depends on DBUS
	default y
	help
	  Compiles RAUC to act as a separate daemon and comand line interface
	  that communicate with each other via D-Bus interface.
	  Only deactivate this if you have a system that does not provide D-Bus!

config RAUC_NETWORK
	bool
	prompt "Enable network support"
	help
	  Enables network support that allows RAUC to directly fetch bundles
	  via http/https/ftp/sftp (using libcurl).
	  Note that network is primarily designed to be used for RAUC'S casync
	  capabilities, not for fetching full bundles.

config RAUC_JSON
	bool
	prompt "JSON support"
	help
	  Enables JSON output format for 'rauc info' and 'rauc status'.
	  Output format can be selected via '--output-format=<json/json-pretty>'

config RAUC_CONFIGURATION
	prompt "Install RAUC configuration in /etc/rauc"
	bool
	default y
	help
	  Installs a RAUC system configuration file and a keyring into /etc/rauc.
	  By default, this will install some dummy files containing some
	  example and help text.
	  The default files must be overwritten in your projectroot to match
	  your project's and platform's need.

if RAUC_CONFIGURATION

config RAUC_COMPATIBLE
	prompt "RAUC Compatible"
	string
	default "${PTXCONF_PROJECT_VENDOR}\ ${PTXCONF_PROJECT}"
	help
	  An explicit identification string that RAUC uses to assure an update
	  bundle matches with the correct root filesystem on the target.

	  Only if the compatible in the targets RAUC system.conf file and those
	  in the Bundle's manifest match exactly, an update will be performed

config RAUC_BUNDLE_VERSION
	prompt "RAUC Bundle Version"
	string
	default "${PTXDIST_BSP_AUTOVERSION}"
	help
	  Overwrite the bundle version if needed.

endif

endif