Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coreutils to device package scripts #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WatweA
Copy link

@WatweA WatweA commented Mar 11, 2024

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