summaryrefslogtreecommitdiffstats
path: root/images/core-image-minimal-initramfs.bbappend
blob: e743bb3d1b9ea97bd9e301c11f006b061ba8dd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PACKAGE_INSTALL += " nfv-installer kernel-modules"

# ostree-switchroot is used by the init script to switch root to the
# ostree version specified in the kernel command line
PACKAGE_INSTALL_append_sota = " ostree-switchroot"

create_enea_symlink() {
    # enea image used in bare metal installation
    cd ${DEPLOY_DIR_IMAGE}
    ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz enea-image-minimal-initramfs-${MACHINE}.cpio.gz
    cd -
}

IMAGE_POSTPROCESS_COMMAND_append += " create_enea_symlink;"