Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448624 - last step of compile_kernel() does not respect ${KERNEL_OUTPUTDIR} in genkernel-3.4.45
Summary: last step of compile_kernel() does not respect ${KERNEL_OUTPUTDIR} in genkern...
Status: RESOLVED OBSOLETE
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: 2012-12-26 01:26 UTC by Drake Wyrm
Modified: 2015-08-20 16:04 UTC (History)
1 user (show)

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


Attachments
Patch to allow (gen_compile.sh.diff,1.25 KB, text/plain)
2012-12-26 01:26 UTC, Drake Wyrm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Wyrm 2012-12-26 01:26:22 UTC
Created attachment 333366 [details]
Patch to allow

In compile_kernel() in gen_compile.sh, 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?