-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove arch and zfs version dependency #8914
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8914 +/- ##
==========================================
+ Coverage 78.66% 78.75% +0.08%
==========================================
Files 382 382
Lines 117840 117840
==========================================
+ Hits 92698 92804 +106
+ Misses 25142 25036 -106
Continue to review full report at Codecov.
|
Unfortunately, I think it does need to be dependent on the zfs version, as the modules in |
Apologies if this is a n00b question, is "signed-off" supposed to be by me or a reviewer? Interesting, I hadn't expected 0.7.x to infer icp.ko dependency but 0.8.x to have it explicitly listed. Is there a reason why this has become explicit in 0.8.x? I have re-added the version dependency without the release/arch parts. |
It's because 0.8.0 officially supported encryption (icp.ko), and channel programs (zlua.ko). Also, I see that the 0.8.x |
Oops, disregard this! spl.ko was moved into the zfs repo for 0.8.x; it was not removed. It still needs to be in |
I think you need:
Also, can you squash these commits, and add a commit message and a Signed-off-by line to the actual commit (via |
Signed-off-by: Gordan Bobic <gordan@redsleeve.org>
I don't think -%{release} is required as it seems highly improbable that a feature will be patched in in a build time package patch. Commit message modified. I don't have squash permissions on this side. |
@gordan-bobic I agree, the |
Signed-off-by: Gordan Bobic <gordan@redsleeve.org>
Squashed from my side and added release version into version dependency. |
@gordan-bobic thanks, and I'm sorry. I badly typo'd above. I meant to say "I agree, the %{release} is not needed.". Can you update it one last time! |
No problem, @behlendorf, pushed. |
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gordan Bobic <gordan@redsleeve.org> Issue openzfs#8913 Closes openzfs#8914
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gordan Bobic <gordan@redsleeve.org> Issue openzfs#8913 Closes openzfs#8914
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gordan Bobic <gordan@redsleeve.org> Issue openzfs#8913 Closes openzfs#8914
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gordan Bobic <gordan@redsleeve.org> Issue openzfs#8913 Closes openzfs#8914
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gordan Bobic <gordan@redsleeve.org> Issue openzfs#8913 Closes openzfs#8914
Remove arch and zfs version dependency
Signed-off-by: Gordan Bobic gordan@redsleeve.org
Motivation and Context
zfs-dracut is automatically built for whatever architecture zfs is being compiled for. This is incorrect since zfs-dracut only contains bash scripts and is thus compatible with any arch.
Additionally, version dependency is unnecessary since this only requires a set of functionality basic enough to import the rootfs. For example, zfs-dracut 0.7.x works absolutely fine for creating bootable initramfs using zfs 0.8.x binaries.
It doesn't fix this issue, but it does help produce a zfs-dracut rpm that can be installed without errors and overrides when combating a regression situation:
#8913
Description
It's a relatively trivial change - it makes zfs-dracut build as a noarch package since it only contains bash scripts. It also removes the package's dependency on zfs of a particular arch and version since the functionality it needs is minimal.