diff options
| author | Catalin Iova <Catalin.Iova@enea.com> | 2020-10-19 13:52:50 +0200 |
|---|---|---|
| committer | Catalin Iova <Catalin.Iova@enea.com> | 2020-10-19 15:34:17 +0200 |
| commit | 13a0eccccd3d9d4cfd0536101238b9327e0227be (patch) | |
| tree | 850a7c5fd0f2bfc455d3a15082a0cef54aa9d178 | |
| parent | 55b49a162cc4e871106f6e57108581a92ae35832 (diff) | |
| download | meta-el-nfv-access-feature_CPDX-3461.tar.gz | |
images: Create enea-image-minimal linkfeature_CPDX-3461feature_CPDX-3314
Change-Id: I916fc13c7979e4ab9077ec3e43b67b3a5320b74c
Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
| -rw-r--r-- | images/core-image-minimal-initramfs.bbappend | 10 |
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 |
| 5 | PACKAGE_INSTALL_append_sota = " ostree-switchroot" | 5 | PACKAGE_INSTALL_append_sota = " ostree-switchroot" |
| 6 | |||
| 7 | create_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 | |||
| 14 | IMAGE_POSTPROCESS_COMMAND_append += " create_enea_symlink;" | ||
| 15 | |||
