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 modules installation directory #2822

Closed
wants to merge 1 commit into from

Conversation

pyhalov
Copy link
Contributor

@pyhalov pyhalov commented Oct 22, 2014

While building zfs modules with kernel, compiled from deb.src, packaging process ends up installing modules in the wrong place. It installs them into
/tmp/zfs-build-builduser-zbZBpB9A/BUILDROOT/zfs-kmod-0.6.3-125_g88904bb.x86_64/lib/modules/3.16.5/
but debian (and packaging process) is looking for them in /lib/modules/3.16-3-amd64. So, packaging fails with
Processing files: kmod-zfs-3.16-3-amd64-0.6.3-125_g88904bb.x86_64
error: Directory not found: /tmp/zfs-build-builduser-zbZBpB9A/BUILDROOT/zfs-kmod-0.6.3-125_g88904bb.x86_64/lib/modules/3.16-3-amd64/extra
error: Directory not found: /tmp/zfs-build-builduser-zbZBpB9A/BUILDROOT/zfs-kmod-0.6.3-125_g88904bb.x86_64/lib/modules/3.16-3-amd64/extra/zfs

behlendorf pushed a commit that referenced this pull request Oct 28, 2014
When building zfs modules with kernel, compiled from deb.src, the
packaging process ends up installing the modules in the wrong place.

Signed-off-by: Alexander Pyhalov <apyhalov@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2822
@behlendorf
Copy link
Contributor

@pyhalov I've merged a similar fix for the SPL, openzfs/spl@3f4a13c

ryao pushed a commit to ryao/zfs that referenced this pull request Nov 29, 2014
When building zfs modules with kernel, compiled from deb.src, the
packaging process ends up installing the modules in the wrong place.

Signed-off-by: Alexander Pyhalov <apyhalov@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#2822
ryao pushed a commit to ryao/spl that referenced this pull request Nov 29, 2014
When building zfs modules with kernel, compiled from deb.src, the
packaging process ends up installing the modules in the wrong place.

Signed-off-by: Alexander Pyhalov <apyhalov@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs/zfs#2822
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.

2 participants