Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129890 - initramfs_overlay can not be passed to genkernel in rc40/rc41!
Summary: initramfs_overlay can not be passed to genkernel in rc40/rc41!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-04-13 18:47 UTC by Alvin Lee
Modified: 2006-04-18 17:17 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 Alvin Lee 2006-04-13 18:47:11 UTC
The reason is indicated by blow codes in function setup_gk_args() of  /usr/lib/catalyst2/targets/support/kmerge.sh
###LINE:35
if [ -d "${clst_initramfs_overlay}" ]
then
  GK_ARGS="${GK_ARGS} --initramfs-overlay=/tmp/initramfs_overlay/${clst_initramfs_overlay}"        fi
###
It is clear that these codes are excecuted in chroot environment,so we cannot judge ${clst_initramfs_overlay} is a directory or not. Indeed we should judge whether  /tmp/initramfs_overlay/${clat_initramfs_overlay} is a directory instead. After changing these codes I got my target successfully 
by passing the initramfs_overlay argument.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-17 14:32:15 UTC
I've added this to CVS now.  Thanks for the bug report!
Comment 2 Alvin Lee 2006-04-17 18:58:10 UTC
It's my pleasure!
Comment 3 Alvin Lee 2006-04-17 18:59:38 UTC
It's my pleasure!
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-18 17:17:49 UTC
Fixed in 2.0_rc42!