From: Alexander Smirnov <asmirnov@ilbers.de>
To: isar-users@googlegroups.com
Cc: Alexander Smirnov <asmirnov@ilbers.de>
Subject: [PATCH v3 0/4] Basic binary cache implementation
Date: Mon, 25 Sep 2017 12:59:56 +0300 [thread overview]
Message-ID: <20170925100000.5368-1-asmirnov@ilbers.de> (raw)
Hello everybody,
this series introduces basic binary caching for Isar.
There is a new layer: meta-isar-bin which is intended to be the binary
cache. All the packages that are built in Isar are stored in this
cache using reprepro.
Having the separate layer makes possible to manage this cache separately
from the Isar build tree. So once you have built your packages, you could
re-use this cache for further builds.
Also this cache repo is now used to generate image filesystem via
multistrap.
Changes since v2:
- Droped anonymous functions
- Added number of attempts to access apt cache before fail
Changes since v1:
- Total refactoring
- Split huge patches into small pieces
- Avoid races
With best regards,
Alex
8<--
Alexander Smirnov (4):
meta-isar-bin: Add reprepro configs
meta-isar-bin: Generate cache repos
meta-isar-bin: Populate cache
meta-isar-bin: Install packages via multistrap
meta-isar-bin/conf/layer.conf | 14 ++++++++
meta-isar-bin/files/distributions.in | 3 ++
meta-isar/conf/bblayers.conf.sample | 1 +
meta-isar/conf/local.conf.sample | 4 +++
.../recipes-core/images/files/multistrap.conf.in | 9 ++++-
meta-isar/recipes-core/images/isar-image-base.bb | 5 ++-
meta/classes/ext4-img.bbclass | 2 +-
meta/classes/image.bbclass | 41 ++++++++++++++++++----
8 files changed, 69 insertions(+), 10 deletions(-)
create mode 100644 meta-isar-bin/conf/layer.conf
create mode 100644 meta-isar-bin/files/distributions.in
--
2.1.4
next reply other threads:[~2017-09-25 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 9:59 Alexander Smirnov [this message]
2017-09-25 9:59 ` [PATCH v3 1/4] meta-isar-bin: Add reprepro configs Alexander Smirnov
2017-09-25 11:25 ` Henning Schild
2017-10-02 15:51 ` Alexander Smirnov
2017-09-25 9:59 ` [PATCH v3 2/4] meta-isar-bin: Generate cache repos Alexander Smirnov
2017-09-25 11:43 ` Henning Schild
2017-09-25 12:31 ` Alexander Smirnov
2017-09-25 13:52 ` Henning Schild
2017-09-25 9:59 ` [PATCH v3 3/4] meta-isar-bin: Populate cache Alexander Smirnov
2017-09-25 10:00 ` [PATCH v3 4/4] meta-isar-bin: Install packages via multistrap Alexander Smirnov
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=20170925100000.5368-1-asmirnov@ilbers.de \
--to=asmirnov@ilbers.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