From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6524973730788016128 X-Received: by 10.80.141.16 with SMTP id s16mr116580eds.7.1519305548074; Thu, 22 Feb 2018 05:19:08 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.133.197 with SMTP id q5ls2071718edh.1.gmail; Thu, 22 Feb 2018 05:19:07 -0800 (PST) X-Google-Smtp-Source: AH8x226zb/pPAXV/U+tzbxwHzw32gatNe7Ec3D2JAJs9IMUCM0ZFhezaVrxGfZ3h+gA8fbrbUTKm X-Received: by 10.80.149.81 with SMTP id v17mr2315584eda.10.1519305547482; Thu, 22 Feb 2018 05:19:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519305547; cv=none; d=google.com; s=arc-20160816; b=BQ8JAh+PZ6AVcE55jLZnBM9GQ9/4QZbmFko9+YP4V0vElSQYamSSOJP24RFAjFXWnL I12svsg2oRl6tjk1hFnQU44VHsEJA0M8qbAeuu9wdwKrdzUngOWuVC+MAKJqGnP0qrRL dr6dCJ4oOKxZ/8m+/S/bWMNC3QRMmP2/Npz/jP/6PVAIpsyEg+3QNLo7clLQT6+NAcgi 11ZBlSkcLTZlxlAYLcmldz6bD9DURzi7SO9ZFDfWDVif//WTZ4RemmljZ++v7ftic05p ra8ozFLiDOrdlr+14ppiCj9XvqEa/aHylKspe0lW72PI3Ou4CRxe24GEU3QdweRcE+BE ec5w== 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=nS1tBYAebL6A0sSwue76FPl4jQFhWKTMVc07PhvSo8E=; b=Ee5cjmRjoRVzKyOEAQYJ7S1E8jT7IGZmYInOdeWnSADb8xulqKpSa1ptSV+MD50fGY zsDjfyPyB3/ZwKassEmXnzDHiV8pkAt52QmE/yqRuHvR594Sb04TsGjfSuxU3y06Ez2t VCAgkry4SKqKeCdOz20OwcE7Wc77dfzW/tS+Xu+SZeAbCSQbhLhzjo9g1PPXvCFmdUPS stt4f8s9XF3EGVcNF8Qu3eDcqu5bCyAXx3OHt3UMpTvPvSFqjjoYlUo8ZbCTPm6M/cOt IigvXcm4rebMkO3XX6FeBR+1+89YhmeGM6IjGJESJI7L/0PTqKth2ii351sqa4Ft4WGj jbZQ== 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 i90si7289edd.3.2018.02.22.05.19.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 05:19:07 -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 w1MDJ6kC009552 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Feb 2018 14:19:06 +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 w1MDJ6Te022389; Thu, 22 Feb 2018 14:19:06 +0100 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v2 0/5] Debootstrap integration Date: Thu, 22 Feb 2018 14:18:56 +0100 Message-Id: <20180222131901.20915-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.16.1 X-TUID: 8hxjLnrHapKM From: Claudius Heine Hi, this is the new rebased and fixed version of this patchset. Cheers, Claudius 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 | 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 | 77 ------------- meta-isar/recipes-core/images/isar-image-base.bb | 61 +++------- 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 | 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 | 82 ------------- 23 files changed, 222 insertions(+), 379 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/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