public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Raúl Porcel" <armin76@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Cc: release@gentoo.org
Subject: [gentoo-catalyst] Fwd: spaces in parameters
Date: Tue, 24 Jun 2014 18:49:54 +0200	[thread overview]
Message-ID: <53A9AC32.90303@gentoo.org> (raw)
In-Reply-To: <52148424.2040402@gentoo.org>

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 <armin76@gentoo.org>
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
######




       reply	other threads:[~2014-06-24 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52148424.2040402@gentoo.org>
2014-06-24 16:49 ` Raúl Porcel [this message]
2014-06-25  2:27   ` [gentoo-catalyst] Re: Fwd: spaces in parameters Rick "Zero_Chaos" Farina
2014-09-12  6:27     ` Raúl Porcel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A9AC32.90303@gentoo.org \
    --to=armin76@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    --cc=release@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox