Summary: | sys-kernel/genkernel-4.2.6 lvm requires thin-provisioning-tools causing slow initrd build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gil Kloepfer <gbz> |
Component: | Current packages | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gil Kloepfer
2023-03-03 04:41:21 UTC
I'd like to follow-up on this report by lowering its importance somewhat, but also providing some follow-up comments. I expected my next kernel build's initrd to take forever as it did previously and it didn't, but I couldn't figure out why (in fact, it was very fast). When I looked into why, I found out that the output of the previous builds of the applications built by genkernel were cached in /var/cache/genkernel. This is actually an interesting trick. However, what I do feel would be helpful would be to better document that this is being done. There's a mention of "--cachedir=" in the genkernel man page, but nothing indicating what this is for (I'm not even sure if this is what that option is for - it literally says "Override the default cache location." as the option's description). Additionally, on older systems, I discovered several copies of previous versions of genkernel cached compiles sitting in /var/cache, all but the latest of which could probably be removed. This is probably something that someone using genkernel should know, and even better if an update to genkernel would clean-up automatically. I like genkernel - it really helps automate the kernel/initrd build process and keeps kernel builds consistent. That said, I hope that some of what I put in this "bug" report is good, constructive feedback. |