From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5FEEE13877A for ; Wed, 25 Jun 2014 02:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F2AAE0863; Wed, 25 Jun 2014 02:24:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6BE9E0863 for ; Wed, 25 Jun 2014 02:24:32 +0000 (UTC) Received: from [192.168.43.163] (unknown [166.137.109.148]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: zerochaos) by smtp.gentoo.org (Postfix) with ESMTPSA id 4CD5633FD91; Wed, 25 Jun 2014 02:24:31 +0000 (UTC) Message-ID: <53AA3381.8030406@gentoo.org> Date: Tue, 24 Jun 2014 22:27:13 -0400 From: "Rick \"Zero_Chaos\" Farina" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ra=FAl_Porcel?= , gentoo-catalyst@lists.gentoo.org CC: release@gentoo.org Subject: [gentoo-catalyst] Re: Fwd: spaces in parameters References: <52148424.2040402@gentoo.org> <53A9AC32.90303@gentoo.org> In-Reply-To: <53A9AC32.90303@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: 74c965a8-b355-448e-bd84-18d44bd5e9e1 X-Archives-Hash: ec6463fa9c327626220fb3b132ab164b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/24/2014 12:49 PM, Raśl Porcel wrote: > 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 > To: gentoo-genkernel@lists.gentoo.org > CC: release@gentoo.org > > 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 > ###### It kinda looks to me like you are abusing --kernel--cc for something it's not meant for, which makes me think the "fix" is either doing it right, or fixing genkernel. If you can work up a sane patch I'll drop it in genkernel myself, but please hit me directly or I'll completely miss it. Thanks, Zero > > Any ideas? If its too hard to fix, we can simply add this workaround on > catalyst. > > Thanks > ###### > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTqjOBAAoJEKXdFCfdEflKc2kQAKEuNMQ9E/PBrPncXi1GqBUL tjQxXMh65/J3K+pV4Qi9ROjMgqZmjTY6uZFKd/egAef7wh9a1mT33huqyf8xxDhL nRBp3Sw9CRSEMRYJOOHIvwVvrMUdnDem7wqikmIj7KsoT57Sq1Osx8hxQEy+2V+F 7S9uchZylTox136t5FAtcvQRjMqtbYGz2Y0QiuD+bGRfaqP19BG0vFFbx7gi123Q 8yHxoc0bMIE90d+Z6/7khuLIxKmbAzZnmE8FHFKWJ9a8j1pa84+Q1DLfo4dC60A1 eN1DAU0RfVHc016oBkkLlSaZalVW1C2FzyAzkpU9UJ1cGX2zoi+nQissDmUcTUog g+8lZS+rLB4+1rcLLufxY0lddC1+i1TdES4dEXfNyPd2fL6d6C8S3Sam3oTXEi8N nyJYmGWE/d5wWj0JIZqTI5uIG/z49jWTgVrANSU1JdSOHgdm9IL5DFSP8o7hyZ6Z 9oYytUt/tkGcMlSktUDhKJeJs/gkdnlokEffV0yoytYYFyHm9+UPNEX7Dpo6OPoN lsxZE4TuGRc8XqIqhUID7QdYjRn9cehY/CtoCKURNJPrG5IYSvYcwPsygYvEka6T 798F5jTkqYjvW336dPlpn3s/sZS8Uq8YJQZSgTxDFcklK4S1hTRqmkafTh0+TKVv 1atgIZWvb2+yoC4tLcwi =SWN5 -----END PGP SIGNATURE-----