Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803398 - sys-boot/grub: missing mention of optional dependency on mtools
Summary: sys-boot/grub: missing mention of optional dependency on mtools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 17:06 UTC by Timo Rothenpieler
Modified: 2024-08-04 15:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Rothenpieler 2021-07-22 17:06:40 UTC
The grub ebuild does mention the optional dependency on dev-libs/libisoburn for grub-mkrescue.
But it does not mention sys-fs/mtools, which is equally required for it to work (at lest for EFI targets).

Is there a particular reason there's no use flag to pull in those dependencies?
I wondered why I had those installed and in my world file at least once so far.
Comment 1 Mike Gilbert gentoo-dev 2021-07-22 17:27:21 UTC
> Is there a particular reason there's no use flag to pull in those dependencies?

QA policy prohibits introducing USE flags for optional runtime dependencies.

https://projects.gentoo.org/qa/policy-guide/dependencies.html#pg0001
Comment 2 Larry the Git Cow gentoo-dev 2024-08-04 15:28:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051ee15e6afa5f5e911874ba3c4e1d3d41d66160

commit 051ee15e6afa5f5e911874ba3c4e1d3d41d66160
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-08-04 15:27:50 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-08-04 15:27:50 +0000

    sys-boot/grub: mention sys-fs/mtools in optfeature
    
    Closes: https://bugs.gentoo.org/803398
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-boot/grub/grub-2.12-r4.ebuild | 2 +-
 sys-boot/grub/grub-9999.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)