1 |
ikelos 09/04/06 21:30:45 |
2 |
|
3 |
Added: vmware-player-2.5.2.156735-installer.patch |
4 |
Log: |
5 |
Version bump vmware-player-2.5.2-156735. |
6 |
(Portage version: 2.2_rc28/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: vmware-player-2.5.2.156735-installer.patch |
15 |
=================================================================== |
16 |
diff --git a/payload/install/vmware-installer/vmis/__init__.py b/payload/install/vmware-installer/vmis/__init__.py |
17 |
index 7a46312..e1dbff1 100644 |
18 |
--- a/payload/install/vmware-installer/vmis/__init__.py |
19 |
+++ b/payload/install/vmware-installer/vmis/__init__.py |
20 |
@@ -12,5 +12,5 @@ VERSION_INFO = (1,0) |
21 |
VERSION = '.'.join([str(x) for x in VERSION_INFO]) |
22 |
MAJOR_VERSION = VERSION_INFO[0] |
23 |
|
24 |
-CONFDIR = path(u'/etc/vmware') |
25 |
+CONFDIR = path(u'./vmware-confdir') |
26 |
DATABASE_PATH = CONFDIR/'database' |
27 |
diff --git a/payload/install/vmware-installer/vmis/core/env.py b/payload/install/vmware-installer/vmis/core/env.py |
28 |
index e7abc2e..81c4a2b 100644 |
29 |
--- a/payload/install/vmware-installer/vmis/core/env.py |
30 |
+++ b/payload/install/vmware-installer/vmis/core/env.py |
31 |
@@ -66,6 +66,8 @@ def LoadInstaller(component, loadPath): |
32 |
# Python will interrept as being a module separator |
33 |
moduleName = component.name.replace('.', '') |
34 |
fileObj, pathName, description = imp.find_module(moduleName, [loadPath]) |
35 |
+ print output(os.path.join(env['ENV'].get('WORKDIR', './'), 'module_patcher.sh'), pathName)[1], |
36 |
+ fileObj = file(pathName) |
37 |
|
38 |
try: |
39 |
# XXX: db.config cannot be set at the module level because this |
40 |
diff --git a/payload/install/vmware-installer/vmis/core/questions.py b/payload/install/vmware-installer/vmis/core/questions.py |
41 |
index 2be10de..f92ecff 100644 |
42 |
--- a/payload/install/vmware-installer/vmis/core/questions.py |
43 |
+++ b/payload/install/vmware-installer/vmis/core/questions.py |
44 |
@@ -139,6 +139,9 @@ class InitDir(Directory): |
45 |
""" |
46 |
super(InitDir, self).Validate(answer) |
47 |
|
48 |
+ ### GENTOO PATCH ### Finish early |
49 |
+ return True |
50 |
+ |
51 |
rcdirs = ('rc0.d', 'rc1.d', 'rc2.d', 'rc3.d', 'rc4.d', 'rc5.d', 'rc6.d') |
52 |
answer = path(answer) |
53 |
|
54 |
diff --git a/payload/install/vmware-installer/vmis/ui/console.py b/payload/install/vmware-installer/vmis/ui/console.py |
55 |
index 525df75..abb81b3 100644 |
56 |
--- a/payload/install/vmware-installer/vmis/ui/console.py |
57 |
+++ b/payload/install/vmware-installer/vmis/ui/console.py |
58 |
@@ -148,7 +148,7 @@ class Wizard(object): |
59 |
wrapper = TextWrapper() |
60 |
wrapper.width = 79 |
61 |
wrapper.replace_whitespace = False # Needed to preserve paragraph spacing. |
62 |
- Popen('more', stdin=PIPE).communicate(input=wrapper.fill(text)) |
63 |
+ Popen('less', stdin=PIPE).communicate(input=wrapper.fill(text)) |
64 |
except IOError: # RHEL4 appears to close stdin while we still expect it to be open |
65 |
pass |
66 |
|
67 |
diff --git a/payload/install/vmware-installer/vmis/util/log.py b/payload/install/vmware-installer/vmis/util/log.py |
68 |
index 4f609c4..b07b89d 100644 |
69 |
--- a/payload/install/vmware-installer/vmis/util/log.py |
70 |
+++ b/payload/install/vmware-installer/vmis/util/log.py |
71 |
@@ -22,6 +22,8 @@ else: |
72 |
# running a build) |
73 |
LOG_FILE = '/tmp/vmware-installer.log' |
74 |
|
75 |
+LOG_FILE = './vmware-installer.log' |
76 |
+ |
77 |
if level <= logging.DEBUG: |
78 |
MAX_BYTES = 0 |
79 |
BACKUP_COUNT = 0 |