This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] fix ioemu build

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix ioemu build
From: Christian Tramnitz <chris.ace@xxxxxxx>
Date: Fri, 07 Aug 2009 00:04:22 +0200
Delivery-date: Thu, 06 Aug 2009 15:05:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20090605)

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.


--- 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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>