mirror of
git://git.yoctoproject.org/poky.git
synced 2025-08-22 00:42:05 +02:00

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>
16 lines
337 B
SYSTEMD
16 lines
337 B
SYSTEMD
[Unit]
|
|
Description=Overlayfs directories setup
|
|
Requires={DATA_MOUNT_UNIT}
|
|
After={DATA_MOUNT_UNIT}
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=mkdir -p {DATA_MOUNT_POINT}/upper{LOWERDIR}
|
|
ExecStart=mkdir -p {DATA_MOUNT_POINT}/workdir{LOWERDIR}
|
|
RemainAfterExit=true
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|