Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 179480

Summary: gen_initrd.sh places evms2 files in wrong location
Product: Gentoo Hosted Projects Reporter: Vinny <vfuria>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vinny 2007-05-23 06:18:54 UTC
gen_initrd.sh trys to copy a file into a temporary directory that does not exist yet when the --evms2 option is selected.  The file is: /lib/libgcc_s*

is attempting to copy to ${TEMP}/initramfs-evms2-temp/lib
but should probably copy it to ${TEMP}/initrd-temp/lib

Reproducible: Always

Steps to Reproduce:
1. genkernel --evms2 all

Actual Results:  
ERROR: Could not copy files for EVMS2!

Expected Results:  
No error should appear.

Diff between gen_initrd.sh and correct gen_initrd.sh

.sh 
208c208
<                               cp -a /lib/libgcc_s* "${TEMP}/initramfs-evms2-temp/lib" \
---
>                               cp -a /lib/libgcc_s* "${TEMP}/initrd-temp/lib" \
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 22:54:44 UTC
There was also an issue with lvm2 (same problem) which has been fixed now.  Thanks for pointing this out.  I've fixed it in SVN and it'll show up in the next genkernel release.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 19:54:09 UTC
Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.