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

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

To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][XM-TEST] Make sure rcS is executable before ramdisk build
From: Dan Smith <danms@xxxxxxxxxx>
Date: Wed, 07 Dec 2005 07:45:05 -0800
Delivery-date: Wed, 07 Dec 2005 15:45:54 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
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
<Prev in Thread] Current Thread [Next in Thread>