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

kernel-builder: Call either of install or zinstall #268

Merged
merged 1 commit into from Dec 31, 2020

Conversation

samueldr
Copy link
Member

It seems that under specific conditions:

  • 2a5 hardware
  • -j22

the call to make install zinstall (simplified here) may break, with
the installation of System.map happening in a manner where it fails
the build. It was not trivial to reproduce elsewhere than on a 2a5
machine, for unknown reasons.

It was also only observed on google-walleye, but there is no reason is
shouldn't be failing on other devices too.

Odd.


More details:

It seems that under specific conditions:

 - 2a5 hardware
 - -j22

the call to `make install zinstall` (simplified here) may break, with
the installation of `System.map` happening in a manner where it fails
the build. It was not trivial to reproduce elsewhere than on a 2a5
machine, for unknown reasons.

It was also only observed on google-walleye, but there is no reason is
shouldn't be failing on other devices too.

Odd.
]
++ optional (isCompressed != false) "zinstall"
installTargets =
if isCompressed != false then [ "zinstall" ] else [ "install" ]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the odd != false? This is why:

nix-repl> let isCompressed = "gz"; in if isCompressed then "zinstall" else "install"
error: value is a string while a Boolean was expected

@samueldr samueldr merged commit 41923e4 into NixOS:master Dec 31, 2020
@samueldr samueldr deleted the fix/kernel-builder-walleye branch December 31, 2020 19:29
@samueldr samueldr added the 4. type: bug Something isn't working label Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant