From patchwork Fri Mar 28 18:04:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christos Gavros X-Patchwork-Id: 60181 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 73A01C28B20 for ; Fri, 28 Mar 2025 18:06:00 +0000 (UTC) Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) by mx.groups.io with SMTP id smtpd.web11.937.1743185154486257385 for ; Fri, 28 Mar 2025 11:05:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=M+Stz5um; spf=neutral (domain: yahoo.com, ip: 74.6.132.124, mailfrom: gavrosc@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1743185153; bh=coaboDVHbxrIjkJnkX5mLl1XNbP7leTQthTbZcLNE/E=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=M+Stz5um8bePmaEIRzHVnfwkQtCjjSFdirO5Qr2dKaR6faHu57QvmPR9aWzQBmkAjCRZGtt0QXN9aoo7E3bW33k8TDNBgChBTuwUIUAvN2sepA86Pw8TImJ4NzI0DU+9y1jJRWWbXt9LEwk27rYhFK5aUjJRdrOexAXRYvk9yEJDUQXWmXoZPO21BewfEAXmk1g0DcsjjE4LQNjHrngmaRNig+AuVnhCxCEe6nXj4XcxvZOqb71bnj4N99qAqCgxZyvTO5SGTjvM6TuWatRS7PxcjwEAzELl2Wl2HrWzf4XYaY/CH/1VUoWv3+zKMBrwMp2UsZY4duddXsAOlsaqzA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.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Z6zBKlHJdtSz5AlfpIRU_43sIBswq3kvm3TFnYlkMzBEsJyx7 WO1rRgV7PhNnEXm._TOFOEBtd.uBs9HFjYg_Z3s4fQJfnZ.sDgEPo270kNOjme14R0jxjhgTgPwB M7uNTwKVn5m8e33Hxp36eh__tBmTVaToyVGkThFV5h5_I5wVQUfgs7SSBhs1taheErcHv56pOKkE tx43qB6a7q.zpXHkzcvl7906Orxxd5DGMGjZ6zjw_l6MDAf4H4.60Lg9uaXzR7roh6bsGNWI70d8 SMMgY2cBScZ8sXfykEzn_r0BMQkO.WeOaFPNanYNyNNbtVwbHuk0h4kc4DzQ_xuwjXkHf9PsCdIn 4qcAQya01Tv23zP60oaGIHfJjEHaT3oTDEvqZP_gr4VsVnA1jaoYtNC0MlT6AizV6fbM2R1CSEUT Gu2A3hpfSzlPXdURzTVYCjeEq_RzNEy7C13V2Wp1CvqImZ7l6SfX_ElB.blxdwYtVErtlhaA9OsT ybeuPsXI6fz.4ovhNoSI0gdQeJt0m4XroC86gq5L6DhYfjXgqqK2E5k6BN8wUvcXg3rwss3FqRTv u2pYxO9kY.Btu2hc2gxPt73i9ccPBfS.uWIK1Y8SCY4KVjSmeIGslJxx5Dg-- X-Sonic-MF: X-Sonic-ID: bfedbe45-b57b-4e50-905a-458e51467397 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Fri, 28 Mar 2025 18:05:53 +0000 Received: by hermes--production-ir2-54ff696c44-9825g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 11e6f736a455e5ee05181f7a170c71bc; Fri, 28 Mar 2025 18:05:51 +0000 (UTC) From: Christos Gavros To: openembedded-core@lists.openembedded.org Cc: Christos Gavros , Yoann Congal , Randy MacLeod , Ross Burton , jbk Subject: [PATCH] initramfs-framework: remove hard dependency with busybox Date: Fri, 28 Mar 2025 19:04:56 +0100 Message-Id: <20250328180456.90413-1-gavrosc@yahoo.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 References: <20250328180456.90413-1-gavrosc.ref@yahoo.com> 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 ; Fri, 28 Mar 2025 18:06:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213861 In 'finish'script the Switch_root command with option -c is busybox specific. When package-core-base-utils is selected the boot is breaking. Remove -c option to make it compatible with both providers Fixes [YOCTO #15716] CC: Yoann Congal CC: Randy MacLeod CC: Ross Burton CC: jbk Signed-off-by: Christos Gavros --- meta/recipes-core/initrdscripts/initramfs-framework/finish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/finish b/meta/recipes-core/initrdscripts/initramfs-framework/finish index ac0de9f996..716c2f44af 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/finish +++ b/meta/recipes-core/initrdscripts/initramfs-framework/finish @@ -41,7 +41,7 @@ finish_run() { mount --move /sys $ROOTFS_DIR/sys cd $ROOTFS_DIR - exec switch_root -c /dev/console $ROOTFS_DIR ${bootparam_init:-/sbin/init} + exec switch_root $ROOTFS_DIR ${bootparam_init:-/sbin/init} else debug "No rootfs has been set" fi