summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Ionescu <gabriel.ionescu@enea.com>2018-11-13 13:07:18 +0100
committerCristian Scrieciu <cristian.scrieciu@enea.com>2018-11-20 15:29:32 +0100
commit27976149d6c445ba12bd100de6f95788a2eebb16 (patch)
treedc783701230c159d30aceabaa23876faf5d8d876
parent5a8cff5249e9e76e4d5c90483575bfa535c4889d (diff)
downloadmeta-el-nfv-access-27976149d6c445ba12bd100de6f95788a2eebb16.tar.gz
Force build the otaimg before the hddimg
Change-Id: I244a945b95d498b0d46364ab39705102c5fad659 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
-rw-r--r--images/enea-nfv-access-host-common.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/images/enea-nfv-access-host-common.inc b/images/enea-nfv-access-host-common.inc
index 866fa99..83d7bd0 100644
--- a/images/enea-nfv-access-host-common.inc
+++ b/images/enea-nfv-access-host-common.inc
@@ -19,3 +19,10 @@ SYSLINUX_DEFAULT_CONSOLE_x86-64 = "console=tty0"
19GRUB_TIMEOUT_x86-64 = "10" 19GRUB_TIMEOUT_x86-64 = "10"
20# 10 - 1sec 20# 10 - 1sec
21SYSLINUX_TIMEOUT_x86-64 = "50" 21SYSLINUX_TIMEOUT_x86-64 = "50"
22
23# If building with sota enabled, build the otaimg before the hddimg, because
24# the hddimg needs it as a base image
25python __anonymous() {
26 if bb.utils.contains('DISTRO_FEATURES', 'sota', True, False, d):
27 d.appendVarFlag("do_bootimg", "depends", " %s:do_image_otaimg" % d.getVar("IMAGE_BASENAME", True))
28}