Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461462 - --kernel-outputdir if different as --kerneldir option handles copy of image incorrectly
Summary: --kernel-outputdir if different as --kerneldir option handles copy of image i...
Status: RESOLVED FIXED
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: 2013-03-11 21:46 UTC by Jaka Hudoklin
Modified: 2020-08-02 00:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This is potential patch (kernel-outputdir.patch,508 bytes, text/plain)
2013-03-11 21:46 UTC, Jaka Hudoklin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaka Hudoklin 2013-03-11 21:46:44 UTC
Created attachment 341752 [details]
This is potential patch

This is an error genkernel reports, because pwd is incorrect. Path before coping kernel images must be changed to KERNEL_OUTPUTDIR.

* Gentoo Linux Genkernel; Version 3.4.45
* Running with options: --kerneldir=/usr/src/linux-3.7.5-hardened/ --arch-override=x86 --minkernpackage=/home/offlinehacker/build/kernel.tar.bz2 --modulespackage=/home/offlinehacker/build/modules.tar.bz2 --kernel-outputdir=/usr/src/linux-3.7.5-hardened/builds/virtualbox/ all

* 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 ..

* Clearing cache dir contents from /var/cache/genkernel
* Linux Kernel 3.7.5-hardened for x86...
* .. with config file /etc/kernels/kernel-config-x86-3.7.5-hardened
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

/usr/src/linux-3.7.5-hardened/
*         >> Compiling 3.7.5-hardened bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
cp: cannot stat 'arch/i386/boot/bzImage': No such file or directory
* ERROR: Could not copy the kernel binary to /var/tmp/genkernel!
* 
* -- Grepping log... --
* 
* 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 ..
* Clearing cache dir contents from /var/cache/genkernel
*
* ERROR: Could not copy the kernel binary to /var/tmp/genkernel!
* 
* -- End log... --
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-02 00:11:37 UTC
This was fixed in genkernel-4.