VirtualBox

Changeset 104879 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jun 10, 2024 4:11:54 PM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163480
Message:

ValidationKit: bugref:10690: A try to fix regression added in r163460; Support for legacy ExtPack name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py

    r104863 r104879  
    12161216        if sExtPack is None:
    12171217            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');
     1221            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;
    12181227        if sExtPack is None:
    12191228            return True;
    12201229
    1221         sDstDir = os.path.join(sExtPackDir, 'Oracle_VirtualBox_Extension_Pack');
     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');
    12221234        reporter.log('Installing extension pack "%s" to "%s"...' % (sExtPack, sExtPackDir));
    12231235        fRc, _ = self._sudoExecuteSync([ self.getBinTool('vts_tar'),
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette