FS#73123 - [libguestfs] Remove excess dependencies
Attached to Project:
Community Packages
Opened by janek (xeruf) - Thursday, 23 December 2021, 09:20 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 09:54 GMT
Opened by janek (xeruf) - Thursday, 23 December 2021, 09:20 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 09:54 GMT
|
Details
Why the heck does libguestfs depend on GRUB, not to mention
all those other mandatory dependencies?
The AUR versions seem just fine with a lot fewer dependencies, and some of these really make no sense... I want to move from GRUB to rEFInd but still use this tool, this should not be any hindrance. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 24 September 2023, 09:54 GMT
Reason for closing: Deferred
Sunday, 24 September 2023, 09:54 GMT
Reason for closing: Deferred
it would be better to change the dependency to vim-plugin-runtime for people who use neovim, if it's necessary at all.
FS#75288here instead)Unfortunately it's not quite as simple as that. libguestfs is kinda special in the way it constructs and uses an "appliance". The contents of the appliance are predetermined at libguestfs *build* time. I think vim is only included so that `virt-rescue' has an editor available in the rescue shell. So yeah, vim is not strictly necessary.
Anyway, it's not just vim. I think everyone agrees libguestfs pulls in way too many hard deps. You could always do what I do [1] and build your own package :) I'm trying to come up with a solution whereby folks can construct their own appliance (therefore choose their own deps) but I'm not there yet.
[1] https://gitlab.com/Toolybird/pkgbuilds/-/blob/main/libguestfs/PKGBUILD