From: Stefan Herbrechtsmeier <[email protected]>
Split ExecStart into two commands because systemd interpret an ExecStart entry as a single executable with multiple parameters. systemd[1]: Starting Overlayfs directories setup... mkdir: cannot create directory '&&': Read-only file system mkdir: cannot create directory 'mkdir': Read-only file system Signed-off-by: Stefan Herbrechtsmeier <[email protected]> --- meta/files/overlayfs-create-dirs.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/files/overlayfs-create-dirs.service.in b/meta/files/overlayfs-create-dirs.service.in index 17204145f2..61b2b9321b 100644 --- a/meta/files/overlayfs-create-dirs.service.in +++ b/meta/files/overlayfs-create-dirs.service.in @@ -6,7 +6,8 @@ DefaultDependencies=no [Service] Type=oneshot -ExecStart=mkdir -p {DATA_MOUNT_POINT}/workdir{LOWERDIR} && mkdir -p {DATA_MOUNT_POINT}/upper{LOWERDIR} +ExecStart=mkdir -p {DATA_MOUNT_POINT}/upper{LOWERDIR} +ExecStart=mkdir -p {DATA_MOUNT_POINT}/workdir{LOWERDIR} RemainAfterExit=true StandardOutput=journal -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#162327): https://lists.openembedded.org/g/openembedded-core/message/162327 Mute This Topic: https://lists.openembedded.org/mt/89369550/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
