From patchwork Tue Apr 15 13:06:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Krause X-Patchwork-Id: 61298 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 C41A5C369B4 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.web11.19587.1744722374843638427 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-Bf; 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 2/4] core-image-initramfs-boot: drop unncessary base-utils from PACKAGE_INSTALL Date: Tue, 15 Apr 2025 15:06:06 +0200 Message-Id: <20250415130608.1804620-2-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/214847 base-utils are only needed because the initramfs init functionality is implemented in shell. There is no other reason in core-image-initramfs-boot 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-initramfs-boot.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/images/core-image-initramfs-boot.bb b/meta/recipes-core/images/core-image-initramfs-boot.bb index 7258944751..6fc113345c 100644 --- a/meta/recipes-core/images/core-image-initramfs-boot.bb +++ b/meta/recipes-core/images/core-image-initramfs-boot.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" INITRAMFS_SCRIPTS ?= "initramfs-framework-base initramfs-module-udev" -PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd" +PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} base-passwd" # Ensure the initramfs only contains the bare minimum IMAGE_FEATURES = ""