Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 667502

Summary: sys-kernel/genkernel-next-68: --kerncache zaps /lib symlink
Product: Gentoo Linux Reporter: lperkins
Component: Current packagesAssignee: Ettore Di Giacinto (RETIRED) <mudler>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description lperkins 2018-10-01 18:40:44 UTC
genkernel-next 68
Kernel sources removed from system

genkernel --no-clean --kerncache=<path to cachefile> --no-kernel-sources initramfs

deletes the /lib symlink to /lib64 and replaces it with a directory, into which it unpacks the modules cache from  the kernel cachefile.

Building the initramfs then fails because the udev rules and other goodies it wants out of /lib are gone.

I can probably provide a VM image that reproduces this if necessary.
Comment 1 Ben Kohler gentoo-dev 2018-10-01 19:09:25 UTC
Looks like gk-next needs to apply the same fix gk added a few years ago: https://gitweb.gentoo.org/proj/genkernel.git/commit/gen_package.sh?id=e49b8a450aba6eced9caa608a3bfdc38a7dbe677

Probably should be reported upstream
Comment 2 lperkins 2018-10-02 22:10:39 UTC
https://github.com/Sabayon/genkernel-next/issues/71

Done.  Hopefully that's the right "upstream".  The portage entry gives its homepage as just gentoo.org.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-20 12:51:02 UTC
Package removed.