From 409e90e04504715028019eb09cb75425a47ab3ee Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 3 Nov 2020 10:44:46 +0100 Subject: cleanup: remove run-postinsts, dpkg status-old - initramfs: remove run-postinsts package, it has no purpose as there is no package manager inside the initramfs; - rootfs: remove run-postinsts if the package manager is DPKG/APT, since it duplicates the existing dpkg-configure.service installed by the dpkg recipe; - rootfs: cleanup DPKG backup file 'status-old', it contains information about packages before the final installation stages of the rootfs build process (completely irrelevant for the end user), saves >500kB; Change-Id: I6bd257d56805a3dfee4478c88977942e9f210afc Signed-off-by: Alexandru Avadanii --- images/core-image-minimal-initramfs.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'images/core-image-minimal-initramfs.bbappend') diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index e743bb3..5512158 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend @@ -4,6 +4,9 @@ PACKAGE_INSTALL += " nfv-installer kernel-modules" # ostree version specified in the kernel command line PACKAGE_INSTALL_append_sota = " ostree-switchroot" +# run-postinsts does not belong in the minimal initramfs +PACKAGE_INSTALL_remove = "run-postinsts" + create_enea_symlink() { # enea image used in bare metal installation cd ${DEPLOY_DIR_IMAGE} @@ -12,4 +15,3 @@ create_enea_symlink() { } IMAGE_POSTPROCESS_COMMAND_append += " create_enea_symlink;" - -- cgit v1.2.3-54-g00ecf From 79d1957037bc893aa278c025a1c3276b206aead0 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Mon, 22 Feb 2021 14:19:17 +0100 Subject: add ixgbe driver in initramfs this was disabled from kernel source tree Change-Id: I82ff784dae6d34de19966b61f194944dba2adbe9 Signed-off-by: Adrian Calianu --- images/core-image-minimal-initramfs.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/core-image-minimal-initramfs.bbappend') diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index 5512158..67ab251 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend @@ -1,4 +1,4 @@ -PACKAGE_INSTALL += " nfv-installer kernel-modules" +PACKAGE_INSTALL += " nfv-installer kernel-modules ixgbe" # ostree-switchroot is used by the init script to switch root to the # ostree version specified in the kernel command line -- cgit v1.2.3-54-g00ecf