WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] tools/misc: Remove some obsolete scripts.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools/misc: Remove some obsolete scripts.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 23:03:15 -0700
Delivery-date: Tue, 07 Apr 2009 23:09:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1239048753 -3600
# Node ID accf139b2eb91ddfc584a26db926bc3e952016f6
# Parent  ff9fdd6fce1e0a79df71dec0c1dbc4725c8fbe47
tools/misc: Remove some obsolete scripts.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/misc/fakei386xen      |   32 --------------------
 tools/misc/netfix           |   69 --------------------------------------------
 tools/misc/xen-clone.README |   23 --------------
 tools/misc/Makefile         |    2 -
 4 files changed, 1 insertion(+), 125 deletions(-)

diff -r ff9fdd6fce1e -r accf139b2eb9 tools/misc/Makefile
--- a/tools/misc/Makefile       Mon Apr 06 20:56:02 2009 +0100
+++ b/tools/misc/Makefile       Mon Apr 06 21:12:33 2009 +0100
@@ -22,7 +22,7 @@ INSTALL_BIN-$(CONFIG_X86) += xen-detect
 INSTALL_BIN-$(CONFIG_X86) += xen-detect
 INSTALL_BIN := $(INSTALL_BIN-y)
 
-INSTALL_SBIN-y := netfix xm xen-bugtool xen-python-path xend xenperf xsview 
xenpm
+INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm
 INSTALL_SBIN := $(INSTALL_SBIN-y)
 
 DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
diff -r ff9fdd6fce1e -r accf139b2eb9 tools/misc/fakei386xen
--- a/tools/misc/fakei386xen    Mon Apr 06 20:56:02 2009 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-cln () {
-while [ $# -gt 0 ]; do
-  (
-    test -f "$1" || { echo "$1: No such file or directory" 1>&2; exit 1; }
-    { cp $1 cln$$ && rm $1 && mv cln$$ $1; } || { rm -f cln$$; exit 1; }
-  )
-  shift
-done
-}
-
-
-for i in `find include/asm-xen arch/xen -type l | xargs ls -l | egrep 
'../(asm-)?i386/' | awk '{print $9}'`
-do
-  echo $i
-  cln $i
-done
-
-mv include/asm-i386 include/asm-Xi386
-mv include/asm-xen include/asm-i386
-ln -s asm-i386 include/asm-xen
-rm include/asm
-ln -s asm-i386 include/asm
-mv arch/i386 arch/Xi386
-mv arch/xen arch/i386
-ln -s i386 arch/xen
-
-mv Makefile XMakefile
-#sed -e 's/^EXTRAVERSION =.*/EXTRAVERSION = -xen/' <XMakefile >Makefile
-echo ARCH=i386 >Makefile ; cat XMakefile >>Makefile
-
diff -r ff9fdd6fce1e -r accf139b2eb9 tools/misc/netfix
--- a/tools/misc/netfix Mon Apr 06 20:56:02 2009 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-#!/usr/bin/env python
-#  -*- mode: python; -*-
-#============================================================================
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
-#============================================================================
-# Move the IP address from eth0 onto the Xen bridge (xenbr0).
-# Only works if the bridge control utils (brctl) have been installed.
-#============================================================================
-
-from getopt import getopt
-
-# add fallback path for non-native python path installs if needed
-sys.path.append('/usr/lib/python')
-sys.path.append('/usr/lib64/python')
-from xen.util.Brctl import *
-
-short_options = 'hvqni:b:c'
-long_options  = ['help', 'verbose', 'quiet',
-                 'interface=', 'bridge=', 'create']
-
-defaults['interface'] = 'eth0'
-defaults['bridge'] = 'xenbr0'
-
-def usage():
-    print """Usage:
-    %s [options]
-
-    Reconfigure routing so that <bridge> has the IP address from
-    <interface>. This lets IP carry on working when <interface>
-    is attached to <bridge> for virtual networking.
-    Uses brctl to add <interface> to <bridge>,
-    so this can be run before any domains have been created.
-    """ % sys.argv[0]
-    print """
-    -i, --interface <interface>    interface, default %(interface)s.
-    -b, --bridge <bridge>          bridge, default %(bridge)s.
-    -c, --create                   create the bridge.
-    -v, --verbose                  Print commands.
-    -q, --quiet                    Don't print commands.
-    -n, --dry-run                  Don't execute commands.
-    -h, --help                     Print this help.
-    """ % defaults
-    sys.exit(1)
-
-
-def main():
-    lopts = set_opts(Opts(defaults))
-    lopts.dryrun = 0
-    (options, args) = getopt(sys.argv[1:], short_options, long_options)
-    if args: usage()
-    for k, v in options:
-        if k in ['-h', '--help']:
-            usage()
-        elif k in ['-c', '--create']:
-            lopts.create = 1
-        elif k in ['-i', '--interface']:
-            lopts.interface = v
-        elif k in ['-b', '--bridge']:
-            lopts.bridge = v
-        elif k in ['-q', '--quiet']:
-            lopts.verbose = 0
-        elif k in ['-v', '--verbose']:
-            lopts.verbose = 1
-        elif k in ['-n', '--dry-run']:
-            lopts.dryrun = 1
-    reconfigure(lopts.interface, lopts.bridge)
-
-if __name__ == '__main__':
-    main()
diff -r ff9fdd6fce1e -r accf139b2eb9 tools/misc/xen-clone.README
--- a/tools/misc/xen-clone.README       Mon Apr 06 20:56:02 2009 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-
-xen-clone
-
-usage: xen-clone <bk_repository> <dest_dir> <orig_linux_dir>
-
-This script can be used to 'bk clone' and build a xen and xenolinux image 
-from the master BK repository, either from a local copy, or from the
-public repository bk://xen.bkbits.net/xeno.bk
-
-In many circumstances, it can be invoked without any arguments and
-just `does the right thing'.
-
-The default dest_dir is 'xeno-clone', relative to the current directory.
-
-To build xenolinux, the script needs a pristine copy of the equivalent 
-linux tree. The script looks in a couple of places on the local filesystem, 
-then tries a download from from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
-
-The script also tries a number of optional UCCL site-specific operations
-that configure the test machine booting infrastructure to boot the 
-resultant image.
-
-

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools/misc: Remove some obsolete scripts., Xen patchbot-unstable <=