public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] expand-on-first-boot: Fix broken syntax
@ 2024-08-31  8:52 'Jan Kiszka' via isar-users
  2024-09-04  8:23 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-08-31  8:52 UTC (permalink / raw)
  To: isar-users, Uladzimir Bely, Kowalsky, Clara (T CED SES-DE)

From: Jan Kiszka <jan.kiszka@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.kiszka@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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/3d319203-f9ea-4193-8454-db580cfd7680%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] expand-on-first-boot: Fix broken syntax
  2024-08-31  8:52 [PATCH] expand-on-first-boot: Fix broken syntax 'Jan Kiszka' via isar-users
@ 2024-09-04  8:23 ` Uladzimir Bely
  0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-09-04  8:23 UTC (permalink / raw)
  To: Jan Kiszka, isar-users, Kowalsky, Clara (T CED SES-DE)

On Sat, 2024-08-31 at 10:52 +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@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.kiszka@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

Applied to next, thanks.

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/4d1eda63aaa9079ebe342d3767970375ca8cf109.camel%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-04  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-31  8:52 [PATCH] expand-on-first-boot: Fix broken syntax 'Jan Kiszka' via isar-users
2024-09-04  8:23 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox