Summary: | sys-fs/zfs-0.6.4: Dracut scripts missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Corin Lawson <corin> |
Component: | [OLD] Core system | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, floppym, gentoo, jlee, katy.sanborn |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | adding dracut config if USE-flag is set |
Description
Corin Lawson
2015-05-04 14:33:04 UTC
(In reply to Corin Lawson from comment #0) > Adding the following line (~line 85) to src_configure function produces the > expected results: > --with-dracutdir="/usr/$(get_libdir)/dracut" "/usr/$(get_libdir)/dracut" is incorrect. dracut is always installed under /usr/lib/dracut, regardless of the value of LIBDIR. Thanks Mike, I wasn't sure as I just copied that line from zfs-9999.ebuild... This also bit me, twice. Once on initial install of a new server. Then after a portage update caused the zfs-0.6.4.ebuild to be restored to the original, (and new kernel then failed to boot). Nothing serious for me, just wanted to add my 2 cents worth to request upstream EBuild fix. Same hardware, AMD64 Linux. Created attachment 407368 [details, diff]
adding dracut config if USE-flag is set
please add a USE-flag `dracut` for dracut-module support.
This is a regression from https://bugs.gentoo.org/show_bug.cgi?id=478684 where this bug was already fixed. According to ryao, "the new policy on small files, the dracut module is installed unconditionally," without needing a USE flag. This was fixed in the 0.6.5 ebuild. I will try to do a revision to fix it in the older ebuilds. this has been fixed in all in-tree ebuilds https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c8e69ec3b25a431ee1c0e8cf3d1f0274dbffec |