Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73615 - Catalyst crashes when more than one kernel requested in livecd stage2
Summary: Catalyst crashes when more than one kernel requested in livecd stage2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Catalyst Developers
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-06 19:20 UTC by Patrick Naubert
Modified: 2004-12-07 16:14 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 Patrick Naubert 2004-12-06 19:20:25 UTC
When more than one kernel is present in boot/kernel parameter in a livecd-stage2 spec file, the following will appear:

>>> Regenerating /etc/ld.so.cache... 
Comment 1 Patrick Naubert 2004-12-06 19:20:25 UTC
When more than one kernel is present in boot/kernel parameter in a livecd-stage2 spec file, the following will appear:

>>> Regenerating /etc/ld.so.cache... 
 * Caching service dependencies... 
emerge: please tell me what to do. 


Usage: 
   emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ] 
   emerge [ options ] [ action ] < system | world > 
   emerge < sync | info > 
   emerge --resume [ --pretend | --ask | --skipfirst ] 
   emerge help [ system | config | sync ] 
Options: -[abcCdDefhikKlnoOpPsSuUvV] [--oneshot] [--noconfmem] 
                                    [--columns] [--nospinner] 
Actions: [ clean | depclean | inject | prune | regen | search | unmerge ] 


   For more help try 'emerge --help' or consult the man page. 


!!! catalyst: Runscript kernel build failed 

!!! catalyst: Runscript aborting due to error. 
!!! catalyst: could not complete build 


Reproducible: Always
Steps to Reproduce:
1. put two items in the boot/kernel line in a livecd-stage2 spec file.
2. catalyst -df /etc/catalyst/livecd-stage2.spec
3.
Actual Results:  
Catalyst aborted with an error message

Expected Results:  
Completed and compiled two different kernels for the livecd.

To fix, edit /usr/lib/catalyst/modules/livecd_stage2_target.py:

Remove a TAB on the following line (Should be line 252):

                cmd("/bin/bash "+self.settings["livecd/runscript"]+" kernel "+list_bashify(args),
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-07 06:02:41 UTC
Say what?

To test this, I just built a livecd with 2 kernels and had zero problem doing so.  Are you sure there isn't something wrong with your spec file?

Could you post the kernel section of your spec file?
Comment 3 Patrick Naubert 2004-12-07 06:16:23 UTC
I have catalyst-1.0.9.

boot/kernel: kernel-2.6 kernel-NATIVE
boot/kernel/kernel-2.6/sources: sys-kernel/development-sources
boot/kernel/kernel-2.6/config: /etc/catalyst/2.6.xelerance.config
boot/kernel/kernel-2.6/packages: openswan
boot/kernel/kernel-NATIVE/sources: sys-kernel/development-sources
boot/kernel/kernel-NATIVE/config: /etc/catalyst/2.6NATIVE.xelerance.config
boot/kernel/kernel-NATIVE/packages: openswan
boot/kernel/kernel-2.6/use: usb klips
boot/kernel/kernel-NATIVE/use: usb -klips
boot/kernel/kernel-2.6/extraversion: klips
boot/kernel/kernel-NATIVE/extraversion: netsys


BTW, this has been a known problem in the Forums: http://forums.gentoo.org/viewtopic.php?t=238001&highlight=defaultrunscript
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-07 16:14:20 UTC
Try using a more recent version of catalyst first.  Version 1.0.9 is old and we won't be accepting bugs against it.

The current stable version on x86, amd64, and sparc is 1.1.1 and should be used when making any LiveCD.  If you are still having a problem with 1.1.1, then please, REOPEN this bug.