Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502218 - sys-kernel/genkernel-3.4.45.1 : creates awefully kernel name and lets depmod fail
Summary: sys-kernel/genkernel-3.4.45.1 : creates awefully kernel name and lets depmod ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 09:51 UTC by Toralf Förster
Modified: 2017-01-02 23:23 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 Toralf Förster gentoo-dev 2014-02-23 09:51:10 UTC
steps :

$ sudo genkernel --makeopts="PATCHLEVEL=0 EXTRAVERSION=-test -j4" --kerneldir=`pwd` all


$ ls -d /boot/*test+ /lib/modules/*test+
/boot/initramfs-genkernel-x86-3.14.0-rc33.0.0-test+
/boot/kernel-genkernel-x86-3.14.0-rc33.0.0-test+
/boot/System.map-genkernel-x86-3.14.0-rc33.0.0-test+
/lib/modules/3.0.0-test+


The last is expected, but the first 3 are awefully and prevents an automated bisecting of a kernel issue - beside wasting the /boot directory

Probably a dup of #bug 426338 ?
Comment 1 Toralf Förster gentoo-dev 2014-02-23 16:14:27 UTC
And there's a real issue too :


$ sudo genkernel --makeopts="PATCHLEVEL=0 EXTRAVERSION=-test -j4" --kerneldir=`pwd` kernel initramfs
* Gentoo Linux Genkernel; Version 3.4.45.1
* Running with options: --makeopts=PATCHLEVEL=0 EXTRAVERSION=-test -j4 --kerneldir=/home/tfoerste/devel/linux kernel initramfs

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load ..

* Linux Kernel 3.14.0-rc3 for x86...
* .. with config file /usr/share/genkernel/arch/x86/kernel-config
* kernel: Using config from /usr/share/genkernel/arch/x86/kernel-config
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
*         >> Compiling 3.14.0-rc33.0.0-test+ bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
*         >> Compiling 3.14.0-rc33.0.0-test+ modules...
*         >> Generating module dependency data...
depmod: ERROR: could not open directory /lib/modules/3.14.0-rc33.0.0-test+: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-01-02 23:23:59 UTC
This is already fixed, it now runs a make depend before creating the version number, use the 3.5 series.