]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: Populate volatile from existing file
authorDavid Vincent <freesilicon@gmail.com>
Fri, 2 Jun 2017 15:16:03 +0000 (17:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jun 2017 16:59:40 +0000 (17:59 +0100)
commitd44816bedadeef420226dc5efb67065cfcda6634
tree13963d54899d7e9a9c9ba6b50098cbe74a7d4e5e
parent36e6abf387848d8c4383b4d506340811dd371c86
initscripts: Populate volatile from existing file

In some cases, it may be useful to populate a volatile file from an
existing one, e.g. a file in a read-only rootfs that may be edited in a
read-write destination.

To provide this behavior, creation of volatile files has been updated to
copy a file which has been given in the <linksource> field. If set to
none, the current behavior is preserved.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh