mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
With systemd v246 the syslog target now generates a warning (and has been deprecated for some time). Drop the target and allow the default to take effect. (From OE-Core rev: dba15118a749b5e633f03b662c9ba00d6b0eff02) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
409 B
SYSTEMD
19 lines
409 B
SYSTEMD
[Unit]
|
|
Description=Bind mount volatile @where@
|
|
DefaultDependencies=false
|
|
Before=local-fs.target
|
|
RequiresMountsFor=@whatparent@ @whereparent@
|
|
ConditionPathIsReadWrite=@whatparent@
|
|
ConditionPathExists=@where@
|
|
ConditionPathIsReadWrite=!@where@
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=Yes
|
|
TimeoutSec=0
|
|
ExecStart=/sbin/mount-copybind @what@ @where@
|
|
ExecStop=/bin/umount @where@
|
|
|
|
[Install]
|
|
WantedBy=local-fs.target
|