From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.46.2.69 with SMTP id 66mr131949ljc.23.1519213833951; Wed, 21 Feb 2018 03:50:33 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.123.4 with SMTP id w4ls128457lfc.6.gmail; Wed, 21 Feb 2018 03:50:33 -0800 (PST) X-Google-Smtp-Source: AH8x224M0P1jOcHGnSrwsBHZ+ahyllFdUvRkll1EDBV9o669xOq/+RMuabkMh57O3hAlvJErOlAI X-Received: by 10.25.157.193 with SMTP id g184mr163352lfe.37.1519213833346; Wed, 21 Feb 2018 03:50:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519213833; cv=none; d=google.com; s=arc-20160816; b=gkMWw0Uy3YTYux2cO9tCL4I2apdZg1ItxS2Thi+HrWwmXgIIt/fT4jpw7tJwlUlMMn vx5p8RCg+g/d9wRJ4uNh5hzCQwrjjoW2tSd4t9Hisalu6oe6GwZsZhywelDcvNF8lVZd 4njbepBLrPv3Mlac9kkXttUxVEc3B/iZETWHIEhmlL0Em00Tra3Gg50+/p0YsCo9K7Jd cHcMShiUvEiX1Hg5z7j+snOZAZZ9jcWJ0x023Vbhu5p81xPdvHiLCH8MXhWT+tY7Vzuv ypCLLTvCZNZV/1vuJ566TmglyJK1DPw9mnJ1RLRafig2Jx+fASQJxZfLqe8norZPjuF5 CQMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=z+e2bmQrJd309gvYr5jaPLC54Hb2xI222MWgF1pVDSM=; b=AlaraY8KvVAdN6rSuqOWO7OptgUUrxFAdqQMOcnl0non0PVrOwxds/GbVWzs0pEVce Ui79j0gku9Myp0QXPcJFOTyzv+SSQ8b67/vojDXbpSSiAM/hkffWzfkuuQXPlxQuFObU y6r8c+Dr488/zNApyhE8EVex3WdfEXlOrtlz/Dot+/Hn928eqvJ/mp0LwKi/3qLLVe0F rfCuZhg9iaDFiroD+UYklc4SJNk9rqatHhMDK8w1engBvg9S3SbYCFhOQGkHLsjq7O2Q 0ncchnIlSFjGDkK7HoCnzfs7GwnWZb6jTCOpO9Yill1DnXmRqSgEZU88236VeviuJ8Mx LU8w== 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 z25si171993lfg.5.2018.02.21.03.50.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 03:50:33 -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 w1LBoWoX032297 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Feb 2018 12:50:32 +0100 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w1LBoWNr020019; Wed, 21 Feb 2018 12:50:32 +0100 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 0/5] Debootstrap integration Date: Wed, 21 Feb 2018 12:49:58 +0100 Message-Id: <20180221115003.11163-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.16.1 X-TUID: K9zINmMmHan3 From: Claudius Heine Hi, this patchset contains the change from multistrap to debootstrap. 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 - 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 -- 2.16.1