public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Adding apt_auth_conf to ISAR
@ 2021-06-21 15:51 Schultschik, Sven
  0 siblings, 0 replies; only message in thread
From: Schultschik, Sven @ 2021-06-21 15:51 UTC (permalink / raw)
  To: isar-users


[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-21 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 15:51 Adding apt_auth_conf to ISAR Schultschik, Sven

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