summaryrefslogtreecommitdiffstats
path: root/rules/rauc.in
blob: 078c75bffca59c642f557b3ce05d3b6615fcc8ab (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
## 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
	select DT_UTILS				if RUNTIME && RAUC_BAREBOX
	select U_BOOT_TOOLS			if RUNTIME && RAUC_U_BOOT
	#select GRUB2				if RUNTIME && RAUC_GRUB
	select EFIBOOTMGR			if RUNTIME && RAUC_EFI
	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

config RAUC_BAREBOX
	bool "barebox support"
	help
	  To interact with barebox, barebox-state from dt-utils is used.
	  Auto-select this package for installation on the target.

config RAUC_U_BOOT
	bool "U-Boot support"
	help
	  To interact with U-Boot, fw_printenv and fw_setenv from
	  u-boot-tools are used.
	  Auto-select this package for installation on the target.

config RAUC_GRUB
	bool "GRUB support"
	# needs grub2
	depends on BROKEN
	help
	  To interact with GRUB2, grub-editenv from grub is used.
	  Auto-select this package for installation on the target.

config RAUC_EFI
	bool "EFI support"
	help
	  To interact with EFI, efibootmgr from efibootmgr is used.
	  Auto-select this package for installation on the target.

endif