Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179480 - gen_initrd.sh places evms2 files in wrong location
Summary: gen_initrd.sh places evms2 files in wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-23 06:18 UTC by Vinny
Modified: 2007-08-22 19:54 UTC (History)
0 users

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 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.