Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945493 - app-crypt/clevis doesn't install dracut modules if dracut isn't installed
Summary: app-crypt/clevis doesn't install dracut modules if dracut isn't installed
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Julien Roy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-30 23:49 UTC by Penguin
Modified: 2024-12-01 08:53 UTC (History)
0 users

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 Penguin 2024-11-30 23:49:29 UTC
sam_: "it's a bug in our packaging of it (we should either unconditionally depend on dracut in the clevis ebuild, or patch that out so it's always installed; the latter is the better option)"

Maybe a dracut use module thats enabled by default that drags dracut in as a dep? https://github.com/latchset/clevis/blob/29d0a4ea7b978ca0b911e293b76bcaffbea1cc25/src/luks/dracut/clevis/meson.build#L4
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-30 23:51:30 UTC
(In reply to Penguin from comment #0)
> Maybe a dracut use module thats enabled by default that drags dracut in as a
> dep?
> https://github.com/latchset/clevis/blob/
> 29d0a4ea7b978ca0b911e293b76bcaffbea1cc25/src/luks/dracut/clevis/meson.
> build#L4

The issue with that would be USE=-dracut with dracut installed would install the module still (if we don't do any patching). Of course, if we patch in a build system option for it, it's fine.