blob: e47d42f4b51ee29004db587d6375664a92483f99 [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át2f100fc2020-11-02 22:10:16 +010030if BR2_PACKAGE_NETOPEER2
Jan Kundrátd7e9cea2018-05-24 18:02:46 +020031
32config CZECHLIGHT_CFG_FS_PERSIST_KEYS
33 bool "Persist host keys for OpenSSH and Netopeer2"
34 default Y
35 help
Jan Kundrát2f100fc2020-11-02 22:10:16 +010036 Save OpenSSH's key material and netopeer2's SSH keys into /cfg
Jan Kundrátd7e9cea2018-05-24 18:02:46 +020037
Jan Kundrát2f100fc2020-11-02 22:10:16 +010038endif # BR2_PACKAGE_NETOPEER2
Jan Kundrátd7e9cea2018-05-24 18:02:46 +020039
Tomáš Pecka73720dd2021-02-16 20:06:02 +010040if BR2_PACKAGE_SYSTEMD
41
42config CZECHLIGHT_CFG_FS_PERSIST_NETWORK
43 bool "Persist network configuration for eth1"
44 default Y
45 help
46 Save network configuration file for eth1 into /cfg
47
48endif # BR2_PACKAGE_SYSTEMD
49
Jan Kundráte8b18112018-04-04 23:11:23 +020050endif # BR2_PACKAGE_CZECHLIGHT_CFG_FS