From patchwork Fri Mar 31 22:01:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 22066 X-Patchwork-Delegate: reatmon@ti.com 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 0E2B0C76196 for ; Fri, 31 Mar 2023 22:01:54 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web11.8425.1680300106205580988 for ; Fri, 31 Mar 2023 15:01:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=fwmDRMvp; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: reatmon@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32VM1iDR079483; Fri, 31 Mar 2023 17:01:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680300104; bh=+ss/SBXNv7AbwniPlxt3uqCzq46xhC6WcHuOEmS2rLI=; h=From:To:Subject:Date; b=fwmDRMvpppxDFq2zYnjG9vNzGCabFzZC98EBfpb7mAP3/f5f3EPTEFjG6PjkXzYgc XUzLOOBp7qMLcmA3kdu1a8Ri54enIxPGznZfcffWOhxPzJ70pwDOi6fo3q9Kgq/6o7 XHTMYvUqNk7ONbEBUJy6mbhPxUfsAs92VQYQYYPw= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32VM1iDK110652 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 Mar 2023 17:01:44 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 31 Mar 2023 17:01:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Fri, 31 Mar 2023 17:01:43 -0500 Received: from uda0214219 (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32VM1h9s010081; Fri, 31 Mar 2023 17:01:43 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1piMoZ-0005Ek-K6; Fri, 31 Mar 2023 17:01:43 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][dunfell][PATCH] images: Add variable to add extra packages from the local.conf Date: Fri, 31 Mar 2023 17:01:43 -0500 Message-ID: <20230331220143.20090-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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, 31 Mar 2023 22:01:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14286 The bootstrap, thinlinux and tiny images all had a variable that allowed for adding additional packages to the image from the local.conf file. Add this same concept to the default and base images. Signed-off-by: Ryan Eatmon --- meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 3 +++ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 2 files changed, 6 insertions(+) diff --git a/meta-arago-distro/recipes-core/images/tisdk-base-image.bb b/meta-arago-distro/recipes-core/images/tisdk-base-image.bb index 8698816d..ec09b90b 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-base-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-base-image.bb @@ -8,12 +8,15 @@ require arago-image.inc IMAGE_FSTYPES += "cpio.xz" IMAGE_FSTYPES_append_dra7xx = " ubifs ubi" +ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ ${VIRTUAL-RUNTIME_initramfs} \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \ + ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-base-image" diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb index 16772ee9..9cd0a28f 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb @@ -7,6 +7,8 @@ require arago-image.inc SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" +ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ @@ -27,6 +29,7 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ ti-analytics \ ti-demos \ + ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-default-image"