[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][XM-TEST] Make sure rcS is executable before ramdisk build


  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dan Smith <danms@xxxxxxxxxx>
  • Date: Wed, 07 Dec 2005 07:45:05 -0800
  • Delivery-date: Wed, 07 Dec 2005 15:45:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch (against unstable) makes sure that the skel/etc/init.d/rcS
file is executable before building the final ramdisk image.  This
should fix the problem some people are having with their ramdisk
builds.

# HG changeset patch
# User danms@xxxxxxxxxx
# Node ID e8eb935c339751b46b6f5852aa9e3d0600983451
# Parent  5f574f9cb4bd2b5eebd98ce6fc43ce0c33d7b1d4
Make the xm-test ramdisk makefile correct the permissions on the rcS script

Signed-off-by: Dan Smith <danms@xxxxxxxxxx>

diff -r 5f574f9cb4bd -r e8eb935c3397 tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Wed Dec  7 11:57:26 2005
+++ b/tools/xm-test/ramdisk/Makefile.am Wed Dec  7 15:12:58 2005
@@ -29,6 +29,7 @@
        cd $(BR_SRC) && make oldconfig && make
 
 $(XMTEST_VER_IMG): $(BR_IMG)
+       chmod a+x skel/etc/init.d/rcS
        (cd skel; tar cf - .) | (cd $(BR_SRC)/$(BR_ROOT); tar xvf -)
        cd $(BR_SRC) && make
        cp $(BR_IMG) initrd-$(XMTEST_MAJ_VER).img
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.