From: Alex Williamson <alex.williamson@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com, mcb30@ipxe.org
Subject: Re: [Qemu-devel] [PATCH] pc-bios: Use iPXE ROMs
Date: Wed, 16 Mar 2011 13:15:21 -0600 [thread overview]
Message-ID: <1300302921.3282.1.camel@x201> (raw)
In-Reply-To: <AANLkTin=1GmYkDKSAZ+8B+gmcnrRfgik7Z2odtOWxpuJ@mail.gmail.com>
On Wed, 2011-03-16 at 18:48 +0000, Stefan Hajnoczi wrote:
> On Tue, Mar 15, 2011 at 5:00 PM, Alex Williamson
> <alex.williamson@redhat.com> wrote:
> > diff --git a/scripts/refresh-pxe-roms.sh b/scripts/refresh-pxe-roms.sh
>
> Please enclose variable expansions in double-quotes so paths with
> spaces in them work. For example:
> cp $BUILD_DIR/$LOCAL_CONFIG $SAVED_CONFIG
>
> This will not do what you want if BUILD_DIR, LOCAL_CONFIG, or
> SAVED_CONFIG have spaces. Instead use:
> cp "$BUILD_DIR/$LOCAL_CONFIG" "$SAVED_CONFIG"
Thanks, I'll update.
> > +function make_all ()
> > +{
> > + cd $BUILD_DIR/src
> > +
> > + BUILD_LOG=$(mktemp)
> > +
> > + echo Building...
> > +
> > + make $1 > $BUILD_LOG 2>&1
> > +
> > + if [ $? -ne 0 ]; then
> > + echo Build failed
> > + tail --lines=100 $BUILD_LOG
> > + rm $BUILD_LOG
> > + cleanup
> > + exit 1
> > + fi
> > + rm $BUILD_LOG
> > +
> > + cd $QEMU_DIR
> > +}
>
> What is the purpose of this function? If you build one of the ROMs
> all of iPXE gets compiled. I'm not sure why we need to make all and
> then make specific ROMs.
I just figured it'd be easier to debug if I separated out the main build
from each rom. Maybe it just confuses things instead. Thanks,
Alex
prev parent reply other threads:[~2011-03-16 19:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 17:00 [Qemu-devel] [PATCH] pc-bios: Use iPXE ROMs Alex Williamson
2011-03-15 17:35 ` [Qemu-devel] " Anthony Liguori
2011-03-15 19:08 ` Alex Williamson
2011-03-15 22:24 ` [Qemu-devel] " Stefan Weil
2011-03-15 22:38 ` Alex Williamson
2011-03-16 18:48 ` Stefan Hajnoczi
2011-03-16 19:15 ` Alex Williamson [this message]
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=1300302921.3282.1.camel@x201 \
--to=alex.williamson@redhat.com \
--cc=mcb30@ipxe.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=stefanha@linux.vnet.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.