siemens / kas

Setup tool for bitbake based projects
MIT License
339 stars 145 forks source link

kas does not use netrc file #94

Closed minhix closed 4 months ago

minhix commented 1 year ago

As the title says, somehow kas does not pick up the netrc.

Info about system:

Command: NETRC_FILE=./netrc kas shell my_kas_config.yaml always asks for Username

2023-02-27 09:39:50 - INFO     - Repository meta-clang updated
...
Username for 'https://gitlab.com':
2023-02-27 09:39:51 - INFO     - Repository poky updated
2023-02-27 09:39:55 - INFO     - Repository meta-freescale-3rdparty updated
jan-kiszka commented 1 year ago

Try with an absolute path for NETRC_FILE, that should work. By the time that var is used, the current dir might be different.

jan-kiszka commented 4 months ago

Feel free to reopen if the issue was not solved meanwhile.