Skip to content

lvm2: cleanup & fix eval error when systemd=null#62660

Merged
joachifm merged 4 commits intoNixOS:masterfrom
joachifm:feat/lvm2-nonSystemd
Oct 14, 2019
Merged

lvm2: cleanup & fix eval error when systemd=null#62660
joachifm merged 4 commits intoNixOS:masterfrom
joachifm:feat/lvm2-nonSystemd

Conversation

@joachifm
Copy link
Contributor

@joachifm joachifm commented Jun 4, 2019

No description provided.

@joachifm
Copy link
Contributor Author

joachifm commented Jun 4, 2019

@GrahamcOfBorg build lvm2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, forgot to remove this comment ...

@ofborg ofborg bot requested a review from 7c6f434c June 4, 2019 13:47
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Jun 4, 2019
The closure still picks up systemd via udev, however, overriding with eudev is
necessary to avoid the reference.
@joachifm joachifm force-pushed the feat/lvm2-nonSystemd branch from 8b44cf5 to ecd6931 Compare October 13, 2019 11:12
@joachifm
Copy link
Contributor Author

@GrahamcOfBorg build systemd_with_lvm2

@joachifm joachifm merged commit bd58bdc into NixOS:master Oct 14, 2019
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Oct 29, 2019
lvm2: cleanup & fix eval error when systemd=null
(cherry picked from commit bd58bdc)
@kirelagin
Copy link
Member

FTR I am getting the libdevice-mapper.a thing from 494d2de.

@joachifm joachifm deleted the feat/lvm2-nonSystemd branch April 6, 2020 13:05
@nh2
Copy link
Contributor

nh2 commented Feb 9, 2021

@joachifm How do you use this / for what? (I'm looking into building pkgsStatic.parted which depends on lvm2 so just checking if you already did something like that.)

Edit: This works:

https://github.com/nh2/parted/releases/tag/v3.3

nix-build -E '(import <nixpkgs> {}).pkgsStatic.parted.override { lvm2 = null; }'

@joachifm
Copy link
Contributor Author

joachifm commented Feb 9, 2021

@nh2 I used it for a minimal Linux appliance that needed LVM2 but not systemd et al, so this was really part of a larger patch set that sought to allow stuff to be built without "unnecessary" (for my purposes) deps. A version that supports static linking sounds great.

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

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants