From: Henning Schild <henning.schild@siemens.com>
To: Baurzhan Ismagulov <ibr@radix50.net>
Cc: <isar-users@googlegroups.com>
Subject: Re: [PATCH 0/3] use local repo for multistrap and drop "dpkg -i"
Date: Fri, 11 Aug 2017 10:13:46 +0200 [thread overview]
Message-ID: <20170811101346.3f5e67d5@md1em3qc> (raw)
In-Reply-To: <20170810124627.GA3259@yssyq.radix50.net>
Am Thu, 10 Aug 2017 14:46:27 +0200
schrieb Baurzhan Ismagulov <ibr@radix50.net>:
> Hello Henning,
>
> On Tue, Aug 01, 2017 at 05:24:05PM +0200, Henning Schild wrote:
> > This series introduces support for a local repository to be used
> > instead of "dpkg -i" after bootstrap.
>
> Before we discuss it in detail: We have an implementation of apt
> generation that is also used for binary package caching across
> bitbake runs in the lenormf/develop-l20170602-dpkg-cross branch
> provided to Hans and mentioned on the list. Which advantages does
> your implementation bring?
As i said before there are too many branches and forks around. I would
like to keep the discussion on master and patches under review. A
comparison makes sense after someone sketched the changes in a few
sentences.
> I like your dpkg-scanpackages approach compared to reprepro in the
> existing implementation. Analyzing the rest and choosing / combining
> the optimal strategy will take some time.
I am not sure i like it because it is a plain directory. Reprepro
probably has its advantages but is more complicated.
> To speed up the process,
> could you perhaps sketch the changes in the workflow in a few
> sentences?
The idea behind it is to introduce one policy. Everything that goes
into the rootfs comes out of debian packages and their hooks.
Multistrap is the only entrance to the rootfs.
- solves dependency tracking compared to "dpdk -i"
- limits fetching of debs to multistrap
- if you fetch with "apt-get" in the chroot you get proxy problems
again
- you loose track of what you used for the rootfs
- your rootfs needs apt-get installed
- makes multistrap the valid candidate to tell us exactly what we used
and allow us to create a partial mirror for reproducible builds
- evaluate "retainsources" feature
Changes in the workflow:
- create a repo as the first image-task
- this one has to wait for all .debs to be built and copied
- drop do_populate which messes with the rootfs after our new
gatekeeper multistrap
> Regarding the kernel: Which arch and suite are you building for? We
> don't install kernels in QEMU images because they are not necessary.
That was just me building incorrectly, i did not know about the
"multiconfig:" thing.
> Regarding the increase of build time, I'd really like to avoid that.
Me too, that is why i started the discussion on caching. Giving up on
the gatekeeper idea would IMHO not be the way to go.
> Building all configurations in one run already takes up to 40 min.
CI is patient and for basic testing one does not need to build all of
them.
> The problem should be easily mitigatable by splitting rootfs
> multistrap and apt-getting the built packages into separate recipes.
Yes but that is what i mean with "giving up the gatekeeper". We could
implement both ways controlled by a variable in a config. That would
speed up the builds during development and allow switching to strict
gatekeeper mode for releases.
Henning
> At least I'm not aware of any increase in the existing implementation.
next prev parent reply other threads:[~2017-08-11 8:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-01 15:24 Henning Schild
2017-08-01 15:24 ` [PATCH 1/3] classes: images: remove cyclic "inherit" Henning Schild
2017-08-01 15:24 ` [PATCH 2/3] classes: move rootfs into image class and split into tasks Henning Schild
2017-08-01 15:24 ` [PATCH 3/3] classes: image: remove populate and replace it with a custom repo Henning Schild
2017-08-09 6:21 ` Henning Schild
2017-08-02 6:16 ` [PATCH 0/3] use local repo for multistrap and drop "dpkg -i" Jan Kiszka
2017-08-02 7:04 ` Claudius Heine
2017-08-02 8:15 ` Henning Schild
2017-08-02 8:11 ` Henning Schild
2017-08-02 8:12 ` Henning Schild
2017-08-03 19:17 ` Henning Schild
2017-08-10 12:46 ` Baurzhan Ismagulov
2017-08-11 8:13 ` Henning Schild [this message]
2017-08-11 15:36 ` 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=20170811101346.3f5e67d5@md1em3qc \
--to=henning.schild@siemens.com \
--cc=ibr@radix50.net \
--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