From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6540161972509343744 X-Received: by 10.46.157.215 with SMTP id x23mr476132ljj.35.1522750121667; Tue, 03 Apr 2018 03:08:41 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.115.10 with SMTP id o10ls1750202ljc.11.gmail; Tue, 03 Apr 2018 03:08:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx49uEjvKggZ9dkJ9C2iDvYdyCEO2dmXg5EKsLQichyvxwHh6lYhq8NrO146xADTF1ygVuhpl X-Received: by 10.46.157.215 with SMTP id x23mr476130ljj.35.1522750121076; Tue, 03 Apr 2018 03:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522750121; cv=none; d=google.com; s=arc-20160816; b=ihxg79THSlYTGmfRht0yyxZ5Ip3IlAwebSgO+LFmBvBZLYn3kKln7IhDdrWhTuNtR6 XWs8s22D1aJQr8JksuDOnnWIsBp+QW5bCIb1M1a7gCXwj0tLF5GX5iqEWZ59rADaABPk KMAcQZKic/yS3Z0xw0d2qh1ce1gJuzzwrVPC09istHJUabDuak8L56boryOBef4m3iB9 KrTatCtzS7WSQMHyRC/AghgF2J9igqa+vup97VbVQ+jOoQg+1MjIrTXCUTLEci2PtFjG Hzd/W367cAiHLBF9tHeK6bE6O5KREpltAYusqPLlLpTzdbQ0zMycfBtp9t/PEGc/SFpu 9apQ== 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=XDQRCJClGWzfhQudkFXvUREBmQUZwfdGxMNR44dqQTo=; b=iV1bRYkfUq8WeM9NrIW6nxw5JnUh0HnGpjYPJVtd0vfB49W2c+mPtAaUDc43aqxUyD BNO7uAhYcJs6gR8nmsjqcicHboxYvMFJj2emQ8P02tMpDBe1DSPvfLj9pSDoY2rodfvx PKgl4TAvz69G+8fg1zO6hi+2vp7v9LGyOZfsZXJjiRpO6/+SaUEYV282ZyuL9twYgiQ6 uiRkZzktqf0r9lSaanBfxTgQ9iKpOemPPGkRGcrZL8YtIiUiUPcWECYWQaE2kpi4IIPq MKMaW0DDXzN/hHHvKBvmBHrRvaGv9nlPpuM9pvZi7UQy6d0Z4zpwWgLV7MUGwE5xio6D 3GUw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id d14si3218ljj.5.2018.04.03.03.08.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 03:08:40 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id w33A8e7G019497 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Apr 2018 12:08:40 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w33A8eeO025465; Tue, 3 Apr 2018 12:08:40 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v5 0/5] Debootstrap integration Date: Tue, 3 Apr 2018 12:07:57 +0200 Message-Id: <20180403100802.30710-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.16.3 X-TUID: wpKOKcs2bPlh From: Claudius Heine Hi, this is the new version of this patchset, that fixes the generate_keyring task in isar-bootstrap for systems with read-only homedir. best regards, Claudius Changes from v4: - added 'homedir' parameter to gpg command in isar-bootstrap 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 | 206 +++++++++++++++++++++ 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, 311 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.3