direct-io.hg

changeset 465:d883f874f183

bitkeeper revision 1.241 (3ec61e32s6YTF00rluKDK91CWwrYCg)

Merge elite.cl.cam.ac.uk:/Nfs/elmer-e5/grp-sr1/xeno/BK/xeno.bk
into elite.cl.cam.ac.uk:/Nfs/elmer-e5/grp-sr1/xeno/users/tlh20/xeno.bk
author tlh20@elite.cl.cam.ac.uk
date Sat May 17 11:34:10 2003 +0000 (2003-05-17)
parents 8e1863a63358 70e18b52839d
children 4b5c3faedda5
files .rootkeys tools/internal/Makefile tools/internal/rpm.spec
line diff
     1.1 --- a/.rootkeys	Fri May 16 16:15:54 2003 +0000
     1.2 +++ b/.rootkeys	Sat May 17 11:34:10 2003 +0000
     1.3 @@ -102,6 +102,7 @@ 3eb781fdc539MQQm47rYRCCR3N5i-Q tools/int
     1.4  3eb781fdEYILyFg60YVBsWNqxWFf1g tools/internal/dom0_ops.h
     1.5  3eb781fddjylXbsepjppUyIXa5lcaQ tools/internal/hypervisor_defs.h
     1.6  3eb781fdKiQbgozBsgs_zzJQ9ubehw tools/internal/mem_defs.h
     1.7 +3ec61e1bJCeJJu0SsptmDpA1xKvwvw tools/internal/rpm.spec
     1.8  3eb781fdgbSkh2O6JQS-65Dz4n0ItQ tools/internal/xi_build.c
     1.9  3eb781fdW1SAyiaC4mTsXq_9fRHh-A tools/internal/xi_create.c
    1.10  3eb781fdcJ0fF7rWfzAOArW-x4-gwA tools/internal/xi_destroy.c
     2.1 --- a/tools/internal/Makefile	Fri May 16 16:15:54 2003 +0000
     2.2 +++ b/tools/internal/Makefile	Sat May 17 11:34:10 2003 +0000
     2.3 @@ -32,6 +32,14 @@ install: all
     2.4  	chmod 755 ../../../install/bin/xi_list
     2.5  	chmod 755 ../../../install/bin/xi_vifinit
     2.6  
     2.7 +rpm: all
     2.8 +	rm -rf staging
     2.9 +	mkdir staging
    2.10 +	mkdir staging/i386
    2.11 +	rpm --define "staging$$PWD/staging" --define '_builddir.' --define "_rpmdir$$PWD/staging" -bb rpm.spec
    2.12 +	mv staging/i386/*.rpm .
    2.13 +	rm -rf staging
    2.14 +
    2.15  clean:
    2.16 -	$(RM) *.o $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD)
    2.17 +	$(RM) *.o *.rpm $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD)
    2.18  
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tools/internal/rpm.spec	Sat May 17 11:34:10 2003 +0000
     3.3 @@ -0,0 +1,37 @@
     3.4 +Summary: Xen command line tools
     3.5 +Name: xen-internal-tools
     3.6 +Version: 1.0
     3.7 +Release: 1
     3.8 +License: Xen
     3.9 +Group: Xen
    3.10 +BuildRoot: %{staging}
    3.11 +%description
    3.12 +Command line tools for building and managing domains on a system
    3.13 +running the Xen hypervisor.
    3.14 +
    3.15 +%pre
    3.16 +%preun
    3.17 +%install
    3.18 +install -m 0755 -d $RPM_BUILD_ROOT/bin
    3.19 +install -m 0755 xi_build $RPM_BUILD_ROOT/bin/xi_build
    3.20 +install -m 0755 xi_create $RPM_BUILD_ROOT/bin/xi_create
    3.21 +install -m 0755 xi_destroy $RPM_BUILD_ROOT/bin/xi_destroy
    3.22 +install -m 0755 xi_helper $RPM_BUILD_ROOT/bin/xi_helper
    3.23 +install -m 0755 xi_list $RPM_BUILD_ROOT/bin/xi_list
    3.24 +install -m 0755 xi_start $RPM_BUILD_ROOT/bin/xi_start
    3.25 +install -m 0755 xi_stop $RPM_BUILD_ROOT/bin/xi_stop
    3.26 +install -m 0755 xi_vifinit $RPM_BUILD_ROOT/bin/xi_vifinit
    3.27 +%clean
    3.28 +%post
    3.29 +%postun
    3.30 +%files
    3.31 +%defattr(-,root,root)
    3.32 +%dir /bin
    3.33 +/bin/xi_build
    3.34 +/bin/xi_create
    3.35 +/bin/xi_destroy
    3.36 +/bin/xi_helper
    3.37 +/bin/xi_list
    3.38 +/bin/xi_start
    3.39 +/bin/xi_stop
    3.40 +/bin/xi_vifinit