From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.28.84.79 with SMTP id p15mr222102wmi.12.1521036873569; Wed, 14 Mar 2018 07:14:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.156.207 with SMTP id h15ls506175wre.9.gmail; Wed, 14 Mar 2018 07:14:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELtm3oBSyjn0hCGC7BlWaL7sEVhLgH3lHYN274NcvHfWyqvz8YVaP9FpZubcD+TAdh6atgyv X-Received: by 10.223.186.203 with SMTP id w11mr65365wrg.21.1521036873054; Wed, 14 Mar 2018 07:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521036873; cv=none; d=google.com; s=arc-20160816; b=i9Cny0hBIzVSKVFc4MMfzwEoF5I8Ikm/WTrSvl0nGjjXVgA6OtApgISrbIT47jRKEW 0inwlMTYq/HDXvXojrEA4kDfixMjLUhTYujATtOa5ekub9iwVMQz8DvVli0MlCkzQqbI vf1Bi7tnXRXjwaHDWCkLViii1QfeECvjj9yPNnpoczh28AsYmgjsplBWVSfvf+0TRMiv guOAxycUt2Fc+eZbhdO2a27ozTqM9h7m29m9p0ywMBZSbMAVJOD2RbNlQ4w4gUjT50U4 kzgNvFgiAZ6Mu1QyP2HXnVIunfnx7pMDHOrP72VOjrVYC8mINQ+N6F3WkmuLCLMAtuoS es1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:date:to:from:subject:message-id :arc-authentication-results; bh=xl24COe5Bko75blmJAXDUVtoHYQH/X+T2JM0/lAJYyo=; b=00cvMLMQVaR4wokxe6XNR+N7/9Dgf7l2P5aGz2ZjA+57iW7bnAwRaCgqNmXaZopLE2 HLRXCGLVGT6+5lPKTAodp5shyFBBruOGIVO0FMhplAHaoMDHm/zv2wCok3uRDrKWvPKZ v3plqZ8aXMJGJJAwwCYwqXHTkvlXXAssaIr5dR0hS6537cm0jB0VtbYau7zzfXZ+qqvT 4UpOHWCB0FG0cMUUqd5wjumONLUKf6YnrT0Z9xbzmedqG6fddRp/F5FmBojuo7RUAMCQ JB1Pc8P5xQ2y+XEdIDBlC1+3DSeTnVQAJstMpEhb8lWttWC8l7cepsZv6xRWndRVsww/ ro5g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id a72si59444wme.1.2018.03.14.07.14.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 07:14:32 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=212.18.0.9; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 401Yd45Mn1z1qvBb; Wed, 14 Mar 2018 15:14:32 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 401Yd4588fz1sQxT; Wed, 14 Mar 2018 15:14:32 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id k8bfzt7uCjq6; Wed, 14 Mar 2018 15:14:31 +0100 (CET) X-Auth-Info: IFMzDEPgdQC8SIfGs8GcRQeoTsIMAntKqL7m34U7GS8= Received: from Orrorin (p578a821c.dip0.t-ipconnect.de [87.138.130.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 14 Mar 2018 15:14:31 +0100 (CET) Message-ID: <1521036867.16621.120.camel@denx.de> Subject: Re: [PATCH v4 1/5] implement isar-bootstrap using debootstrap From: Claudius Heine To: Alexander Smirnov , claudius.heine.ext@siemens.com, isar-users@googlegroups.com Date: Wed, 14 Mar 2018 15:14:27 +0100 In-Reply-To: References: <20180307164457.31933-1-claudius.heine.ext@siemens.com> <20180307164457.31933-2-claudius.heine.ext@siemens.com> <11d20fad-e1bc-2e0d-e227-2c4ddc512dcb@ilbers.de> <1521021141.16621.86.camel@denx.de> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-IGADcWpX+U9SE1JVo4I7" X-Mailer: Evolution 3.26.5 Mime-Version: 1.0 X-TUID: h3HtfIFYoy8e --=-IGADcWpX+U9SE1JVo4I7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Alex, On Wed, 2018-03-14 at 13:38 +0300, Alexander Smirnov wrote: > On 03/14/2018 12:52 PM, Claudius Heine wrote: > > Hi Alex, > >=20 > > On Wed, 2018-03-14 at 11:56 +0300, Alexander Smirnov wrote: > > > On 03/07/2018 07:44 PM, claudius.heine.ext@siemens.com wrote: > > > > From: Claudius Heine > > > >=20 > > > > Since multistrap is deprecated for some years, it is required > > > > to > > > > change > > > > to debootstrap. > > > >=20 > > > > This patch introduces the 'isar-bootstrap' recipe that > > > > implement > > > > the > > > > creation of a minimal base root file system using debootstrap. > > > >=20 > > >=20 > > > Why do you use term 'bootstrap'? It's completely different topic > > > than > > > debootstrap. > >=20 > > Because I want to be implementation independent. If for some reason > > someone wants to change the name of the tool again (I know its not > > to > > be expected), this way only the implementation of the isar- > > bootstrap > > needs to be changed. > > In theory with an alternative implementation of some interfaces > > other > > distribution could be supported. I don't know in which direction > > isar > > will go, but binding your interface names to tightly to the name of > > some third-party products is not a good idea. > >=20 > > What I tried is called loose coupling and that is generally seen as > > a > > good software design pattern. > >=20 > > > According to the wiki: > > >=20 > > > https://wiki.debian.org/DebianBootstrap#Bootstrapping > > >=20 > > > Bootstraping is a process of creation Debian from zero to a full > > > archive. > >=20 > > The word "bootstrapping" is used in many projects and generally > > describes starting something from almost nothing. Also this > > patchset > > doesn't use "DebianBootstrap" is uses "isar-bootstrap". >=20 > In this case just do not use terms from Debian world. I didn't. I use 'isar-bootstrap' and neither it nor its parts 'isar' nor 'bootstrap' is a term that is exclusively used with Debian.=20 'bootstrap' is a common term in computer science with many different meaning. If someone heard 'bootstrap' only used by the Debian project before, that that is their problem. I think I heard it first in some projects as the 'bootstrap.sh' shell script that takes care about initializing the build environment correctly. I might have been a bit confused when I heard that they also describe the first compilation of compiler by an other one written in a different language as bootstrapping, but that might just be because English is my second language. > It would be enough=20 > to name it like 'base-rootfs'. That's for example, how 'buildchroot'=20 > term was invented, to avoid intersections with 'sysroot' and > 'buildroot'. 'sysroot' and 'buildroot' are names that where invented by someone, 'bootstrap' is a word, like 'face' or 'book'. I don't automatically think of 'facebook' just because I read the word 'book' or 'face' in some other context. Personally I don't like to add another '*base*' thing to isar. We already have 'isar-image-base' and 'dpkg-base'. And this recipe is should not be used as a 'base' to be included or inherited upon like the others. So 'base-roofs' as a recipe name does not fit IMO. (Also when I hear 'base' I think about numbers and get very confused ;) I still prefer 'isar-bootstrap' since its output should be what of some kind of distro-specific system bootstrap machanism, like debootstrap, febootstrap (now supermin), pacstrap, ..., generates. If the distro-specific bootstrap mechanism builds its 'bootstraped root file system' from a bunch of binary packages or directly from source is implementation and distro specific. So the distinction only makes sense in the upstream project but not here, since we are just using what the upstream distributions provides for general consumption. regards, Claudius --=20 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 PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net --=-IGADcWpX+U9SE1JVo4I7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEb/LlnwDGvCgx2GTBEXPLGZgIsVMFAlqpLkMACgkQEXPLGZgI sVPWiA//YdAp3QoIcox5Bsbn+TK6CE66V+xX9cVjDrOFcppoRWGZuJy14uZ7lwk3 O1WzvzNpO1XyW9B1TGWkNgSgz54+8VIqXQIQFuVe3EsI4qGr+8aWIYjffr3uv/tM asvb+ohWh1xjtLnhTeKnFBbXY2lY3nDuPECjiAaMD5aQNRBwiX9Lh27ktITYF3Sd 2oV2MEzYkh2RXq2yXmLefWmG+3MSydZHOPPVUVRdOWn4t57tLm2HgS+3j0F+/hh7 Ttgr8AK6O5PE2aRuuSo/l+Z4lyVr7pVJjC+As9td6qHcxVMtwDTCqu30vvwzL173 CnEwx6WQZBnWbsrs1CCmNsc5z60rQp7li89Zu7bvKOJ5JzQ5CyRahPWFk9zqHxEh XZp4mCHTZwkJbSADu/W7bxRQcgQnRZrYSaT/jc8W7L+U3sjvUCzOKapkOyexqgvA 7GVNrPNzENPDoSsn58sGZDUYPIsJjGd/RC/dFFiiYtjkoNpj39+vQygCWOUZMDPw jujngs5l1xQBUepWaobKO8fxmaFEgpUS5SReZcOR1SXTfgvrd9DmCnnGHp69ir4j 3f86T2caX10/A3U3wUZnhlR7AHszLqxvxMoQikOyvq0Mk0PmJ6jt8MYfpxYozw4U Y48T4d8gH1Q6HfdssMCAXEFAfCMqB4TgMVuXj8B128mpxjS7lDk= =JDrL -----END PGP SIGNATURE----- --=-IGADcWpX+U9SE1JVo4I7--