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

fix: Change bash shebang to use env #113

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

awebeer256
Copy link
Contributor

This is required for NixOS, where /usr/bin contains nothing but env. The sh shebang does not need to be changed, since sh is still in /bin on NixOS (in fact, it's the ONLY thing in that directory).

This is required for NixOS, where /usr/bin contains nothing but env.
The sh shebang does not need to be changed, since sh is still in /bin on NixOS (in fact, it's the ONLY thing in that directory).
@bigpod98
Copy link
Contributor

bigpod98 commented Jun 6, 2023

Just asking for clarification but what does NixOS have to do with ublue nvidia images and generating akmods keys for them?

@awebeer256
Copy link
Contributor Author

Per the readme:

If you are forking this repo, then you should add a private key to the repository secrets:

$ ./generate-akmod-key
$ gh secret set AKMOD_PRIVKEY < certs/private_key.priv.prod
$ cp certs/public_key.der.prod certs/public_key.der

This happens on whatever machine you're currently using, before you install the image (before you can build it, in fact). In my case, that was a NixOS machine.

@awebeer256 awebeer256 changed the title Change bash shebang to use env fix: Change bash shebang to use env Jun 6, 2023
@castrojo castrojo merged commit f2c3c41 into ublue-os:main Jun 6, 2023
@awebeer256 awebeer256 deleted the shebang branch June 6, 2023 04:35
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.

4 participants