[PATCH] expand-on-first-boot: Fix broken syntax

10 views
Skip to first unread message

Jan Kiszka

unread,
Aug 31, 2024, 4:52:19 AM8/31/24
to isar-users, Uladzimir Bely, Kowalsky, Clara (T CED SES-DE)
From: Jan Kiszka <jan.k...@siemens.com>

There must be only one path per ConditionPathIsReadWrite statement, or
the two of them will be interpreted as one, and the condition is never
met.

Fixes: 6e2974df ("expand-on-first-boot: Add /tmp to ConditionPathIsReadWrite")
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
.../expand-on-first-boot/files/expand-on-first-boot.service | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service b/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
index 9daae719..58f4b55b 100644
--- a/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
+++ b/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
@@ -9,7 +9,8 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-remount-fs.service
Before=local-fs-pre.target shutdown.target
-ConditionPathIsReadWrite=/etc /tmp
+ConditionPathIsReadWrite=/etc
+ConditionPathIsReadWrite=/tmp

[Service]
Type=oneshot
--
2.43.0

Uladzimir Bely

unread,
Sep 4, 2024, 4:23:58 AM9/4/24
to Jan Kiszka, isar-users, Kowalsky, Clara (T CED SES-DE)
Applied to next, thanks.

--
Best regards,
Uladzimir.



Reply all
Reply to author
Forward
0 new messages