public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Benedikt Niedermayr <benbrenson89@googlemail.com>
To: Alexander Smirnov <asmirnov@ilbers.de>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	Cedric_Hombourger@mentor.com, isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: Re: [PATCH 0/5] support creation of a full repo for offline/reproducible builds
Date: Mon, 5 Feb 2018 12:22:25 +0100	[thread overview]
Message-ID: <c379d780-569f-eb57-7c2d-3473dfa9f6d2@googlemail.com> (raw)
In-Reply-To: <79ae1eda-9b5b-a000-8740-b6753a894cd4@ilbers.de>

Am 05.02.2018 um 11:26 schrieb Alexander Smirnov:
> In other words, there should be the only one component/recipe who 
> fetches the upstream packages.
>
> There is still open question, how to fetch all the packages: in a 
> single step or during the build.
>
> I want to have an option similar to Yocto's one: -c fetchall to have 
> possibility to fetch all the necessary artifacts and do not depend 
> from network anymore. 

Meanwhile I'm with you, in terms of your proposal. Fetching all packages 
at the beginning, would be easier to achive.
Otherwise I have no Idea how to solve potential remote repository 
updates between buildchroot and rootfs steps.


The other problem would be to resolve dependencies at the beginning of 
the build process.
I think "aptly" can do that hard work for us.
But this would require to replace reprepro with aptly.

I will implement a PoC with aptly which should cover the following:

1. Extract DEBIAN_DEPENDS from all recipes, as well as IMAGE_PREINSTALL 
and BUILDCHROOT_PREINSTALL.

2. Create an aptly mirror by setting the "-filter" option.
Aptly will resolve all dependencies when setting the filter option.
This is the most important step. If aptly fails to resolve dependencies 
correctly, I will abort my PoC.

3. Create a local Repo for Isar packages.

4. Start the build and let do_rootfs() refer to local mirror.


Benni





  parent reply	other threads:[~2018-02-05 11:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-04 17:54 Cedric_Hombourger
2018-02-04 17:54 ` [PATCH 1/5] base: add populate_repo task to include distro packages to the repo Cedric_Hombourger
2018-02-05 10:06   ` Alexander Smirnov
2018-02-04 17:54 ` [PATCH 2/5] meta: move reprepro handling code to its own class Cedric_Hombourger
2018-02-04 17:54 ` [PATCH 3/5] buildchroot: use reprepro to populate the full repo Cedric_Hombourger
2018-02-04 17:54 ` [PATCH 4/5] reprepro: create the -updates distribution Cedric_Hombourger
2018-02-04 17:56 ` [PATCH 5/5] multistrap: make the security feed optional Cedric_Hombourger
2018-02-05  7:18 ` [PATCH 0/5] support creation of a full repo for offline/reproducible builds Jan Kiszka
2018-02-05  9:11   ` Benedikt Niedermayr
2018-02-05 10:26   ` Alexander Smirnov
2018-02-05 10:31     ` Jan Kiszka
2018-02-05 11:22     ` Benedikt Niedermayr [this message]
2018-02-05 10:08 ` Benedikt Niedermayr
2018-02-05 10:16   ` chombourger

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=c379d780-569f-eb57-7c2d-3473dfa9f6d2@googlemail.com \
    --to=benbrenson89@googlemail.com \
    --cc=Cedric_Hombourger@mentor.com \
    --cc=asmirnov@ilbers.de \
    --cc=ch@denx.de \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.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