blob: 81fe19f14667623ad68fc69764d3d80a626fd3c0 [file] [log] [blame]
config BR2_PACKAGE_CZECHLIGHT_CFG_FS
bool "Prepare persistent /cfg partition and /etc overlay"
depends on BR2_INIT_SYSTEMD
help
This is required for RAUC to work properly. It creates a blank FS
image, configures systemd to mount it, and ensures that its contents
get restored to /etc at boot. The /etc is set up as a RW overlay on
top of a read-only rootfs.
if BR2_PACKAGE_CZECHLIGHT_CFG_FS
config CZECHLIGHT_CFG_FS_SIZE
string "exact size"
default "128M"
help
Size of the /cfg filesystem image. This must be big enough to
accommodate all configuration, but small enough to fit within the
corresponding partition.
if BR2_PACKAGE_SYSREPO
config CZECHLIGHT_CFG_FS_PERSIST_SYSREPO
bool "Persist sysrepo configuration into /cfg"
default Y
help
Save sysrepo's YANG files into /cfg upon changes
endif # BR2_PACKAGE_SYSREPO
if BR2_PACKAGE_NETOPEER2_KEYSTORED
config CZECHLIGHT_CFG_FS_PERSIST_KEYS
bool "Persist host keys for OpenSSH and Netopeer2"
default Y
help
Save OpenSSH's key material and netopeer2-keystored's SSH keys into /cfg
endif # BR2_PACKAGE_NETOPEER2_KEYSTORED
endif # BR2_PACKAGE_CZECHLIGHT_CFG_FS