summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Iova <Catalin.Iova@enea.com>2020-10-19 11:52:50 (GMT)
committerCatalin Iova <Catalin.Iova@enea.com>2020-10-19 13:34:17 (GMT)
commit13a0eccccd3d9d4cfd0536101238b9327e0227be (patch)
tree850a7c5fd0f2bfc455d3a15082a0cef54aa9d178
parent55b49a162cc4e871106f6e57108581a92ae35832 (diff)
downloadmeta-el-nfv-access-develop.tar.gz
images: Create enea-image-minimal linkdevelop
Change-Id: I916fc13c7979e4ab9077ec3e43b67b3a5320b74c Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
-rw-r--r--images/core-image-minimal-initramfs.bbappend10
1 files changed, 10 insertions, 0 deletions
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