public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Alexander Smirnov <asmirnov@ilbers.de>
To: isar-users@googlegroups.com
Cc: Alexander Smirnov <asmirnov@ilbers.de>
Subject: [PATCH 0/6] Isar apt cache implementation
Date: Sun, 27 Aug 2017 18:13:33 +0300	[thread overview]
Message-ID: <20170827151339.12806-1-asmirnov@ilbers.de> (raw)

Hello all,

this is the first series that introduces apt caching feature. The full
implementation can be found in branch: lenormf/develop-l20170602-dpkg-cross

A few words about apt caching...

The key idea is to have possibility to create custom apt repositories
that could be published and shared between projects. So the packages are
built once, repo is created and the repo is used for further builds.
Also this repo could be used in already running systems via apt-get.
Another requirement for this feature is to follow Debian way, so
reprepro tool is used to manage binary cache.

The binary repo is introduced as a separate layer what simplifies
exporting of just-built repo and importing of existing repo.

The whole implementation is split into two steps to simplify the review:

 1. Basic apt implementation that allows to create binary cache. The
feature is introduced as optional (could be enabled by variable
DEBCACHE_ENABLED).

 2. Support for binary cache importing, the feature becomes official and
dpkg installation way is deprecated.

Alexander Smirnov (2):
  classes/dpkg: Split install for cache
  doc/technical_overview: Describe binary cache

Baurzhan Ismagulov (1):
  classes/image: Provide /dev/null for Stretch apt

Frank Lenormand (3):
  meta-isar-bin: Enable caching of deb packages
  meta-isar-bin: Enable apt repo generation for amd64
  classes/dpkg: Properly update packages in the cache

 doc/technical_overview.md                          |  59 ++++++-
 meta-isar-bin/conf/layer.conf                      |  18 +++
 meta-isar-bin/files/distributions.in               |   3 +
 meta-isar/conf/bblayers.conf.sample                |   1 +
 .../images/files/debian-configscript.sh            |   8 +
 .../images/files/raspbian-configscript.sh          |   8 +
 meta-isar/recipes-core/images/isar-image-base.bb   |   8 +-
 meta/classes/dpkg.bbclass                          | 174 ++++++++++++++++++++-
 meta/classes/image.bbclass                         |  41 +++--
 .../buildchroot/files/configscript.sh              |   1 +
 10 files changed, 297 insertions(+), 24 deletions(-)
 create mode 100644 meta-isar-bin/conf/layer.conf
 create mode 100644 meta-isar-bin/files/distributions.in

-- 
2.1.4


             reply	other threads:[~2017-08-27 15:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-27 15:13 Alexander Smirnov [this message]
2017-08-27 15:13 ` [PATCH 1/6] meta-isar-bin: Enable caching of deb packages Alexander Smirnov
2017-08-28 15:18   ` Henning Schild
2017-08-29  6:40     ` Alexander Smirnov
2017-08-29  7:51       ` Henning Schild
2017-08-29  8:20         ` Alexander Smirnov
2017-08-31 10:55     ` Claudius Heine
2017-08-31 11:20       ` Henning Schild
2017-08-31 12:08         ` Claudius Heine
2017-09-06 14:21   ` Henning Schild
2017-09-07 11:13     ` Claudius Heine
2017-08-27 15:13 ` [PATCH 2/6] classes/image: Provide /dev/null for Stretch apt Alexander Smirnov
2017-08-28 15:20   ` Henning Schild
2017-08-28 15:26     ` Henning Schild
2017-08-27 15:13 ` [PATCH 3/6] classes/dpkg: Split install for cache Alexander Smirnov
2017-08-28  8:00   ` Claudius Heine
2017-08-29  7:18     ` Alexander Smirnov
2017-08-30  8:54       ` Claudius Heine
2017-08-28 15:30   ` Henning Schild
2017-08-27 15:13 ` [PATCH 4/6] meta-isar-bin: Enable apt repo generation for amd64 Alexander Smirnov
2017-08-27 15:13 ` [PATCH 5/6] classes/dpkg: Properly update packages in the cache Alexander Smirnov
2017-08-28 15:32   ` Henning Schild
2017-08-29  7:20     ` Alexander Smirnov
2017-08-29  7:57       ` Henning Schild
2017-08-29 11:26         ` Jan Kiszka
2017-08-27 15:13 ` [PATCH 6/6] doc/technical_overview: Describe binary cache Alexander Smirnov
2017-08-28 15:36   ` Henning Schild
2017-08-29  7:29     ` Alexander Smirnov
2017-08-29  8:06       ` Henning Schild
2017-08-29 11:29     ` Jan Kiszka

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=20170827151339.12806-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