diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2021-05-22 13:44:22 +0200 |
---|---|---|
committer | Dan Andresan <Dan.Andresan@enea.com> | 2021-05-26 09:32:37 +0200 |
commit | fa7f6e8be5b9d1ceba03d2d17accdefa25eb3bf4 (patch) | |
tree | 414b93e392ffc2c769aaded593728885a279374e /images/core-image-minimal-initramfs.bbappend | |
parent | 59fdd6839f38976e7e6a751500629067baeaa9e9 (diff) | |
download | meta-el-nfv-access-fa7f6e8be5b9d1ceba03d2d17accdefa25eb3bf4.tar.gz |
initramfs: Cleanup upstream scripts, dependencies
- do not install initramfs-module-* scripts that we won't use, e.g.
initramfs-module-install, initramfs-module-install-efi; this
removes their unused dependencies (e.g. grub-pc, parted), making
the initramfs smaller;
Depends-on: I6ce592a609650f0528314c14e6a0a2a4984ba864
Change-Id: I59143aad9ae80ad4a9a7fcbfc066d4783bcf4f2a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'images/core-image-minimal-initramfs.bbappend')
-rw-r--r-- | images/core-image-minimal-initramfs.bbappend | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index 013463a..88dd198 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend | |||
@@ -1,8 +1,10 @@ | |||
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 | " | ||
6 | 8 | ||
7 | # run-postinsts does not belong in the minimal initramfs | 9 | # run-postinsts does not belong in the minimal initramfs |
8 | PACKAGE_INSTALL_remove = "run-postinsts" | 10 | PACKAGE_INSTALL_remove = "run-postinsts" |