]> git.pld-linux.org Git - packages/xen.git/blob - xen-dumpdir.patch
- unified opengl,sdl bcond names
[packages/xen.git] / xen-dumpdir.patch
1 diff -up xen-3.4.0/tools/Makefile.dump xen-3.4.0/tools/Makefile
2 --- xen-3.4.0/tools/Makefile.dump       2009-05-18 13:05:38.000000000 +0200
3 +++ xen-3.4.0/tools/Makefile    2009-05-20 17:03:26.000000000 +0200
4 @@ -46,7 +46,7 @@ all: subdirs-all
5  
6  .PHONY: install
7  install: subdirs-install
8 -       $(INSTALL_DIR) $(DESTDIR)/var/xen/dump
9 +       $(INSTALL_DIR) $(DESTDIR)/var/lib/xen/dump
10         $(INSTALL_DIR) $(DESTDIR)/var/log/xen
11         $(INSTALL_DIR) $(DESTDIR)/var/lib/xen
12         $(INSTALL_DIR) $(DESTDIR)/var/lock/subsys
13 --- xen-4.0.0/tools/python/xen/xend/XendDomainInfo.py.orig      2010-02-02 20:43:01.000000000 +0000
14 +++ xen-4.0.0/tools/python/xen/xend/XendDomainInfo.py   2010-02-02 21:36:57.000000000 +0000
15 @@ -2287,7 +2287,7 @@
16              # To prohibit directory traversal
17              based_name = os.path.basename(self.info['name_label'])
18              
19 -            coredir = "/var/xen/dump/%s" % (based_name)
20 +            coredir = "/var/lib/xen/dump/%s" % (based_name)
21              if not os.path.exists(coredir):
22                  try:
23                      mkdir.parents(coredir, stat.S_IRWXU)
24 @@ -2296,7 +2296,7 @@
25  
26              if not os.path.isdir(coredir):
27                  # Use former directory to dump core
28 -                coredir = '/var/xen/dump'
29 +                coredir = '/var/lib/xen/dump'
30  
31              this_time = time.strftime("%Y-%m%d-%H%M.%S", time.localtime())
32              corefile = "%s/%s-%s.%s.core" % (coredir, this_time,
This page took 0.031425 seconds and 3 git commands to generate.