mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01:00
The systemd-unit parameter DefaultDependencies changed from true/false to yes/no. This changed in systemd in v242. (From OE-Core rev: 371a8e2b0b0a3a2febe1d8d6ce65f258a15f6b1f) Signed-off-by: Portia Stephens <stephensportia@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
467 B
SYSTEMD
20 lines
467 B
SYSTEMD
[Unit]
|
|
Description=Bind mount volatile @where@
|
|
DefaultDependencies=no
|
|
Before=local-fs.target
|
|
RequiresMountsFor=@whatparent@ @whereparent@
|
|
ConditionPathIsReadWrite=@whatparent@
|
|
ConditionPathExists=@where@
|
|
ConditionPathIsReadWrite=!@where@
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=Yes
|
|
TimeoutSec=0
|
|
Environment=MOUNT_COPYBIND_AVOID_OVERLAYFS=@avoid_overlayfs@
|
|
ExecStart=/sbin/mount-copybind @what@ @where@
|
|
ExecStop=/bin/umount @where@
|
|
|
|
[Install]
|
|
WantedBy=local-fs.target
|