volatile-binds: add recipe
authorChen Qi <Qi.Chen@windriver.com>
Wed, 23 Jul 2014 09:40:12 +0000 (05:40 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:26:14 +0000 (09:26 +0100)
commita87fae260981f074b7cc3bd9ecb0de80dd70f732
treeb4b604f3e1304848f134ba61874b4cd11a6fb620
parent224bb8cb4c5280a3ab3a2b1abd7df06cd55e6210
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.

(From OE-Core rev: ed7d30dc0cdb6d6c56c50ac7a3440c4ed0ee70d3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]