WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Make "make disk.img" not require building the entire bui

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Make "make disk.img" not require building the entire buildroot if initrd
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 03 Feb 2006 19:24:15 +0000
Delivery-date: Fri, 03 Feb 2006 19:36:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 7bafcb7c24eb04adb6e24b761323e63812cfe07d
# Parent  514f2585d102f592b7adef6b8d684003f28dd6d2
Make "make disk.img" not require building the entire buildroot if initrd
already exists. Changed dependency for disk.img to "existing" and added
a line to make existing false.

Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx>

diff -r 514f2585d102 -r 7bafcb7c24eb tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Fri Feb  3 09:31:28 2006
+++ b/tools/xm-test/ramdisk/Makefile.am Fri Feb  3 09:34:03 2006
@@ -43,7 +43,7 @@
 initrd.img: $(XMTEST_VER_IMG)
        ln -sf $(XMTEST_VER_IMG) initrd.img
 
-disk.img: $(XMTEST_VER_IMG)
+disk.img: existing
        chmod a+x $(HVM_SCRIPT)
        @if test ! "$(HVMKERNEL)" = "no" -a ! "$(DRVDIR)" = "no"; then \
                $(HVM_SCRIPT) -r $(XMTEST_VER_IMG) -k $(HVMKERNEL) \
@@ -57,8 +57,12 @@
        fi
 
 existing:
-       @[ -f $(XMTEST_VER_IMG) ] && ln -sf $(XMTEST_VER_IMG) initrd.img || \
-       echo Error, $(XMTEST_VER_IMG) not found
+       @if [ -f $(XMTEST_VER_IMG) ] ; then \
+               ln -sf $(XMTEST_VER_IMG) initrd.img; \
+       else \
+               echo Error, $(XMTEST_VER_IMG) not found;  \
+               false; \
+       fi
 
 clean-local: am_config_clean-local
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Make "make disk.img" not require building the entire buildroot if initrd, Xen patchbot -unstable <=