From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6543570718688280576 X-Received: by 2002:a19:c50f:: with SMTP id w15-v6mr1376274lfe.39.1525363102603; Thu, 03 May 2018 08:58:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:868c:: with SMTP id l12-v6ls1653997lji.4.gmail; Thu, 03 May 2018 08:58:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq9i6aZItpgpvxRfREvIE87RUzo8E4IknP+3SiN2mG1RriwwB85sJcX1LbXGhT/wb7rAyJO X-Received: by 2002:a2e:501c:: with SMTP id e28-v6mr947362ljb.13.1525363101935; Thu, 03 May 2018 08:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525363101; cv=none; d=google.com; s=arc-20160816; b=Ig/G7hZGVVMDxlt+SOI4wOcn5gA4EwEYBcxKmF62vCFu4Adxi54Bs0gPafJJsYkpaA R1ZbU/jM1jQBmJJdPnUmHOJB8ILudmB+sXmeoYK++grNBqXKpPgJVfgn9V6O1AY5M8oQ OUI5xmJvTG3aw5VDvFa/xWWHPy9amAOL1u22NMQs6kx36qreM+OAIMAJbQz31TPBS7ub pu7sJRJG11OcpurHQ1+51zrSVcM80GxG+eQ2ZGQL5mwMTuyU4IdP+C1LyE5QttvxeHbA IFWt65s7OADbbwoqszmcq4oyNvY8F5wIdJWAUJDW/iRqQLzHxVpQ7B8ASXjJQ0ZzSWKO qu9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=IOTVr+mywREBf/3ikwXlngLGuVj7XKRSGKO5INMq8eQ=; b=dLx+X1QoE8SMJybqK7Q1FXjFJW7/pvMXB4nyb5hocRlsA+fwkmpb2rUSBYikAwS1X3 qpBCxIxCk9S1SEcl30M6d2tpURDdMFWTMXhJivl/0nqgSAPjtkt131KPCgQNJAA76EuJ 2jdkE0W9smdZNC3Zst7HxADQ7UQFScwi4ezMeuPVltzvGSmzZzRp9BGSU6wyhmSEb300 WBik7R/zaTvlEIgEEqRV61StxkJtqLmVwb58Rq2HCVk3z4bnRJPXrYI6x8TgFrkL75yT 8rO7aXKLhMpvc8YkDA7qNPGDTwEJmJe0XFX/7oIHZHfybZFGWEcJecqzhYnej7k+KI3y 99mQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id h12-v6si530703ljg.2.2018.05.03.08.58.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 08:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w43FwK9K014724 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 17:58:20 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w43FwKlv022236; Thu, 3 May 2018 17:58:20 +0200 Date: Thu, 3 May 2018 17:58:19 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Baurzhan Ismagulov , Claudius Heine Subject: Re: [PATCH 1/1] meta-isar/isar-image-base: make kernel optional Message-ID: <20180503175819.15695d54@md1pvb1c.ad001.siemens.net> In-Reply-To: <20180413103820.GC6488@yssyq.radix50.net> References: <20180412143614.31202-1-claudius.heine.ext@siemens.com> <20180412143614.31202-2-claudius.heine.ext@siemens.com> <20180413103820.GC6488@yssyq.radix50.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: O5A/cXbn9q5z Am Fri, 13 Apr 2018 12:38:20 +0200 schrieb Baurzhan Ismagulov : > On Thu, Apr 12, 2018 at 04:36:14PM +0200, > claudius.heine.ext@siemens.com wrote: > > diff --git a/meta-isar/recipes-core/images/isar-image-base.bb > > b/meta-isar/recipes-core/images/isar-image-base.bb index > > 6b0030b..d39a25e 100644 --- > > a/meta-isar/recipes-core/images/isar-image-base.bb +++ > > b/meta-isar/recipes-core/images/isar-image-base.bb @@ -16,7 +16,7 > > @@ PV = "1.0" inherit image > > inherit isar-bootstrap-helper > > > > -IMAGE_INSTALL += "linux-image-${KERNEL_NAME}" > > +IMAGE_INSTALL += "${@ ("linux-image-" + d.getVar("KERNEL_NAME", > > True)) if d.getVar("KERNEL_NAME", True) else ""}" > > If I want to generate an NFS rootfs w/o the kernel and an SD image > with one, how would I proceed? Do I understand correctly, the latter > recipe would list this line, and the former would not? I think the answer would be with two image recipes that inherit/override each other. So the main one that is probably derived from isar-image-base and would be called product-nfs.bb and product-wic.bb would overwrite some variables from the -nfs version. That patch should be merged, i already heard from someone else who now cherry-picked that into their fork. Henning > With kind regards, > Baurzhan. >