Skip to content

Conversation

watwea-heaviside
Copy link

Description of changes

Add coreutils to device scripts (i.e. flash script, initrd flash, etc.). Because the tools in this package were missing, a packaged version of the script (built for 3rd party use outside of a nix-enabled machine) using nix bundle .#SCRIPT_NAME resulted in errors like:

...initrd-flash-orin-nx-devkit: line 9: mktemp: No such file or directory
Testing

rebuilding with the coreutils package on an x86_64-linux system results in successfully running the script packaged with nix bundle --out-link ~/script .#SCRIPT_NAME; ~/script without the missing file error above

@danielfullmer
Copy link
Collaborator

So, coreutils is already present in flashDeps, do regular flash scripts work with nix bundle and is it just an issue with initrdFlashScript?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants