From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.25.207.69 with SMTP id f66mr202465lfg.28.1519234650422; Wed, 21 Feb 2018 09:37:30 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.210.77 with SMTP id j74ls217826lfg.4.gmail; Wed, 21 Feb 2018 09:37:29 -0800 (PST) X-Google-Smtp-Source: AH8x2274d/09yVKZ14h25laqudAknk0dNRG7VrI/uInOq75M/IfANb4niaADbe4Y1II7AEKWfvL/ X-Received: by 10.25.242.13 with SMTP id q13mr259415lfh.16.1519234649573; Wed, 21 Feb 2018 09:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519234649; cv=none; d=google.com; s=arc-20160816; b=czaMQRFvZc2gkwBD5fXdGF9ZqcaJKxHu+FDWzIGhcsQx/W5jUN2PMuTGAROcSJZxY0 PINr5MrIxvMatuHQZSC8OVirSmDeujQriNPpWnnPaXTNXLmfJVOxavpqtzunc9yINUXZ c79YpmY1CAwq3QGrnvkiGytP9ccr3/3MOyPpfIcxNPSnwyhRYU10blNRwc10wYVFyBSl JcBkehjTvVGwXalQ8RF3ngydOPfrmn80YOm5SwRKRDgv+xJEFbhd8XqnmJ0yIQ3gLRq2 SLyBX6udS2Hfmu1bjoap4cG+sIyhQQINhUhVDkFmyBgNQumK5yKh1IC3wtQN5e+9zCzV yW6w== 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 :arc-authentication-results; bh=RpuPpSiVM5fgoUq8OAqueQKM2u2LU6OwJnGd8wPF12c=; b=rtvSpChBinyVPkeIscuDxDwkiOfrhA0WLl1uy1c/yqRoz+cvI3adxlMbwAqkGftH0W 0AS125Rf9nkCsP3M4M24CjTOZpaCOunC844pnZEi1p0fcbKuOsiujSI1+zpTT/uHECsm XTKEd0N/Tehq0y+Vxq91p06eRDoR3ZV+08hY0Z8DmuhJF3Uq3zoPMhIR+91+IAh4Wkq/ cuBiTNgS0JDq9M+K9ES0jaOg/pm84d4XfgwfY5xF36gJvyPWdG8xz4ypu8cIFXNhZV/X FA3wUL2K++ZfK01g4YQl29bK5hJMyIAiK6+j16r5TIlmR9/3F759xyVjHsrEUo4HTKP3 /ywg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id b10si361223lfe.4.2018.02.21.09.37.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 09:37:29 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w1LHbSEd031298 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Feb 2018 18:37:28 +0100 Received: from [167.87.0.171] ([167.87.0.171]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w1LHbRd2026074; Wed, 21 Feb 2018 18:37:27 +0100 Subject: Re: [PATCH 0/5] Debootstrap integration To: "[ext] claudius.heine.ext@siemens.com" , isar-users@googlegroups.com Cc: Claudius Heine References: <20180221115003.11163-1-claudius.heine.ext@siemens.com> From: Jan Kiszka Message-ID: <4cd931df-35e1-f0ee-a8c4-89e8b49488c7@siemens.com> Date: Wed, 21 Feb 2018 18:37:27 +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: <20180221115003.11163-1-claudius.heine.ext@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: tSBAbks3zC0L On 2018-02-21 12:49, [ext] claudius.heine.ext@siemens.com wrote: > From: Claudius Heine > > Hi, > > this patchset contains the change from multistrap to debootstrap. > Nice! > There are a view points left on the TODO list, but I think its now at a > good state to start the discussion about this. > > Here is the TODO list: > > TODO: > - Move "DISTRO_APT_SOURCE" and "DISTRO_COMPONENTS" to source list > - requires some parsing of the source.list format Would you consider this todo a blocking point for merging your series (provided it otherwise works)? The other points below I would see as things that could be done on top. Jan > - Implement mirror support > - requires some parsing of the source.list format as well > - propose handling it similar to how PREMIRRORS is done in oe[1] > - Implement sharing of apt database: > - bind mount local apt index (/var/lib/apt) > - ro mount is not possible since it needs to update the isar-apt repo > maybe forbid writing to non-local indexies some other way.(ideas?) > - bind mount rw local apt package cache (/var/cache/apt) > - some care must be taken that no recipe calls 'apt clean' before > that is umounted. > > [1] https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-PREMIRRORS > > Cheers, > Claudius > > Claudius Heine (5): > implement isar-bootstrap using debootstrap > meta/isar-bootstrap-helper.bbclass: handle rfs customization centrally > meta/buildchroot: switch to using isar-bootstrap > meta-isar/isar-image-base: switch to using isar-bootstrap > meta-isar/multiconfig: remove multistrap references > > meta-isar/conf/distro/debian-jessie.conf | 9 +- > meta-isar/conf/distro/debian-jessie.list | 2 + > meta-isar/conf/distro/debian-stretch.conf | 7 +- > meta-isar/conf/distro/debian-stretch.list | 2 + > meta-isar/conf/distro/debian-wheezy.conf | 9 +- > meta-isar/conf/distro/debian-wheezy.list | 2 + > meta-isar/conf/distro/raspbian-jessie.conf | 8 +- > meta-isar/conf/multiconfig/qemuarm-jessie.conf | 2 +- > meta-isar/conf/multiconfig/qemuarm-wheezy.conf | 2 +- > meta-isar/conf/multiconfig/rpi-jessie.conf | 2 +- > .../recipes-core/images/files/download_dev-random | 24 ---- > .../recipes-core/images/files/multistrap.conf.in | 38 ------ > meta-isar/recipes-core/images/files/setup.sh | 67 ----------- > meta-isar/recipes-core/images/isar-image-base.bb | 59 +++------- > meta/classes/isar-bootstrap-helper.bbclass | 36 ++++++ > meta/recipes-core/isar-bootstrap/isar-bootstrap.bb | 128 +++++++++++++++++++++ > meta/recipes-devtools/buildchroot/buildchroot.bb | 54 ++------- > meta/recipes-devtools/buildchroot/files/build.sh | 2 +- > .../buildchroot/files/configscript.sh | 10 -- > .../buildchroot/files/multistrap.conf.in | 37 ------ > meta/recipes-devtools/buildchroot/files/setup.sh | 72 ------------ > 21 files changed, 214 insertions(+), 358 deletions(-) > create mode 100644 meta-isar/conf/distro/debian-jessie.list > create mode 100644 meta-isar/conf/distro/debian-stretch.list > create mode 100644 meta-isar/conf/distro/debian-wheezy.list > delete mode 100644 meta-isar/recipes-core/images/files/download_dev-random > delete mode 100644 meta-isar/recipes-core/images/files/multistrap.conf.in > delete mode 100755 meta-isar/recipes-core/images/files/setup.sh > create mode 100644 meta/classes/isar-bootstrap-helper.bbclass > create mode 100644 meta/recipes-core/isar-bootstrap/isar-bootstrap.bb > delete mode 100644 meta/recipes-devtools/buildchroot/files/multistrap.conf.in > delete mode 100755 meta/recipes-devtools/buildchroot/files/setup.sh > -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux