/cfg: config option for persistent storage of sysrepo's data
Change-Id: Ie29c1488f32b1739d2e6a197041de1883f848fe0
diff --git a/package/czechlight-cfg-fs/Config.in b/package/czechlight-cfg-fs/Config.in
index d44d14a..3974d6c 100644
--- a/package/czechlight-cfg-fs/Config.in
+++ b/package/czechlight-cfg-fs/Config.in
@@ -17,4 +17,14 @@
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
+
endif # BR2_PACKAGE_CZECHLIGHT_CFG_FS