ia64/xen-unstable

view freebsd-5.3-xen-sparse/fbsdxensetup @ 4715:b387d447d1ba

bitkeeper revision 1.1327.1.17 (4272b57fwJKUhFtJ5BrqVZ7CEFKwrA)

Oops3 for more code cleanup
author djm@kirby.fc.hp.com
date Fri Apr 29 22:30:23 2005 +0000 (2005-04-29)
parents a01199a95070
children 15a2de6f1493 1bfa723fe264
line source
1 #!/bin/csh -f
3 setenv XENROOT `bk root`
4 rm -rf $XENROOT/fbsdtmp $XENROOT/freebsd-5.3-xenU
5 mkdir -p $XENROOT/fbsdtmp
6 cd $XENROOT/fbsdtmp
7 echo "step 1"
8 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.aa
9 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ab
10 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ac
11 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ad
12 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ae
13 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.af
14 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ag
15 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ah
16 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ai
17 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.aj
18 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ak
19 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.al
20 mkdir -p foo
21 cat ssys.?? | tar --unlink -xpzf - -C foo/
22 mkdir -p $XENROOT/freebsd-5.3-xenU
23 mv foo/sys/* $XENROOT/freebsd-5.3-xenU
24 cd $XENROOT
25 rm -rf $XENROOT/fbsdtmp
26 echo "step 2"
27 mkdir -p $XENROOT/freebsd-5.3-xenU/i386-xen/include
28 cd $XENROOT/freebsd-5.3-xenU/i386-xen/include/
29 foreach file (../../i386/include/*)
30 ln -s $file
31 end
32 echo "step 3"
33 cd $XENROOT/freebsd-5.3-xen-sparse
34 echo "step 4"
35 ./mkbuildtree ../freebsd-5.3-xenU
36 echo "step 5"
37 cd $XENROOT/freebsd-5.3-xenU/i386-xen/include
38 ln -s $XENROOT/xen/include/public xen-public
39 echo "done"