From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6543570718688280576 X-Received: by 10.80.230.15 with SMTP id y15mr2280544edm.0.1523862231839; Mon, 16 Apr 2018 00:03:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.214.21 with SMTP id x21ls7515849edi.7.gmail; Mon, 16 Apr 2018 00:03:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+pXElbJC3Oa02cx+xJuuKYYpR0ao0T2gEFuJbYiD+K7RBG5uljDHd63S8FMBWEtnXurrTT X-Received: by 10.80.141.196 with SMTP id s4mr2274858edh.8.1523862231344; Mon, 16 Apr 2018 00:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523862231; cv=none; d=google.com; s=arc-20160816; b=BI9OFcdYbd7bPbnBS5XRqPPM7nG0OTk2ABhj3wNBzs/OOpk9zxVmrsE/9oax54v13G WMXW6BhYp+XZCnrVF35fOMuJQJy8i9okaUy8C59Px9/Ajff7oY0asPRuC99DLwFlXcRc qZHFmryGjmOeobMoirTCACNU8XsJr+MzPkxG9oTqgYjGd74RzYWyNDW09x5iJ4PvD43i vXQEHO7bvbdylP/qoTlcX17oLGNjW1ayEWp2Ie0cE/mgL2t2qaBGwSgNkP1V2XlEmRMy IGiBlQo++FWkYN57ujHFIQ9KT1c1R3KbPH0b2XyaXrez9rXhu1kPYRIlHY5Wz39GSVJ/ R88w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=kyPYZEILudhv+/Ad3iL1wNWPvjbYT8czukWCjdRkrQ4=; b=GiuqMxYCD4d6mj4G8JkMuSwdao/hyVyILR/1SFOcS02f2K53M6ajkEd1RudX0bZW0k GLG6kSnE5JKMTcdszihEPjy+7xqeaCsa13GjeRQKPsu6y4rzSsG5zrCZYYb0PTTzvp49 kwIp09cNVqlBAHaakvaqdaa7uy+dYh9WbIlxoWZbJudOCom1EBUG96T+PAsLk2fRIezi PkwI+kOCqoXlp5YvwfWVHTVqqVJLMhW1eeqPXjB5NnmMKZto3MnojREQ2QYpnDXF0BCB PsHdAMHcOi1ILyq3b5011Gr2O5JSdI14K8n5eTKisFRW/S0A3TCvQD8XdG16lQX7Fy8H qDwg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id e12si299490edi.4.2018.04.16.00.03.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 00:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@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 claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3G73oqY030965 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 16 Apr 2018 09:03:50 +0200 Received: from [139.25.69.226] (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w3G73oIZ012523 for ; Mon, 16 Apr 2018 09:03:50 +0200 Subject: Re: [PATCH 1/1] meta-isar/isar-image-base: make kernel optional To: isar-users@googlegroups.com References: <20180412143614.31202-1-claudius.heine.ext@siemens.com> <20180412143614.31202-2-claudius.heine.ext@siemens.com> <20180413103820.GC6488@yssyq.radix50.net> <20180413112356.GD6488@yssyq.radix50.net> From: Claudius Heine Message-ID: Date: Mon, 16 Apr 2018 09:03:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180413112356.GD6488@yssyq.radix50.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: RF+AZXm5QkbR Hi Baurzhan, On 2018-04-13 13:23, Baurzhan Ismagulov wrote: > On Fri, Apr 13, 2018 at 12:45:10PM +0200, Claudius Heine wrote: >>> If I want to generate an NFS rootfs w/o the kernel and an SD image >>> with one, >>> how would I proceed? >> >> With two multiconfigs? That would be how I would probably do it. > > One multiconfig (e.g, qemui386-stretch), product-image-base.bb, > product-nfs-base.bb. You are right. Two multiconfigs would not be the best idea. Also since that would double the required resources. I haven't done this before, since I only create nfs root file systems for my project. >>> Do I understand correctly, the latter recipe would list >>> this line, and the former would not? >> >> I don't understand your question here. What do you mean with 'latter' >> and 'former recipe'? > > Include IMAGE_INSTALL += "..." in product-image-base.bb but not in > product-nfs-base.bb? You could also just require the isar-image-base recipe on both images and set 'KERNEL_NAME' to "" in 'product-nfs-base.bb'. With this patch no kernel would be used. AFAIK most people base their custom images on isar-image-base, so it makes sense to have this image parameterized. A general dependency like it was done before this patch is not that flexible. Cheers, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de