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

flash-tools: add back missing lz4c program #256

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

jmbaur
Copy link
Contributor

@jmbaur jmbaur commented Dec 12, 2024

Description of changes

Since lz4/lz4@65998fe,
the lz4c symlink no longer exists, but is wanted by flash.sh. The
lz4 program adds a set of legacy cmdline flags when argv[0] is
lz4c (see https://github.com/lz4/lz4/blob/6cf42afbea04c9ea6a704523aead273715001330/programs/lz4cli.c#L444),
however NVIDIA doesn't use any of these legacy flags in flash.sh, they
only require the lz4c program to be in PATH.

Testing

Building the bup derivation for an orin-agx-devkit no longer fails using a nixpkgs rev from the nixos-24.11 release.

Since lz4/lz4@65998fe,
the lz4c symlink no longer exists, but is wanted by `flash.sh`. The
`lz4` program adds a set of legacy cmdline flags when `argv[0]` is
`lz4c` (see https://github.com/lz4/lz4/blob/6cf42afbea04c9ea6a704523aead273715001330/programs/lz4cli.c#L444),
however NVIDIA doesn't use any of these legacy flags in `flash.sh`, they
only require the `lz4c` program to be in PATH.
@danielfullmer danielfullmer merged commit bc47712 into anduril:master Dec 18, 2024
1 check failed
@jmbaur jmbaur deleted the lz4-fix branch December 18, 2024 19:57
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