Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Comments

rpm: Add buildroot option to kmod build#242

Closed
utopiabound wants to merge 1 commit intoopenzfs:masterfrom
utopiabound:lustre-zfs
Closed

rpm: Add buildroot option to kmod build#242
utopiabound wants to merge 1 commit intoopenzfs:masterfrom
utopiabound:lustre-zfs

Conversation

@utopiabound
Copy link
Contributor

This allows rpmbuild to define buildroot to point to where kernel data is located.

This allows rpmbuild to define buildroot to point to where kernel data is located.
@behlendorf
Copy link
Contributor

@utopiabound Thanks for making another pass at this. Setting a buildroot is something I can live with. However, I'm curious why you added a --buildroot option rather than just using \$RPM_BUILD_ROOT as was done in the print_akmodtemplate()?

@utopiabound
Copy link
Contributor Author

I didn't want to use $RPM_BUILD_ROOT because of how it's used in many of rpm's build macros and how it affects so many other things that I didn't want to override.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants