Hi everyone!
Has anyone managed to use SDKManager (1.3) without any user interaction (e.g., download, …)? I am trying to use it in a CI to generate certain artifacts (custom modules, dtb and config and maybe store the rootfs somewhere. For this I am trying to cache the downloads on our shared Gitlab cache and require a non-interactive mode. Everything is done inside a docker container.
The authentication does not support --user
anymore for Devzone-accounts. But I can live with the manual login via the static auth URL (as I do not execute the download only when needed). But even with --license accept
I get some user queries like for the privacy policy regarding usage collection and I am guessing I would get those even if I am in offline mode later when installing.
Any other solution or could NVIDIA just add options to answer any query?
Ideally we could set it directly via an arg or via --settings option.blah value
or via the response file.
Btw: If I use the settings mode interactively sdkmanager crashes locally (and continues to crash) after I answer the “Update” question with No.
Error: unhandledRejection
at Object.cliCrash (/snapshot/__main__/headless.bundle.js)
at process.<anonymous> (/snapshot/__main__/headless.bundle.js)
at process.emit (events.js:315:20)
at processEmit [as emit] (/snapshot/__main__/node_modules/signal-exit/index.js:161:32)
at processPromiseRejections (internal/process/promises.js:209:33)
at processTicksAndRejections (internal/process/task_queues.js:98:32)
Also manually configuring settings interactively via the command line using sdkmanager --settings
before executing the download command still asks the user interactively, although data collection was enbaled or disabled via settings before.
Best regards,
Markus