diff --git a/meta-oniro-core/recipes-core/sysota/sysota_git.bb b/meta-oniro-core/recipes-core/sysota/sysota_git.bb
index 7e66c26a2f69e79e5f9edaa9d1f1a2ab7a308b93..c71bf9cfb476336420a240f41403c0d90f141caf 100644
--- a/meta-oniro-core/recipes-core/sysota/sysota_git.bb
+++ b/meta-oniro-core/recipes-core/sysota/sysota_git.bb
@@ -112,3 +112,10 @@ FILESEXTRAPATHS_prepend_raspberrypi4-64 := "${THISDIR}/files/raspberrypi4:"
 # Make the SystemOTA package machine-specific. This lets us put the specific
 # configuration file, which encodes boot loader type, into it safely.
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# Persist SystemOTA state directory.
+inherit writables
+
+WRITABLE_TYPE[sysota] = "persistent"
+WRITABLES = "sysota"
+WRITABLE_PATH[sysota] = "/var/lib/sysota"