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

util-linux: split libraries into separated template files #21773

Merged
merged 1 commit into from May 11, 2020

Conversation

sgn
Copy link
Member

@sgn sgn commented May 9, 2020

This is a rework of 66062de (util-linux: compile with eudev,
2019-10-30)

In order to support this command for unpriviledge users:

lsblk -f

util-linux needs to be compile --with-udev.

However, eudev itself depends on libblkid-devel for building.

Break this dependency cycle by:

  • compile util-linux --without-udev first, only keep its library,
    this will be the util-linux-libs meta package
  • compile eudev against that util-linux (--without-udev)
  • compile util-linux binary against eudev, discard its libs

@Gottox : maintainer
@q66 : please check on PowerPC

@sgn sgn marked this pull request as draft May 9, 2020 02:30
This is a rework of 66062de (util-linux: compile with eudev,
2019-10-30)

In order to support this command for unpriviledge users:

	lsblk -f

util-linux needs to be compile `--with-udev`.

However, eudev itself depends on `libblkid-devel` for building.

Break this dependency cycle by:
- compile `util-linux` `--without-udev` first, only keep its library,
this will be the `util-linux-libs` meta package
- compile eudev against that `util-linux` (`--without-udev`)
- compile util-linux binary against eudev, discard its libs
@sgn sgn marked this pull request as ready for review May 9, 2020 06:24
@sgn sgn merged commit 2e89817 into void-linux:master May 11, 2020
@sgn sgn deleted the util-linux-eudev branch May 31, 2020 02:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2021
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.

None yet

1 participant