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: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to allow |
this appears to have been independantly fixed in genkernel. can you please retest using the latest unstable version to confirm the issue is solved? |
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.