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