Summary: | genkernel: "Could not copy System.map from kerncache for the kernel package!" when building installer image using catalyst. | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | jyhpsycho |
Component: | genkernel | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | genkernel log file. |
*** This bug has been marked as a duplicate of bug 570822 *** |
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} ]