ia64/xen-unstable

view install.sh @ 4913:5a28c8cd39a3

bitkeeper revision 1.1159.258.123 (42852fd48Nr7wIoriw8GV3ZAjVOw8Q)

Many files:
Create vmlinuz-$(VERSION).$(PATCHLEVEL)-$(XENGUEST) and
vmlinuz-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)-$(XENGUEST) symlinks in
dist/install/boot from kernel build target.
install.sh:
No need to create vmlinuz symlinks in dist/install/boot from install.sh
anymore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Fri May 13 22:53:08 2005 +0000 (2005-05-13)
parents f7b65f70ccc8
children 0651c17c1f17 2a5814ad2e56
line source
1 #!/bin/sh
3 src='./install'
4 if [ -d ./dist ]; then
5 src='./dist/install'
6 fi
8 if ! [ -d $src ]; then
9 echo "ERROR: Could not find a valid distribution directory."
10 echo " If this is a source-only release, try 'make dist'."
11 exit 1
12 fi
14 dst='/'
15 if [ $# -ne 0 ]; then
16 dst=$1
17 fi
19 if ! [ -d $dst ]; then
20 echo "ERROR: You must specify a valid install directory."
21 echo " The specified directory '$dst' is not valid."
22 exit 1
23 fi
25 echo "Installing Xen from '$src' to '$dst'..."
26 cp -fdRL $src/* $dst
27 echo "All done."
29 echo "Checking to see whether prerequisite tools are installed..."
30 cd $src/../check
31 ./chk install
32 echo "All done."
34 exit 0