blob: 3974d6c6ef9763c3665450586febf99f7a5652d2 [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áte8b18112018-04-04 23:11:23 +020030endif # BR2_PACKAGE_CZECHLIGHT_CFG_FS