Changeset 104883 in vbox
- Timestamp:
- Jun 11, 2024 9:40:58 AM (10 months ago)
- svn:sync-xref-src-repo-rev:
- 163485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r104879 r104883 1203 1203 return None; 1204 1204 1205 ksExtPackBasenames = [ 'Oracle_VirtualBox_Extension_Pack', 'Oracle_VM_VirtualBox_Extension_Pack', ]; 1205 1206 def _installExtPack(self): 1206 1207 """ Installs the extension pack. """ … … 1213 1214 return False; 1214 1215 1215 sExtPack = self._findFile('Oracle_VirtualBox_Extension_Pack.vbox-extpack'); 1216 if sExtPack is None: 1217 sExtPack = self._findFile('Oracle_VirtualBox_Extension_Pack.*.vbox-extpack'); 1218 # legacy name check: 1219 if sExtPack is None: 1220 sExtPack = self._findFile('Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack'); 1216 for sExtPackBasename in self.ksExtPackBasenames: 1217 sExtPack = self._findFile('%s.vbox-extpack' % (sExtPackBasename,)); 1218 if sExtPack is None: 1219 sExtPack = self._findFile('%s.*.vbox-extpack' % (sExtPackBasename,)); 1221 1220 if sExtPack is not None: 1222 fLegacyName = True; 1223 if sExtPack is None: 1224 sExtPack = self._findFile('Oracle_VM_VirtualBox_Extension_Pack.*.vbox-extpack'); 1225 if sExtPack is not None: 1226 fLegacyName = True; 1221 break; 1227 1222 if sExtPack is None: 1228 1223 return True; 1229 1224 1230 if not fLegacyName: 1231 sDstDir = os.path.join(sExtPackDir, 'Oracle_VirtualBox_Extension_Pack'); 1232 else: 1233 sDstDir = os.path.join(sExtPackDir, 'Oracle_VM_VirtualBox_Extension_Pack'); 1225 sDstDir = os.path.join(sExtPackDir, sExtPackBasename); 1234 1226 reporter.log('Installing extension pack "%s" to "%s"...' % (sExtPack, sExtPackDir)); 1235 1227 fRc, _ = self._sudoExecuteSync([ self.getBinTool('vts_tar'),
Note:
See TracChangeset
for help on using the changeset viewer.