From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH v5 0/5] Debootstrap integration
Date: Tue, 3 Apr 2018 12:07:57 +0200 [thread overview]
Message-ID: <20180403100802.30710-1-claudius.heine.ext@siemens.com> (raw)
From: Claudius Heine <ch@denx.de>
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
next reply other threads:[~2018-04-03 10:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-03 10:07 claudius.heine.ext [this message]
2018-04-03 10:07 ` [PATCH v5 1/5] implement isar-bootstrap using debootstrap claudius.heine.ext
2018-04-03 10:07 ` [PATCH v5 2/5] meta/isar-bootstrap-helper.bbclass: handle rfs customization centrally claudius.heine.ext
2018-04-03 10:08 ` [PATCH v5 3/5] meta/buildchroot: switch to using isar-bootstrap claudius.heine.ext
2018-04-03 10:08 ` [PATCH v5 4/5] meta-isar/isar-image-base: " claudius.heine.ext
2018-04-03 10:08 ` [PATCH v5 5/5] meta-isar/multiconfig: remove multistrap references claudius.heine.ext
2018-04-04 20:34 ` [PATCH v5 0/5] Debootstrap integration Baurzhan Ismagulov
2018-04-05 8:03 ` Claudius Heine
2018-04-05 9:16 ` Jan Kiszka
2018-04-11 6:28 ` Baurzhan Ismagulov
2018-04-11 6:58 ` Jan Kiszka
2018-04-11 7:04 ` Claudius Heine
2018-04-09 10:50 ` Jan Kiszka
2018-04-09 12:48 ` Baurzhan Ismagulov
2018-04-09 14:47 ` Jan Kiszka
2018-04-10 11:38 ` Claudius Heine
2018-04-10 20:49 ` Baurzhan Ismagulov
2018-04-11 5:59 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180403100802.30710-1-claudius.heine.ext@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox