mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
4fee926120
commit
6452862674
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user