public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Schultschik, Sven" <sven.schultschik@siemens.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Adding apt_auth_conf to ISAR
Date: Mon, 21 Jun 2021 15:51:30 +0000	[thread overview]
Message-ID: <VI1PR10MB3552A11ECB7F3804146ED6EE900A9@VI1PR10MB3552.EURPRD10.PROD.OUTLOOK.COM> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 891 bytes --]

Hi,

 

Sorry my fault, didn't notice that I still wrote at the KAS mailing list. 

 

Here is the short summary: 

I'm currently working on integrating a restricted Debian package feed. 

APT is using auth.conf file for this. It is working for me, but I now look
into inject the auth file from outside, so I don't have the credentials
within my source code.

 

 

Sorry I'm not that deep in the isar meta classes, but I looked a little bit
into them.

 

My first idea of how to integrate it would be to add into the
buildchroot.bbclass in the buildchroot_do_mounts something like 

 

cp -L /etc/apt/auth.conf.d/artifactory.conf
'${BUILDCHROOT_DIR}/etc/apt/auth.conf.d/'

 

So if such a file would exist inside the container, it would be hard linked
to the buildchroot-host

 

First try failed, but the question if I'm totally wrong or on the right
track?

 

Thanks

 

Regards

Sven


[-- Attachment #1.2: Type: text/html, Size: 3763 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 14944 bytes --]

                 reply	other threads:[~2021-06-21 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=VI1PR10MB3552A11ECB7F3804146ED6EE900A9@VI1PR10MB3552.EURPRD10.PROD.OUTLOOK.COM \
    --to=sven.schultschik@siemens.com \
    --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