blob: 81fe19f14667623ad68fc69764d3d80a626fd3c0 [file] [log] [blame]
Jan Kundráte8b18112018-04-04 23:11:23 +02001config BR2_PACKAGE_CZECHLIGHT_CFG_FS
Jan Kundrát960274e2018-04-09 11:20:56 +02002 bool "Prepare persistent /cfg partition and /etc overlay"
3 depends on BR2_INIT_SYSTEMD
Jan Kundráte8b18112018-04-04 23:11:23 +02004 help
Jan Kundrát960274e2018-04-09 11:20:56 +02005 This is required for RAUC to work properly. It creates a blank FS
6 image, configures systemd to mount it, and ensures that its contents
7 get restored to /etc at boot. The /etc is set up as a RW overlay on
8 top of a read-only rootfs.
Jan Kundráte8b18112018-04-04 23:11:23 +02009
10if BR2_PACKAGE_CZECHLIGHT_CFG_FS
11
12config CZECHLIGHT_CFG_FS_SIZE
13 string "exact size"
14 default "128M"
15 help
16 Size of the /cfg filesystem image. This must be big enough to
17 accommodate all configuration, but small enough to fit within the
18 corresponding partition.
19
Jan Kundrátff8479a2018-04-09 12:01:19 +020020if BR2_PACKAGE_SYSREPO
21
22config CZECHLIGHT_CFG_FS_PERSIST_SYSREPO
23 bool "Persist sysrepo configuration into /cfg"
24 default Y
25 help
26 Save sysrepo's YANG files into /cfg upon changes
27
28endif # BR2_PACKAGE_SYSREPO
29
Jan Kundrátd7e9cea2018-05-24 18:02:46 +020030if BR2_PACKAGE_NETOPEER2_KEYSTORED
31
32config CZECHLIGHT_CFG_FS_PERSIST_KEYS
33 bool "Persist host keys for OpenSSH and Netopeer2"
34 default Y
35 help
36 Save OpenSSH's key material and netopeer2-keystored's SSH keys into /cfg
37
38endif # BR2_PACKAGE_NETOPEER2_KEYSTORED
39
Jan Kundráte8b18112018-04-04 23:11:23 +020040endif # BR2_PACKAGE_CZECHLIGHT_CFG_FS