From 291d8d11765565724364f5cc910678971f33cc27 Mon Sep 17 00:00:00 2001
From: Pavel Zhukov <pavel.zhukov@huawei.com>
Date: Mon, 31 Jan 2022 22:58:21 +0100
Subject: [PATCH] writables.class: Use /run instead of /var/run

/var/run is a symlink to /run nowadays.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
---
 meta-oniro-core/classes/writables.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oniro-core/classes/writables.bbclass b/meta-oniro-core/classes/writables.bbclass
index 585abb71..e8eeb570 100644
--- a/meta-oniro-core/classes/writables.bbclass
+++ b/meta-oniro-core/classes/writables.bbclass
@@ -34,7 +34,7 @@ inherit systemd
 # mountpoint handled with systemd mount unit. In this way the state/writable
 # systemd mount units this class generates, will have the correct dependency on
 # having the read-write partition mounted.
-SYSTEM_STATE_RUNTIME_MOUNTPOINT ??= "/var/run/mount/sysdata"
+SYSTEM_STATE_RUNTIME_MOUNTPOINT ??= "/run/mount/sysdata"
 SYSTEM_STATE_MOUNT_UNIT ??= "run-mount-sysdata.mount"
 
 # The mount units depend on having the system state partition mounted at a
-- 
GitLab