Skip to contentSkip to conversation

Make sure rcS is executable before ramdisk build

PATCH In review Dan Smith 3 participants 3 messages Dec 7, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 Make sure rcS is executable before ramdisk build

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 [email protected]
# Node ID e8eb935c339751b46b6f5852aa9e3d0600983451
# Parent 5f574f9cb4bd2b5eebd98ce6fc43ce0c33d7b1d4
Make the xm-test ramdisk makefile correct the permissions on the rcS script

tools/xm-test/ramdisk/Makefile.am +1 -0
diff -r 5f574f9cb4bd -r e8eb935c3397 tools/xm-test/ramdisk/Makefile.am
@@ -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
Signature · 4 lines
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 4 lines · Dan Smith

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.

Great, thanks. I've applied that.

Ewan.

#2 lore raw
In reply to Dan Smith
Quoted 4 lines · On Wed, 07 Dec 2005 07:45:05 -0800 Dan Smith <[email protected]> wrote:

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.

Great, thanks.

Matsumoto.