summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorOla Redell <ola.redell@retotech.se>2017-11-10 17:01:32 +0100
committerOla Redell <ola.redell@retotech.se>2017-11-10 17:01:32 +0100
commit8332c013c923cf12723291c12d946ed1585f5943 (patch)
tree6849ed47899557dffad5f39cb6a061123a7fcdbc /classes
parent12eee50ff00ea53aa9ccd0bf8b36443949ae4cf5 (diff)
downloadmeta-jailhouse-8332c013c923cf12723291c12d946ed1585f5943.tar.gz
added jailhouse-dirs.inc and updated the jailhouse setup
with the CELL variable to automatically add DEPENDS and RDEPENDS to the referred cells from the jailhouse recipe
Diffstat (limited to 'classes')
-rw-r--r--classes/jailhouse-cell.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/jailhouse-cell.bbclass b/classes/jailhouse-cell.bbclass
index 63a4cbc..f1cd6a0 100644
--- a/classes/jailhouse-cell.bbclass
+++ b/classes/jailhouse-cell.bbclass
@@ -1,12 +1,11 @@
1require recipes-jailhouse/jailhouse/jailhouse-dirs.inc
2
1INMATE ?= "" 3INMATE ?= ""
2CELLCONFIG ?= "" 4CELLCONFIG ?= ""
3 5
4INMATE_TARGET ?= "${INMATE}" 6INMATE_TARGET ?= "${INMATE}"
5CELLCONFIG_TARGET ?= "${CELLCONFIG}" 7CELLCONFIG_TARGET ?= "${CELLCONFIG}"
6 8
7INMATES_DIR ?= "${datadir}/jailhouse/inmates"
8CELLCONF_DIR ?= "${datadir}/jailhouse/configs"
9
10do_install() { 9do_install() {
11 if [ -n "${CELLCONFIG}" ] 10 if [ -n "${CELLCONFIG}" ]
12 then 11 then
@@ -21,4 +20,5 @@ do_install() {
21 fi 20 fi
22} 21}
23 22
24FILES_${PN} += "${INMATES_DIR} ${CELLCONF_DIR}" 23FILES_${PN}-dev += "${CELLCONF_DIR}"
24FILES_${PN} += "${INMATES_DIR}"