From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.25.141.7 with SMTP id p7mr1641806lfd.29.1520441103541; Wed, 07 Mar 2018 08:45:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.23.194 with SMTP id 63ls244744ljx.8.gmail; Wed, 07 Mar 2018 08:45:02 -0800 (PST) X-Google-Smtp-Source: AG47ELtSeMNTy8ZefohmEFqvlsh/98ZjsJChKEyeF/q/XqZVXtEEwmUkesOvDQ8Or+YFlyYy7fqD X-Received: by 10.46.84.66 with SMTP id y2mr1543674ljd.5.1520441102791; Wed, 07 Mar 2018 08:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520441102; cv=none; d=google.com; s=arc-20160816; b=i+3QDU6LGMhe/IcCCo+zVKgjbOLjHz3cjY8VhWX7qQ5u3IfUTggKHRwRHI2PSvqRDS JTIeHphu5jFeCMgc6wAEnRfsHAjSfQxnBeGdKmmy7oCWeVPuReaPXIYKslRFyABisLow Yn1H7kTTsGtc8savaG9w66T9b6ckD3ReOl+fifTrf28TAz8Aej2hiU+Pnv13TZSPOWD1 IhCwzw8D2shQwZ+uFtLIH37O03iXD79N00eXPR1cimiL2t99c32MDdRpCk+T5QaVkQ2F xUD8Lfy2d3WWPJ/ZLNxwjcHyi4e6V4u8KJCT2a0lWUk+SlvKJVqmYZI0H+mrmC/SsqSQ 1bpA== 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=tnSvbu5T4Aavq8MKD8KzxmCt7W3KzlmwOg+OqFamRbc=; b=GWOQOAMcB8wYmZ00v6m7EB9rWr24Vqw80lbp9SKsBTPZXBraW2/zjsLIVXnJO5J1mm AXVS2thTv4xxDi4dHtVtyk0CLhdfvvFml3ft4fwMNDpR1KQndjhEKUQogZaLvEwBUGb0 EZH7f7BUv7Fbl4lIYHp6l6CzA0QyZQgprxxv0A+TqC4snjwBaOyV4p6KDdOA9VCgllM1 5rOgIk6aS8ciewT/AQ/b0hvbufmBHXjcNOaFO5tPK8Sslt+2qD/mAZQLDYhyqLHkII1+ JmaElyYfvIhWXhD/XYpMATHSL6pY2uZ3HSeMP5AGB1M/r6lc9KLNKALpYE5Y7pVQBfXt mb9w== 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 w7si630528lfc.2.2018.03.07.08.45.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Mar 2018 08:45:02 -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 mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w27Gj1qx007245 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Mar 2018 17:45:01 +0100 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w27Gj1e7025573; Wed, 7 Mar 2018 17:45:01 +0100 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v4 0/5] Debootstrap integration Date: Wed, 7 Mar 2018 17:44:52 +0100 Message-Id: <20180307164457.31933-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.16.1 X-TUID: cJeuqYRcvPmn From: Claudius Heine Hi, sorry, just saw a small error, some changes to isar-bootstrap got into the buildchroot patch. Cheers, Claudius Changes from v3: - A small modification to isar-bootstrap.bb snuck into the buildchroot patch. Changes from v2: - rebased to current next - added missing newlines at the end of file - use cleandirs with root permissions this could be improved in some later patch series, so that this feature can be shared. - moved main source url of packages to apt source list files of the distributions: - Implemented some basic parsing of source.lists files in isar-bootstrap. - Made 'DISTRO_SUITE', 'DISTRO_APT_SOURCE' and 'DISTRO_COMPONENTS' variables obsolete. - implemented repo key fetching to support rasbian repositories - now the clean task removes the symlink of isar-bootstrap deploy task Changes from v1: - rebased to current next - added unmounting of /dev and /proc at the end of do_rootfs in isar-image-base This was necessary for image file creation, otherwise it tried to package stuff from the host. - added 'isar-bootstrap:do_deploy' dependency to do_rootfs task in image.bbclass. - Changed 'RFSDIR' variable name to 'ROOTFSDIR' in isar-bootstrap-helper.bbclass to be consistent with the variable name in isar-bootstrap.bb - Moved 'isar-apt' apt-preference settings from isar-bootstrap.bb to isar-bootstrap-helper.bbclass - Removed '--no-install-recommends' parameters in favor of adding the apt configuration in 'isar-bootstrap.bb' - unmount and remove possible existing bootstraped directories before bootstrapping in do_bootstrap task of 'isar-bootstrap.bb' - changed from /dev ro bind mounts to mounting devtmpfs to /dev to be consistent with the other places where /dev is mounted. 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 | 3 + meta-isar/conf/distro/debian-stretch.conf | 7 +- meta-isar/conf/distro/debian-stretch.list | 3 + meta-isar/conf/distro/debian-wheezy.conf | 9 +- meta-isar/conf/distro/debian-wheezy.list | 3 + meta-isar/conf/distro/raspbian-jessie.conf | 12 +- meta-isar/conf/distro/raspbian-jessie.list | 1 + meta-isar/conf/local.conf.sample | 4 +- 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 | 77 -------- meta-isar/recipes-core/images/isar-image-base.bb | 64 +++---- meta/classes/image.bbclass | 2 +- meta/classes/isar-bootstrap-helper.bbclass | 39 ++++ .../isar-bootstrap/files/isar-apt.conf | 2 + meta/recipes-core/isar-bootstrap/isar-bootstrap.bb | 205 +++++++++++++++++++++ meta/recipes-devtools/buildchroot/buildchroot.bb | 59 ++---- 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 | 82 --------- 25 files changed, 310 insertions(+), 388 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 create mode 100644 meta-isar/conf/distro/raspbian-jessie.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/files/isar-apt.conf 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