diff options
Diffstat (limited to 'images/core-image-minimal-initramfs.bbappend')
-rw-r--r-- | images/core-image-minimal-initramfs.bbappend | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index 2ca1d47..88dd198 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend | |||
@@ -1,5 +1,21 @@ | |||
1 | PACKAGE_INSTALL += " nfv-installer kernel-modules" | 1 | PACKAGE_INSTALL += " nfv-installer kernel-modules" |
2 | 2 | ||
3 | # ostree-switchroot is used by the init script to switch root to the | 3 | INITRAMFS_SCRIPTS = " \ |
4 | # ostree version specified in the kernel command line | 4 | initramfs-framework-base \ |
5 | PACKAGE_INSTALL_append_sota = " ostree-switchroot" | 5 | initramfs-module-udev \ |
6 | initramfs-module-setup-live \ | ||
7 | " | ||
8 | |||
9 | # run-postinsts does not belong in the minimal initramfs | ||
10 | PACKAGE_INSTALL_remove = "run-postinsts" | ||
11 | |||
12 | PACKAGE_EXCLUDE_x86-64_sota += "grub-common-extras" | ||
13 | |||
14 | create_enea_symlink() { | ||
15 | # enea image used in bare metal installation | ||
16 | cd ${DEPLOY_DIR_IMAGE} | ||
17 | ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz enea-image-minimal-initramfs-${MACHINE}.cpio.gz | ||
18 | cd - | ||
19 | } | ||
20 | |||
21 | IMAGE_POSTPROCESS_COMMAND_append += " create_enea_symlink;" | ||