summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-bsp')
-rw-r--r--common/recipes-bsp/rmc/rmc-db.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/recipes-bsp/rmc/rmc-db.bb b/common/recipes-bsp/rmc/rmc-db.bb
index 14553af0..99565fdd 100644
--- a/common/recipes-bsp/rmc/rmc-db.bb
+++ b/common/recipes-bsp/rmc/rmc-db.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}"
14 14
15inherit rmc-db 15inherit rmc-db
16 16
17RMC_BOARD_DATA_DIRS_append := " ${THISDIR}/boards/" 17RMC_BOARD_DATA_DIRS ?= "${THISDIR}/boards/"
18RMC_DB_DIR = "${WORKDIR}/db" 18RMC_DB_DIR = "${WORKDIR}/db"
19 19
20# Let sstate be aware of change in any added board directories 20# Let sstate be aware of change in any added board directories
@@ -41,6 +41,7 @@ do_deploy () {
41 if [ -f ${RMC_DB_DIR}/rmc.db ]; then 41 if [ -f ${RMC_DB_DIR}/rmc.db ]; then
42 install -m 0400 ${RMC_DB_DIR}/rmc.db ${DEPLOYDIR} 42 install -m 0400 ${RMC_DB_DIR}/rmc.db ${DEPLOYDIR}
43 else 43 else
44 rm -f ${DEPLOYDIR}/rmc.db
44 echo "Warning: no RMC central database found, skip deployment." 45 echo "Warning: no RMC central database found, skip deployment."
45 fi 46 fi
46} 47}