public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC v1 0/3] Fix additional apt repos with foreign keys
@ 2019-02-26 13:48 Andreas J. Reichel
  2019-02-26 13:48 ` [RFC v1 1/3] Fix path to user gpg-keys Andreas J. Reichel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andreas J. Reichel @ 2019-02-26 13:48 UTC (permalink / raw)
  To: isar-users; +Cc: Andreas Reichel

From: Andreas Reichel <andreas.reichel.ext@siemens.com>

This patch series fixes problems when adding a additional repos
which need different gpg keys for authentication.

The patches are designed to make the existing 'API', i.e. bitbake
variables work, not to solve the remaining design problems.

On basis of this series, we should discuss how to further proceed
since there should be a destinction wether we change the bootstrapping
apt source or if we change the apt source for additional packages.

If we change the bootstrapping apt source, we already need keys
installed in the build environment to do the first debootstrap.

If we only want additional packages in the target rootfs, we only
need to add keys inside the target chroot.

Currently this is not possible and requires additional bitbake
variables, i.e. APT_KEYS_TARGET_PKGS, or APT_KEYS_TARGET_BOOTSTRAP.

Also the reason for the option I delete in patch 3 is unclear to me.
This way we could never add additional repositories.

Andreas Reichel (3):
  Fix path to user gpg-keys
  Refactor gpg code to use apt code
  Use all source lists in target root apt

 meta/classes/isar-bootstrap-helper.bbclass    | 14 ++++++++----
 .../isar-bootstrap/isar-bootstrap.inc         | 22 +++++++++----------
 2 files changed, 21 insertions(+), 15 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-26 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 13:48 [RFC v1 0/3] Fix additional apt repos with foreign keys Andreas J. Reichel
2019-02-26 13:48 ` [RFC v1 1/3] Fix path to user gpg-keys Andreas J. Reichel
2019-02-26 15:33   ` Henning Schild
2019-02-26 13:48 ` [RFC v1 2/3] Refactor gpg code to use apt code Andreas J. Reichel
2019-02-26 14:07   ` cedric_hombourger
2019-02-26 15:57     ` Henning Schild
2019-02-26 15:39   ` Henning Schild
2019-02-26 13:48 ` [RFC v1 3/3] Use all source lists in target root apt Andreas J. Reichel
2019-02-26 15:06 ` [RFC v1 0/3] Fix additional apt repos with foreign keys Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox