Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667502 - sys-kernel/genkernel-next-68: --kerncache zaps /lib symlink
Summary: sys-kernel/genkernel-next-68: --kerncache zaps /lib symlink
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-01 18:40 UTC by lperkins
Modified: 2020-08-20 12:51 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 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.