From patchwork Tue Sep 13 04:02:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 12705 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 C3113C6FD21 for ; Tue, 13 Sep 2022 04:02:56 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web12.889.1663041769037531252 for ; Mon, 12 Sep 2022 21:02:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 75AC540D7A for ; Tue, 13 Sep 2022 04:02:47 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QNtvWCVn3qvj for ; Tue, 13 Sep 2022 04:02:47 +0000 (UTC) Received: from mail.denix.org (pool-100-15-80-88.washdc.fios.verizon.net [100.15.80.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 60BAB40D73 for ; Tue, 13 Sep 2022 04:02:47 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 9DEB41749D8 for ; Tue, 13 Sep 2022 00:02:45 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Subject: [master/kirkstone][PATCH 12/52] tisdk-tiny-image: Split common components into include file Date: Tue, 13 Sep 2022 04:02:06 +0000 Message-Id: <20220913040246.2365077-13-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220913040246.2365077-1-denis@denix.org> References: <20220913040246.2365077-1-denis@denix.org> MIME-Version: 1.0 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, 13 Sep 2022 04:02:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13994 From: Nishanth Menon Lets split the common pieces for creating a tiny image into an include file. This can then be used to incrementally build additional images as well. Signed-off-by: Nishanth Menon Signed-off-by: Ryan Eatmon Signed-off-by: Denys Dmytriyenko --- .../recipes-core/images/arago-tiny-image.inc | 9 +++++++++ .../recipes-core/images/tisdk-tiny-image.bb | 11 ++++------- 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc diff --git a/meta-arago-distro/recipes-core/images/arago-tiny-image.inc b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc new file mode 100644 index 00000000..242e763c --- /dev/null +++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc @@ -0,0 +1,9 @@ +ARAGO_SYSVINIT = "1" + +require arago-image.inc + +IMAGE_FEATURES:remove = "splash" + +IMAGE_INSTALL = " \ + packagegroup-arago-sysvinit-boot \ +" diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb index 9ea91701..00e4e6ae 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb @@ -1,15 +1,12 @@ -ARAGO_SYSVINIT = "1" +ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" -require arago-image.inc +require arago-tiny-image.inc -IMAGE_FEATURES:remove = "package-management splash" +IMAGE_FEATURES:remove = "package-management" IMAGE_FSTYPES += "cpio cpio.xz" -ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" - -IMAGE_INSTALL = " \ - packagegroup-arago-sysvinit-boot \ +IMAGE_INSTALL += " \ ${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \ "