Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572154 - genkernel: "Could not copy System.map from kerncache for the kernel package!" when building installer image using catalyst.
Summary: genkernel: "Could not copy System.map from kerncache for the kernel package!"...
Status: RESOLVED DUPLICATE of bug 570822
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-17 01:20 UTC by jyhpsycho
Modified: 2016-01-17 11:53 UTC (History)
0 users

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


Attachments
genkernel log file. (genkernel.log,4.27 KB, text/x-log)
2016-01-17 01:20 UTC, jyhpsycho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jyhpsycho 2016-01-17 01:20:39 UTC
Created attachment 423088 [details]
genkernel log file.

This error is caused by line 51 of /usr/share/genkernel/gen_package.sh:

gen_die 'Could not copy System.map from kerncache for the kernel package!'

It mischecks System.map path on line 49 of that.

47: /bin/tar -xj -C ${TEMP}/minkernpackage -f ${KERNCACHE} System.map-${ARCH}-${KV}
48: mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}}
49: if [ ! -f System.map-${KNAME}-${ARCH}-${KV} ]
50: then
51:   gen_die 'Could not copy System.map from kerncache for the kernel package!'
52: fi

line 49 should be:
if [ ! -f minkernpackage/System.map-${KNAME}-${ARCH}-${KV} ]
Comment 1 jyhpsycho 2016-01-17 11:53:58 UTC

*** This bug has been marked as a duplicate of bug 570822 ***