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

libzfsbootenv: do not depend on libnvpair #11227

Merged
merged 1 commit into from
Nov 22, 2020

Conversation

aerusso
Copy link
Contributor

@aerusso aerusso commented Nov 21, 2020

Motivation and Context

We do not build libnvpair.pc. Moreover, it is automatically pulled in by libzfs.pc, so no additional specific depenency is required.

Description

This simply removes libnvpair from the Requires block of lib/libzfsbootenv/libzfsbootenv.pc.in.

How Has This Been Tested?

# pkg-config libzfsbootenv --libs
-lzfsbootenv -lzfs -lnvpair -lzfs_core -lnvpair

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

We do not build libnvpair.pc.  Moreover, it is automatically pulled in
by libzfs.pc, so no additional specific depenency is required.

Signed-off-by: Antonio Russo <[email protected]>
@aerusso aerusso force-pushed the pulls/libzfsbootenv-pc branch from ef9db2c to d1b9a7e Compare November 21, 2020 22:51
@behlendorf behlendorf added Status: Code Review Needed Ready for review and testing Type: Building Indicates an issue related to building binaries labels Nov 22, 2020
@behlendorf
Copy link
Contributor

@tsoome would you mind taking a look at this. Are there any concerns about dropping this direct dependency?

Copy link
Contributor

@tsoome tsoome left a comment

Choose a reason for hiding this comment

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

seems ok for me....

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Nov 22, 2020
@behlendorf behlendorf merged commit d452671 into openzfs:master Nov 22, 2020
behlendorf pushed a commit that referenced this pull request Nov 24, 2020
We do not build libnvpair.pc.  Moreover, it is automatically pulled in
by libzfs.pc, so no additional specific dependency is required.

Reviewed by: Toomas Soome <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #11227
jsai20 pushed a commit to jsai20/zfs that referenced this pull request Mar 30, 2021
We do not build libnvpair.pc.  Moreover, it is automatically pulled in
by libzfs.pc, so no additional specific dependency is required.

Reviewed by: Toomas Soome <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes openzfs#11227
sempervictus pushed a commit to sempervictus/zfs that referenced this pull request May 31, 2021
We do not build libnvpair.pc.  Moreover, it is automatically pulled in
by libzfs.pc, so no additional specific dependency is required.

Reviewed by: Toomas Soome <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes openzfs#11227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested) Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants