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

Use /usr/lib/dracut/ for RHEL7 #2310

Closed
behlendorf opened this issue May 7, 2014 · 7 comments
Closed

Use /usr/lib/dracut/ for RHEL7 #2310

behlendorf opened this issue May 7, 2014 · 7 comments
Labels
Type: Building Indicates an issue related to building binaries
Milestone

Comments

@behlendorf
Copy link
Contributor

RHEL 7 RC uses /usr/lib/dracut/modulesules.d

zfsonlinux currently installs into /usr/share/dracut/modules.d. This should be addressed. for now i just created a symlink for the 90zfs dir

other than that zfs runs great on RHEL 7

@FransUrbo
Copy link
Contributor

Can't this be discovered within configure (or, additionally, with a configure option)? Sounds a little backwards to hardcode it...

@behlendorf
Copy link
Contributor Author

There's a with --with-dracutdir configure option which can be passed as part of the RHEL7 rpm spec file. That should work although there have been reports it doesn't. I just wanted to file this so I remember to get it sorted, we basically already do this for Fedora.

@FransUrbo
Copy link
Contributor

Ok, so we/it just needs to be a little smarter (if option not specified, look for the correct directory), and make sure that option really works as intended.

@maci0
Copy link
Contributor

maci0 commented May 8, 2014

+1

@oancarola
Copy link

Is it possible that you explain with more details which is the procedure that must to be followed to let zfs work on RHEL7RC?
People like me, who loves zfs but doesn't be a kernel hacker, don't know where write "--with-dracutdir=/usr/lib/dracut/modulesules.d" because in RHEL/Centos you only have to run "yum -y install zfs".

I thank you very much any help you could give me to install Zfs on RHEL7RC.

@maci0
Copy link
Contributor

maci0 commented May 15, 2014

@oancarola
http://zfsonlinux.org/generic-rpm.html
you have to use a git checkout though and not the 0.6.2 release

@oancarola
Copy link

Thank you @maci0. I'll post the results.

behlendorf added a commit that referenced this issue Jun 12, 2014
Commit 2ee4e7d accidentally introduced two issues which only occur
when rebuilding the ZFS source rpm outside the ZFS build system.

1) The _dracutdir, _udevdir, and _udevruledir macros must be checked
   using the 'undefined' keyword.  This was just overlooked in the
   patch review and does not cause a failure when using 'make pkg'
   because the values are provided by the make target.

2) The default _udevruledir path included a typo.

Signed-off-by: Brian Behlendorf <[email protected]>
Issue #2310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

4 participants