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] Fix handling of auto-generated file xsm.p

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix handling of auto-generated file xsm.py.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:13:43 -0700
Delivery-date: Fri, 07 Sep 2007 09:21:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1188558747 -3600
# Node ID 16e01b0dcdbc7a4b737a5f80ba4ab8bf4e3db26c
# Parent  7e7e0ea6a0bbc093461f199947d6c99eaae01eba
Fix handling of auto-generated file xsm.py.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/util/xsm/xsm.py |    9 ---------
 .hgignore                        |    1 +
 tools/python/Makefile            |    4 ++--
 3 files changed, 3 insertions(+), 11 deletions(-)

diff -r 7e7e0ea6a0bb -r 16e01b0dcdbc .hgignore
--- a/.hgignore Fri Aug 31 12:05:07 2007 +0100
+++ b/.hgignore Fri Aug 31 12:12:27 2007 +0100
@@ -149,6 +149,7 @@
 ^tools/misc/xenperf$
 ^tools/pygrub/build/.*$
 ^tools/python/build/.*$
+^tools/python/xen/util/xsm/xsm\.py$
 ^tools/security/secpol_tool$
 ^tools/security/xen/.*$
 ^tools/security/xensec_tool$
diff -r 7e7e0ea6a0bb -r 16e01b0dcdbc tools/python/Makefile
--- a/tools/python/Makefile     Fri Aug 31 12:05:07 2007 +0100
+++ b/tools/python/Makefile     Fri Aug 31 12:12:27 2007 +0100
@@ -23,10 +23,10 @@ NLSDIR = /usr/share/locale
 NLSDIR = /usr/share/locale
 
 .PHONY: build buildpy
-buildpy:
+buildpy: xsm.py
        CC="$(CC)" CFLAGS="$(CFLAGS)" 
XEN_SECURITY_MODULE="$(XEN_SECURITY_MODULE)" python setup.py build
 
-build: xsm.py buildpy refresh-pot refresh-po $(CATALOGS)
+build: buildpy refresh-pot refresh-po $(CATALOGS)
 
 # NB we take care to only update the .pot file it strings have
 # actually changed. This is complicated by the embedded date
diff -r 7e7e0ea6a0bb -r 16e01b0dcdbc tools/python/xen/util/xsm/xsm.py
--- a/tools/python/xen/util/xsm/xsm.py  Fri Aug 31 12:05:07 2007 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-XEN_SECURITY_MODULE = "flask"
-from xsm_core import *
-
-import xen.util.xsm.flask.flask as xsm_module
-
-xsm_init(xsm_module)
-from xen.util.xsm.flask.flask import *
-del xsm_module
-

_______________________________________________
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] Fix handling of auto-generated file xsm.py., Xen patchbot-unstable <=