Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67122 - Catalyst's livecd-stage2 builds genkernel from the system not stage1
Summary: Catalyst's livecd-stage2 builds genkernel from the system not stage1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 09:53 UTC by REdOG
Modified: 2004-10-12 11:02 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 REdOG 2004-10-11 09:53:49 UTC
Catalyst rebuilds genkernel even if it was included in stage1 and also does not use the pkgcached version from the stage1 packages.

I have added some customizations to genkernel and they get wiped out when building livecd-stage2. Iv'e added my changes to the genkernel scripts in /var/tmp/catalyst/tmp/embedded/livecd-stage1-x86-uclibc-20040909/ and to the tbz2 in /var/tmp/catalyst/packages/embedded/livecd-stage1-x86-uclibc-20040909/All/genkernel-3.0.2g.tbz2

These changes are wiped out before the kernel is built in stage2. The build is actually getting its "package" from the build system's /usr/portage/packages instead of the chroot's or the stage1's. Or it downloads and compiles from src if there is no genkernel tbz2 in /usr/portage/packages
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-11 14:59:03 UTC
Leave me out of this one... ;p

Adding livecd@ instead...

Also, I think that catalyst should instead *check* if genkernel was already installed into the image and only to merge it if it hasn't been, since I ran across this myself when building my CD and testing genkernel patches, so I just commented the "emerge genkernel" in the kmerge.sh script.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-11 20:30:00 UTC
not really a livecd bug, so reassigning to catalyst
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-12 11:02:24 UTC
Catalyst rebuilds genkernel even if it was included in stage1 and also does not use the pkgcached version from the stage1 packages.

Fixed in CVS. if /usr/bin/genkernel exists in the livecd-stage1, genkernel will not be re-merged.