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

Bug 448624

Summary: last step of compile_kernel() does not respect ${KERNEL_OUTPUTDIR} in genkernel-3.4.45
Product: Gentoo Hosted Projects Reporter: Drake Wyrm <lilwyrm>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Severity: normal CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Patch to allow

Description Drake Wyrm 2012-12-26 01:26:22 UTC
Created attachment 333366 [details]
Patch to allow

In compile_kernel() in, when copying the image to TMPDIR (lines 346-372), the calls to copy_image_with_preserve and cp look in the current directory for the desired files, rather than ${KERNEL_OUTPUTDIR}. It exits with the message

* ERROR: Could not copy the kernel binary to /var/tmp/gk_testing/tmp!

That directory is where I have set TMPDIR, and the directory exists. With the attached patch, genkernel finds the kernel image and related files, and completes successfully. I have not tested the path that uses the calls to copy_image_with_preserve, but it seems that KERNEL_OUTPUTDIR would be needed there, too.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2015-08-20 16:04:34 UTC
this appears to have been independantly fixed in genkernel.  can you please retest using the latest unstable version to confirm the issue is solved?