All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Tramnitz <chris.ace@gmx.net>
To: xen-devel@lists.xensource.com
Subject: [PATCH] fix ioemu build
Date: Fri, 07 Aug 2009 00:04:22 +0200	[thread overview]
Message-ID: <4A7B5366.7000400@gmx.net> (raw)

Hello,

apparently the xen-setup script in ioemu tries to delete non-existant 
files which currently causes gentoo live-ebuilds to fail (I can't patch 
because the ioemu tree is being dynamically populated using git).

Anyway checking for the existence of a file before actually deleting it 
shouldn't really hurt...

This lives as patch in funtoo for a while, but as mentioned before 
patching doesnt work with live ebuilds so I'd prefer this to be fixed in 
ioemu.


Thanks,
    Christian



--- tools/ioemu-dir/xen-setup~ 2009-01-05 11:36:22.000000000 +0000
+++ tools/ioemu-dir/xen-setup 2009-03-11 13:08:51.000000000 +0000
@@ -3,9 +3,9 @@

  # git-clean -x -d && ./xen-setup && make prefix=/usr 
CMDLINE_CFLAGS='-O0 -g' -j4 && make install DESTDIR=`pwd`/dist/ 
prefix=/usr && rsync -a --stats --delete . thule:shadow/qemu-iwj.git/ && 
rsync -a --stats dist/. root@thule:/

-rm -f $target/Makefile
-rm -f $target/config.mak
-rm -f config-host.mak
+[[ -f $target/Makefile ]] && rm -f $target/Makefile
+[[ -f $target/config.mak ]] && rm -f $target/config.mak
+[[ -f config-host.mak ]] && rm -f config-host.mak

  if test -f config-host.h; then mv config-host.h config-host.h~; fi

             reply	other threads:[~2009-08-06 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 22:04 Christian Tramnitz [this message]
2009-08-06 22:30 ` [PATCH] fix ioemu build Keir Fraser
2009-08-06 22:44   ` Christian Tramnitz
2009-08-10 15:06     ` Ian Jackson

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=4A7B5366.7000400@gmx.net \
    --to=chris.ace@gmx.net \
    --cc=xen-devel@lists.xensource.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.