direct-io.hg
changeset 9636:3c05406f5e0a
In some cases, say for instance for some bizzare reason
the tree was checked out of CVS, which doens't neccessarily
store file permissions, mkbuildtree may not be executable.
So run them explicitly via bash.
Signed-Off-By: Horms <horms@verge.net.au>
the tree was checked out of CVS, which doens't neccessarily
store file permissions, mkbuildtree may not be executable.
So run them explicitly via bash.
Signed-Off-By: Horms <horms@verge.net.au>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Thu Apr 13 11:24:00 2006 +0100 (2006-04-13) |
parents | b77ebfaa72b2 |
children | 6692dd873e21 |
files | buildconfigs/Rules.mk buildconfigs/mk.linux-2.6-xen linux-2.6-xen-sparse/mkbuildtree tools/debugger/gdb/gdbbuild tools/misc/xen-clone |
line diff
1.1 --- a/buildconfigs/Rules.mk Thu Apr 13 11:08:20 2006 +0100 1.2 +++ b/buildconfigs/Rules.mk Thu Apr 13 11:24:00 2006 +0100 1.3 @@ -99,14 +99,14 @@ endif 1.4 linux-2.6-xen.patch: ref-linux-$(LINUX_VER)/.valid-ref 1.5 rm -rf tmp-$@ 1.6 cp -al $(<D) tmp-$@ 1.7 - ( cd linux-2.6-xen-sparse && ./mkbuildtree ../tmp-$@ ) 1.8 + ( cd linux-2.6-xen-sparse && bash ./mkbuildtree ../tmp-$@ ) 1.9 diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true 1.10 rm -rf tmp-$@ 1.11 1.12 %-xen.patch: ref-%/.valid-ref 1.13 rm -rf tmp-$@ 1.14 cp -al $(<D) tmp-$@ 1.15 - ( cd $*-xen-sparse && ./mkbuildtree ../tmp-$@ ) 1.16 + ( cd $*-xen-sparse && bash ./mkbuildtree ../tmp-$@ ) 1.17 diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true 1.18 rm -rf tmp-$@ 1.19
2.1 --- a/buildconfigs/mk.linux-2.6-xen Thu Apr 13 11:08:20 2006 +0100 2.2 +++ b/buildconfigs/mk.linux-2.6-xen Thu Apr 13 11:24:00 2006 +0100 2.3 @@ -22,8 +22,8 @@ build: $(LINUX_DIR)/include/linux/autoco 2.4 rm -rf $(LINUX_DIR) 2.5 cp -al $(<D) $(LINUX_DIR) 2.6 # Apply arch-xen patches 2.7 - ( cd linux-$(LINUX_SERIES)-xen-sparse ; \ 2.8 - LINUX_ARCH=$(LINUX_ARCH) ./mkbuildtree ../$(LINUX_DIR) ) 2.9 + ( cd linux-$(LINUX_SERIES)-xen-sparse && \ 2.10 + LINUX_ARCH=$(LINUX_ARCH) bash ./mkbuildtree ../$(LINUX_DIR) ) 2.11 # Re-use config from install dir if one exits else use default config 2.12 CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' $(LINUX_DIR)/Makefile); \ 2.13 [ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION-$(EXTRAVERSION) ] && \
3.1 --- a/linux-2.6-xen-sparse/mkbuildtree Thu Apr 13 11:08:20 2006 +0100 3.2 +++ b/linux-2.6-xen-sparse/mkbuildtree Thu Apr 13 11:24:00 2006 +0100 3.3 @@ -90,8 +90,8 @@ abs_to_rel ${AD} ${AS} 3.4 RS=$DESTPATH 3.5 3.6 # Arch-specific pre-processing 3.7 -if [ -x arch/${LINUX_ARCH}/xen-mkbuildtree-pre ]; then 3.8 - arch/${LINUX_ARCH}/xen-mkbuildtree-pre 3.9 +if [ -e arch/${LINUX_ARCH}/xen-mkbuildtree-pre ]; then 3.10 + bash arch/${LINUX_ARCH}/xen-mkbuildtree-pre 3.11 fi 3.12 3.13 # Remove old copies of files and directories at the destination 3.14 @@ -115,6 +115,6 @@ relative_lndir ../../../${RS}/../xen/inc 3.15 3.16 # Arch-specific post-processing 3.17 cd ${AD} 3.18 -if [ -x arch/${LINUX_ARCH}/xen-mkbuildtree-post ]; then 3.19 - arch/${LINUX_ARCH}/xen-mkbuildtree-post 3.20 +if [ -e arch/${LINUX_ARCH}/xen-mkbuildtree-post ]; then 3.21 + bash arch/${LINUX_ARCH}/xen-mkbuildtree-post 3.22 fi
4.1 --- a/tools/debugger/gdb/gdbbuild Thu Apr 13 11:08:20 2006 +0100 4.2 +++ b/tools/debugger/gdb/gdbbuild Thu Apr 13 11:24:00 2006 +0100 4.3 @@ -7,7 +7,7 @@ rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xe 4.4 tar xjf gdb-6.2.1.tar.bz2 4.5 4.6 cd gdb-6.2.1-xen-sparse 4.7 -./mkbuildtree ../gdb-6.2.1 4.8 +bash ./mkbuildtree ../gdb-6.2.1 4.9 4.10 cd .. 4.11 mkdir gdb-6.2.1-linux-i386-xen
5.1 --- a/tools/misc/xen-clone Thu Apr 13 11:08:20 2006 +0100 5.2 +++ b/tools/misc/xen-clone Thu Apr 13 11:24:00 2006 +0100 5.3 @@ -113,7 +113,7 @@ else 5.4 5.5 # Turn linux into xenolinux then build it 5.6 cd xenolinux-${LINUX_VER}-sparse 5.7 - ./mkbuildtree ../../linux-${LINUX_VER} 5.8 + bash ./mkbuildtree ../../linux-${LINUX_VER} 5.9 cd ../.. 5.10 mv linux-${LINUX_VER} xenolinux-${LINUX_VER} 5.11 cd xenolinux-${LINUX_VER}