]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
volatile-binds: Allow creation of subdirectories
authorStéphane Veyret <sveyret@gmail.com>
Sun, 27 Aug 2023 16:41:23 +0000 (18:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Oct 2023 08:50:09 +0000 (08:50 +0000)
commit1ca031b77546056ca1994469b0f2e93ea2018edf
tree995e9a731cd65d8c0846d538809b29c229c1e632
parentababf6ceebe360c5f59a57428566c27b7a97a9e6
volatile-binds: Allow creation of subdirectories

The mount-copybind script will create the parent directory of the bind
mount if it does not exist. But actually, if this is the case, the
service will not even start because of the ConditionPathIsReadWrite.
This patch adds a "or" condition to allow the service to start also if
the parent directory of the bind mount does not exist.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/volatile-binds/files/volatile-binds.service.in