diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2022-02-24 18:00:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-25 12:41:24 +0000 |
commit | 64528626746678e9f1789a845f3c6d894f302ea6 (patch) | |
tree | 28dbe60f18ec2108064823dc742e7ff00ed90b3c /meta/files | |
parent | 4fee926120f2c0b95483ad60b86bfd3084709072 (diff) | |
download | poky-64528626746678e9f1789a845f3c6d894f302ea6.tar.gz |
files: overlayfs-create-dirs: split ExecStart into two commands
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
(From OE-Core rev: 209204f7f9d294543fd57b90e29a95c2cde66d99)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/overlayfs-create-dirs.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
6 | 6 | ||
7 | [Service] | 7 | [Service] |
8 | Type=oneshot | 8 | Type=oneshot |
9 | ExecStart=mkdir -p {DATA_MOUNT_POINT}/workdir{LOWERDIR} && mkdir -p {DATA_MOUNT_POINT}/upper{LOWERDIR} | 9 | ExecStart=mkdir -p {DATA_MOUNT_POINT}/upper{LOWERDIR} |
10 | ExecStart=mkdir -p {DATA_MOUNT_POINT}/workdir{LOWERDIR} | ||
10 | RemainAfterExit=true | 11 | RemainAfterExit=true |
11 | StandardOutput=journal | 12 | StandardOutput=journal |
12 | 13 | ||