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

ZfsUnstable: 0.7.0-rc2 -> 0.7.0-rc3 #22020

Merged
merged 3 commits into from Jan 21, 2017
Merged

ZfsUnstable: 0.7.0-rc2 -> 0.7.0-rc3 #22020

merged 3 commits into from Jan 21, 2017

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Jan 21, 2017

Motivation for this change

As the default LTS kernel now requires zfsUnstable should we enable it by default? @fpletz

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@fpletz
Copy link
Member

fpletz commented Jan 21, 2017

@Mic92 I'm not sure if we should to be honest. Maybe downgrade the error to a warning?

One thing which is a little bit annoying from feedback from "my" users is that they don't know how to enable the unstable version, so I pushed a commit that adds a hint to the error message.

throw "linux v${kernel.version} is not yet supported by zfsonlinux v${version}"
(incompatibleKernelVersion != null) &&
versionAtLeast kernel.version incompatibleKernelVersion then
throw "Linux v${kernel.version} is not yet supported by zfsonlinux v${version}. Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."
Copy link
Member Author

Choose a reason for hiding this comment

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

this error message might become a problem, once unstable is also not compatible with mainline...

Copy link
Member

Choose a reason for hiding this comment

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

Yup. That's why I wrote "Try". 😄

@Mic92 Mic92 merged commit 7cb14d4 into NixOS:master Jan 21, 2017
@Mic92 Mic92 deleted the zfs branch January 21, 2017 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants