I never got any answer from genkernel. Can we implement the workaround in catalyst somehow?
Thanks -------- Original Message -------- Subject: spaces in parameters Date: Wed, 21 Aug 2013 11:11:00 +0200 From: Raúl Porcel <[email protected]> To: [email protected] CC: [email protected] Hi, when using catalyst, it passes some parameters to genkernel. Now it turns out I need to use some parameters with spaces in genkernel and seems it doesn't like them. Right now catalyst does something like this script: ####### parm="--kernel-cc='gcc -m64' --kernel-config=/root/installcd-ibm-2.6.34.config all" genkernel ${parm} ####### This returns: Error: Unknown option '-m64''! If we quote ${parm}, it returns the help. If we modify it a little: ###### parm="--kernel-cc='gcc -m64' --kernel-config=/root/installcd-ibm-2.6.34.config" genkernel "${parm}" all ###### It says it can't find the configuration file. A workaround i've found is: ###### parm="--kernel-cc='gcc -m64' --kernel-config=/root/installcd-ibm-2.6.34.config all" echo "genkernel ${parm}" > /tmp/tmp.sh bash /tmp/tmp.sh ###### Any ideas? If its too hard to fix, we can simply add this workaround on catalyst. Thanks ######
