public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: "[ext] Jan Kiszka" <jan.kiszka@siemens.com>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: local apt repo cache not working as documented
Date: Wed, 28 Nov 2018 16:13:59 +0100	[thread overview]
Message-ID: <20181128161359.40702b85@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <c7022284-2064-b84e-a223-c2ef05c3a7c5@siemens.com>

Am Wed, 28 Nov 2018 10:04:36 +0100
schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:

> On 28.11.18 10:00, Baurzhan Ismagulov wrote:
> > Hello Henning,
> > 
> > On Tue, Nov 27, 2018 at 10:45:02AM +0100, Henning Schild wrote:  
> >> there is one more issue with that feature. The image you get will
> >> contain an invalid sources.list and will not be "apt-get
> >> update"-able, unlike the one we just "rebuild".  
> > 
> > Do I understand correctly, you suggest to replace the local URI we
> > bootstrapped from with the upstream URI from
> > meta-isar/conf/distro/<something>.list?
> > 
> > I agree that the local URI isn't of much use on the target (unless
> > one NFS-mounts the local repo), but I think that either variant is
> > an arbitrary product policy that won't fit every product. If they
> > target reproducibility, it isn't going to be a Debian URI anyway
> > (if apt is to be used at all).
> > 
> > That said, for meta-isar -- which is a playground -- that would be
> > convenient for the user. Feel free to submit a patch.  
> 
> It's a default feature for images based on isar-image.bbclass that
> apt-get install works if the target has online connectivity. That
> should not be destroyed. It's actually exploited downstream
> (jailhouse-images, xenomai-images, and even at least one upcoming
> product).
> 
> Allowing to overwrite which repos should be used or even to remove
> packaging from the target completely are additional features on top.

That is all already solved in Isar. You have DISTRO_APT_SOURCES where
you select what should be used for installation and for delivery. The
caching mechanism needs to change "installation" but there is no excuse
to break "delivery".

So yes, you need to undo the patching before do_image and get the user
back to what they specified in DISTRO_APT_SOURCES.

Henning

> Jan
> 


  reply	other threads:[~2018-11-28 15:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26  9:55 Henning Schild
2018-11-26  9:57 ` Jan Kiszka
2018-11-26 11:36   ` Hombourger, Cedric
2018-11-26 10:10 ` Andreas Reichel
2018-11-26 10:31   ` Henning Schild
2018-11-26 11:01 ` Maxim Yu. Osipov
2018-11-26 11:12   ` Henning Schild
2018-11-26 11:35     ` Maxim Yu. Osipov
2018-11-27  9:45 ` Henning Schild
2018-11-28  9:00   ` Baurzhan Ismagulov
2018-11-28  9:04     ` Jan Kiszka
2018-11-28 15:13       ` Henning Schild [this message]
2018-11-29 10:40         ` Baurzhan Ismagulov
2018-11-28 19:48 ` Henning Schild

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=20181128161359.40702b85@md1za8fc.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --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