From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6657472919531159552 X-Received: by 2002:a5d:4b82:: with SMTP id b2mr119420wrt.17.1550135280410; Thu, 14 Feb 2019 01:08:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:dc0e:: with SMTP id t14ls371748wri.6.gmail; Thu, 14 Feb 2019 01:08:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IaVc7zbniKVcrxbyJBdxFVqRAzCeIdBKpsGjTvBG0KZbJN8PCShmkzZriwqynlkLylAWIej X-Received: by 2002:a5d:5003:: with SMTP id e3mr127900wrt.14.1550135280101; Thu, 14 Feb 2019 01:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550135280; cv=none; d=google.com; s=arc-20160816; b=Z9/5xQUdQKKa6De1zJqo8LwS21l9jUAFAJZcmogY98vY7j/QnmezEEjGEb1wjuGcTy kykWAbFr+hm5vyRoHTdWUYCJdaGpmSdvtT9LF4YCtusjtj4lkzyL8nksNzGGhwNlM+6O lIKPjOZC3ymIGuQm1r85Y9vVajh8jD8SEuDOiZyHL/YT8RXhcUv2jKKejcl7EQ72cRDx ivs32ZuUJ005InuPQEwfM06rMZ0Bh+XafJyWTW6q3/zikFqf+zFefa8q2zuaZyfJHkva VIl4UPORw7fYNMyv6dE4t3e2+mii4Yz8AcN3WL1wHu5AidB39iMcdxWnCTukukI0lkaC 8zPQ== 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:cc:to:subject; bh=AfSC2IupLefknxp6QZewnlgVVJguMu87ZEq+PwzRl8s=; b=PB+G5+ETjl5O5KK1AkKu4Qh836AsJ1+hQkdIEgxZ7cutDQ5H7rrIxACt+8BR5qkr06 CA+ej6XbLzj1ByKv1Tmkrg+T63GXzii8X0eoQAFEr/Wx7S3+2m1GHUE4WMusQFZQktry 7QuxRmQsv6CWd23X5zJMtxUGRDMZ2D6nf7ar2u+/bFGbHHGsaZWAXM4ikiyyAMkB8bwi WmXcPdlV9xMW+8Ya4ock7XYN8BfErtWisDbUjewWMArz3G3B+nHKADj5ya3VAH2lvYVp U+TG1Tn84aF5GSCxoLM9j6c2AK81itinzzOKZKjcTS9BPbA/PXmQxzY6r03z6CrKAeqC GF3Q== 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 y200si88825wmd.0.2019.02.14.01.08.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 01:08:00 -0800 (PST) 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 x1E97xhS032165 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Feb 2019 10:07:59 +0100 Received: from [139.25.69.181] (linux-ses-ext02.ppmd.siemens.net [139.25.69.181]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x1E97woA030380; Thu, 14 Feb 2019 10:07:58 +0100 Subject: Re: [meta-eid] Re: multistrap support To: kazuhiro3.hayashi@toshiba.co.jp, isar-users@googlegroups.com Cc: meta-eid@googlegroups.com References: From: Claudius Heine Message-ID: <6789fa93-5ca2-bd1d-0d1d-8925994825c8@siemens.com> Date: Thu, 14 Feb 2019 10:07:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: 1Lak3fZEMUIC Hi Kazu, On 14/02/2019 04.53, kazuhiro3.hayashi@toshiba.co.jp wrote: > Hi Claudius, (and Isar developers) > > Thank you for your replies, > I would like to reply one by one. > >> -----Original Message----- >> From: meta-eid@googlegroups.com [mailto:meta-eid@googlegroups.com] On >> Behalf Of Claudius Heine >> Sent: Wednesday, February 13, 2019 10:56 PM >> To: hayashi kazuhiro(林 和宏 ○SWC□OST) >> ; isar-users@googlegroups.com >> Cc: meta-eid@googlegroups.com >> Subject: [meta-eid] Re: multistrap support >> >> Hi Kazu, >> >> I don't speak for the whole Isar community, but just from my point of >> view. For context I implemented the switch from multistrap to debootstrap. >> >> On 13/02/2019 14.14, kazuhiro3.hayashi@toshiba.co.jp wrote: >>> Hi, >>> >>> I would like to know if isar still has some plans to use multistrap again >>> (or similar existing tools if exists) to generate target images. >> >> No, only debootstrap is supported and we will most probably stick with that. >> >>> Multistrap for isar-image-base has been removed by the following commit: >>> >> https://github.com/ilbers/isar/commit/19a314559178f7afd93ce3dafe8c8647 >> ca6c8884 >>> and replaced by setup_root_file_system() in >> isar-bootstrap-helper.bbclass, >>> which seems to use (pre-built?) >> isar-bootstrap-$ROOTFS_DISTRO-$ROOTFS_ARCH >>> as the base tree instead of running the debootstrap process. >>> >>> I guess that the main purposes of quitting multistrap is that >>> there is no big update for a few years (though the last update is 2.2.10 >> on Nov. 2018) >>> Are there any other reasons? >> >> That is one of them. Debootstrap is better supported by the main Debian >> community than any other bootstrapping tools. And since it is out of >> scope or the Isar Project to implement its own bootstrapping mechanism, >> we will stick with the second most official one 'debootstrap'. The >> Debian installer being the most official way to install Debian, which is >> a bit to bulky and integrated to be easily used in a scripted environment. > > I'm fully agree that using debootstrap, one of the core package in Debian > for a long time, as the base tool to generate images from multiple apt repos > if we decided not to use multistrap. > Regarding Debian installer, base-installer(udeb) also uses debootstrap > to install the base system before using apt and tasksel, but as you said, > it's integrated to d-i scripts so difficult to use in non-installer environment. I didn't know that the Debian installer uses debootstrap somewhere inside as well. Interesting. >> >> Both multistrap and debootstrap had or still have some inconveniences >> with our usage and it would of course be great to have one that fits >> exactly our purposes and is used and supported by the broader >> Debian/Embedded Debian and possible Debian server community. But as I >> said Isar does not have the resources to implement that. > > Thank you for your opinion. > I didn't mean that multistrap should be used in Isar again. > Also, my opinion is that any other full 'replacement' of debootstrap > should not be implemented if bootstrapping from multiple repositories > can be achieved by pure debootstrap + additional scripts. > > (Sorry, I was misunderstanding multistrap; I thought it uses > debootstrap as back-end, but that is a replacement actually.) > > The current bitbake function in Isar is one of the better solutions. > I should check more detailed implementation of that. Thanks! > >> >>> (Some bugs difficult to be fixed, mismatches with isar specification, >> etc.) >>> >>> The current isar-bootstrap based approach would work fine for isar system, >>> but in that case, it might be difficult to share efforts for >>> developing and maintaining the functionality with non isar users. >>> I'm just interested in the future plan of isar. >> >> Maybe you can give an example about which feature you think could be >> moved outside of the isar project and be used separately. > > I should learn the mechanism of setup_root_file_system() more, > but at least I'm originally considering how I can provide the following API: > > mybootstrap [debootstrap_OPTION] [ [