]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: config-create: Add support for using a data directory
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 27 Aug 2014 18:28:33 +0000 (20:28 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 28 Aug 2014 16:17:00 +0000 (18:17 +0200)
commit657b35856e47d661719fa8fc4ec34fb68930c7eb
tree9ef1a5a18f314ddeb8e02f72b384ae2d6544085c
parent9d4689924c37abb6c79badcb4a5078ced4be6180
tools: config-create: Add support for using a data directory

Once installed, the jailhouse-config-create has to be able to use a data
directory for finding its templates. That dir will typically be
different from the one where the script is located. Prepare for this by
providing a datadir variable assignment that can be patched during
installation.

When running from the source tree, we continue to use that directory as
default template dir.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse-config-create