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 DFFA913877A for ; Tue, 24 Jun 2014 16:50:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 769A5E0810; Tue, 24 Jun 2014 16:50:03 +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 F26EBE0810 for ; Tue, 24 Jun 2014 16:50:02 +0000 (UTC) Received: from [192.168.1.3] (255.Red-83-36-110.dynamicIP.rima-tde.net [83.36.110.255]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: armin76) by smtp.gentoo.org (Postfix) with ESMTPSA id 4217733FDE1; Tue, 24 Jun 2014 16:50:00 +0000 (UTC) Message-ID: <53A9AC32.90303@gentoo.org> Date: Tue, 24 Jun 2014 18:49:54 +0200 From: =?ISO-8859-1?Q?Ra=FAl_Porcel?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 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: gentoo-catalyst@lists.gentoo.org CC: release@gentoo.org Subject: [gentoo-catalyst] Fwd: spaces in parameters References: <52148424.2040402@gentoo.org> In-Reply-To: <52148424.2040402@gentoo.org> X-Enigmail-Version: 1.6 X-Forwarded-Message-Id: <52148424.2040402@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7f9cb1c0-456f-4f96-aa06-a08fb5fb9435 X-Archives-Hash: 02230572e7b5c9c10370364796d8c5c7 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 ###### Any ideas? If its too hard to fix, we can simply add this workaround on catalyst. Thanks ######