Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38258 - kernel-2.eclass fails when $OKV==$KV
Summary: kernel-2.eclass fails when $OKV==$KV
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High major (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 22:45 UTC by Jeffrey Yasskin
Modified: 2004-01-15 10:16 UTC (History)
1 user (show)

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 Jeffrey Yasskin 2004-01-14 22:45:43 UTC
The "mv linux-${OKV} linux-${KV} || die..." statement on line 412 of kernel-2.eclass in the src-unpack() function fails when $OKV==$KV. The solution is to put an "if [ linux-${OKV} != linux-${KV} ]; then" line around it.

This bug was discovered when trying to install the new development-sources-2.6.1.ebuild but will probably affect any vanilla sources package.
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2004-01-15 09:28:27 UTC
this was brought to my attention last night but unfortunately i havnt had timne to commit the fix yet.
I shall do so shortl, thanks for logging this fault.
Comment 2 John Mylchreest (RETIRED) gentoo-dev 2004-01-15 10:16:16 UTC
fixed in portage