From patchwork Tue Apr 15 13:06:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Krause X-Patchwork-Id: 61300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC134C369AB for ; Tue, 15 Apr 2025 13:06:23 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) by mx.groups.io with SMTP id smtpd.web10.19574.1744722374910244165 for ; Tue, 15 Apr 2025 06:06:15 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: pengutronix.de, ip: 185.203.201.7, mailfrom: bst@pengutronix.de) Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1u4fzR-0008VJ-Cl; Tue, 15 Apr 2025 15:06:13 +0200 From: Bastian Krause To: openembedded-core@lists.openembedded.org Cc: yocto@pengutronix.de, Bastian Krause Subject: [RFC PATCH oe-core 3/4] core-image-minimal-initramfs: drop unncessary base-utils from PACKAGE_INSTALL Date: Tue, 15 Apr 2025 15:06:07 +0200 Message-Id: <20250415130608.1804620-3-bst@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250415130608.1804620-1-bst@pengutronix.de> References: <20250415130608.1804620-1-bst@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::ac X-SA-Exim-Mail-From: bst@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: openembedded-core@lists.openembedded.org List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 15 Apr 2025 13:06:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/214849 base-utils are only needed because the initramfs init functionality is implemented in shell. There is no other reason in core-image-minimal-initramfs to add this explicitly. So let initramfs-framework-base pull in the base-utils dependency and drop it here. Signed-off-by: Bastian Krause --- meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb index 4e210d1bf3..fb629f1034 100644 --- a/meta/recipes-core/images/core-image-minimal-initramfs.bb +++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb @@ -12,7 +12,7 @@ INITRAMFS_SCRIPTS ?= "\ initramfs-module-install-efi \ " -PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" +PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = ""