From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.28.30.215 with SMTP id e206mr973042wme.0.1519627430761; Sun, 25 Feb 2018 22:43:50 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.0.78 with SMTP id 75ls202564wma.4.gmail; Sun, 25 Feb 2018 22:43:49 -0800 (PST) X-Google-Smtp-Source: AG47ELsRjKjW5lXgkFVzUWcMZQ/7D28FIIk9B8SezkzzodOz3BEV8qHGdIkCX9xmAYWGur0ruwiG X-Received: by 10.28.170.145 with SMTP id t139mr100823wme.2.1519627429950; Sun, 25 Feb 2018 22:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519627429; cv=none; d=google.com; s=arc-20160816; b=rwZdb2Fvi/8dpGnU+DVCmRpF2myNEYAeAxyindaRGguRoAOdd0iU8cJN7v+bj3eKQH e9tx6StZGZPU24SLhr6lnzaTXsgoVSofNJlzB7NA7SClHKHv2eo4r9dWNrNAf2cNAVxA DjJ3b8legqMsK4e2SJo82AEo4lujlKO0AOzjoQX1d3dcMJbqTDfB6I9TsRJn26fWUt7P J52q5Erxr96B2AQIpeoyvN8creG4nTiRWDPVePKjFI/iRWSyJG++5M51iQAXJXO2wxDZ tCJouYqZut71Da+eDu19rzotnSeBEzt/gBPpuTcn10atw5qaTd6Qz9YmLGrlsRuRdyqP vJQw== 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:references:to:from:subject :arc-authentication-results; bh=NLxCmQYJvNHRTLdv6fd4nmrjWJVUj/nMgkIQLM2muVk=; b=CahB62J0/aNzWjHUlwe0ebWqhgVaRsM6WhrX36Zu6xnwgIT/03vDpxR/LC+ZxiHEPb KK0sHQpcpfMHkTErO3VMNk67zWBptdDuFCWBAugIxkD0Vt8B42cdii781FACEa8elNKT MqINt1xNzSGAcZ1mGgE8QCdZxeZVGBFpKAP97BxaD+n37VtflrgzSqOTuhvKgsMk+pXZ 1C4yDHK964rxIko3asxP5UcQJJQpVAqPYva9fDh1xTzuUYXV+9+9RVuyMS5VF9ytnzxd R0XL6bVD/ajmTBbek4Yriu+EiI/8Z/iL+IIlAopCC9GUm++nsh/BJJLkotldzg84m+m6 vLbg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id v8si399789wrg.2.2018.02.25.22.43.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 22:43:49 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@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 w1Q6hntZ011799 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Feb 2018 07:43:49 +0100 Received: from [167.87.68.67] ([167.87.68.67]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w1Q6hmhD002759; Mon, 26 Feb 2018 07:43:48 +0100 Subject: Re: [PATCH v2 0/5] Debootstrap integration From: Jan Kiszka To: Claudius Heine , Alexander Smirnov , claudius.heine.ext@siemens.com, isar-users@googlegroups.com References: <20180222131901.20915-1-claudius.heine.ext@siemens.com> <7f7c073f-804a-9f98-356d-7818928156ce@denx.de> <0aefe5d7-cf4f-b5c7-a58a-b6ca3c233142@siemens.com> Message-ID: <2c579e93-2c1a-7f7b-e76b-37f26d277497@siemens.com> Date: Mon, 26 Feb 2018 07:43:47 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <0aefe5d7-cf4f-b5c7-a58a-b6ca3c233142@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: UE/dI6x4R8AC On 2018-02-23 21:35, [ext] Jan Kiszka wrote: > diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb > index 0eb26f1..af9f494 100644 > --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb > +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb > @@ -75,6 +75,7 @@ do_bootstrap() { > "${DISTRO_SUITE}" \ > "${ROOTFSDIR}" \ > "${DISTRO_APT_SOURCE}" > + sudo rm -f ${ROOTFSDIR}/etc/apt/sources.list > } > addtask bootstrap before do_build after do_unpack > OK, this does not work as-is because the other targets do not have the primary repo in their list files. It would probably make sense to already migrate all repos into the list and extract the primary one from it, also killing DISTRO_APT_SOURCE. Anyway, I've tested the series and made some observations, mostly positive ones: - The generated images boot and run like the previous ones. Thumbs up! - The new installation way is stricter with packages, rejecting those that try to overwrite files of others. Multistrap was not doing this, and I would consider this a weakness of the old way. - Development round trip times can be shorter due to the initial single bootstrap that gets widely reused for the target image build. - We no longer set a hostname but leave it up to Debian to generate a random one. Maybe worth reintroducing this simple customization via an overwritable variable. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux