summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/distro/eneanfvaccess.conf4
-rw-r--r--images/core-image-minimal-initramfs.bbappend10
2 files changed, 12 insertions, 2 deletions
diff --git a/conf/distro/eneanfvaccess.conf b/conf/distro/eneanfvaccess.conf
index 617b5dd..28f5c2d 100644
--- a/conf/distro/eneanfvaccess.conf
+++ b/conf/distro/eneanfvaccess.conf
@@ -1,8 +1,8 @@
1require conf/distro/enea.conf 1require conf/distro/enea.conf
2 2
3DISTRO_NAME = "Enea NFV Access" 3DISTRO_NAME = "Enea NFV Access"
4DISTRO_VERSION_MAJOR ??= "2.2" 4DISTRO_VERSION_MAJOR ??= "2.3"
5DISTRO_VERSION_MINOR ??= ".3" 5DISTRO_VERSION_MINOR ??= ".0"
6DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}" 6DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}"
7 7
8SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" 8SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend
index 2ca1d47..e743bb3 100644
--- a/images/core-image-minimal-initramfs.bbappend
+++ b/images/core-image-minimal-initramfs.bbappend
@@ -3,3 +3,13 @@ PACKAGE_INSTALL += " nfv-installer kernel-modules"
3# ostree-switchroot is used by the init script to switch root to the 3# ostree-switchroot is used by the init script to switch root to the
4# ostree version specified in the kernel command line 4# ostree version specified in the kernel command line
5PACKAGE_INSTALL_append_sota = " ostree-switchroot" 5PACKAGE_INSTALL_append_sota = " ostree-switchroot"
6
7create_enea_symlink() {
8 # enea image used in bare metal installation
9 cd ${DEPLOY_DIR_IMAGE}
10 ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz enea-image-minimal-initramfs-${MACHINE}.cpio.gz
11 cd -
12}
13
14IMAGE_POSTPROCESS_COMMAND_append += " create_enea_symlink;"
15