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...
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),
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?
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
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.