]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
volatile-binds: add recipe
authorChen Qi <Qi.Chen@windriver.com>
Wed, 23 Jul 2014 09:40:12 +0000 (05:40 -0400)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 29 Jul 2014 03:05:23 +0000 (11:05 +0800)
commit14dcdfe47481d01d37be9761c65b21e81d335a5a
treeb2061f5befc068a2266c7d60416efcafbbf7b182
parent3f7fcbc167c13bdaa6c12a81c7851530d72f02e0
volatile-binds: add recipe

This recipe is designed to play a key role in a read-only rootfs
of systemd based systems. It generates service files from a template,
volatile-binds.service.in and the VOLATILE_BINDS variable.

By default, VOLATILE_BINDS takes the value of "/var/volatile/lib /var/lib\n",
which leads to the generation of volatile-var-lib.service file.
This file doesn't have any effect in a read-write system, as it
has "ConditionPathIsReadWrite = !/var/lib" in the [Unit] section.
In other words, this file only has effect in a read-only rootfs.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/volatile-binds/files/COPYING.MIT [new file with mode: 0644]
meta/recipes-core/volatile-binds/files/mount-copybind [new file with mode: 0755]
meta/recipes-core/volatile-binds/files/volatile-binds.service.in [new file with mode: 0644]
meta/recipes-core/volatile-binds/volatile-binds.bb [new file with mode: 0644]