diff options
Diffstat (limited to 'images')
-rw-r--r-- | images/core-image-minimal-initramfs.bbappend | 4 | ||||
-rw-r--r-- | images/enea-nfv-access-host-common.inc | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index bdba015..2ca1d47 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend | |||
@@ -1 +1,5 @@ | |||
1 | PACKAGE_INSTALL += " nfv-installer kernel-modules" | 1 | PACKAGE_INSTALL += " nfv-installer kernel-modules" |
2 | |||
3 | # ostree-switchroot is used by the init script to switch root to the | ||
4 | # ostree version specified in the kernel command line | ||
5 | PACKAGE_INSTALL_append_sota = " ostree-switchroot" | ||
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" | |||
19 | GRUB_TIMEOUT_x86-64 = "10" | 19 | GRUB_TIMEOUT_x86-64 = "10" |
20 | # 10 - 1sec | 20 | # 10 - 1sec |
21 | SYSLINUX_TIMEOUT_x86-64 = "50" | 21 | SYSLINUX_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 | ||
25 | python __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 | } | ||