VirtualBox

Ignore:
Timestamp:
May 5, 2022 8:08:47 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151266
Message:

Installer/darwin: Need to modify host architecture detection in the installation script depending on the build target architecture, bugref:9898

Location:
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution-driverless.dist

    r94855 r94866  
    1515<installer-gui-script minSpecVersion="1.0">
    1616    <title>VirtualBox_title</title>
    17     <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="i386,arm64"/>
     17    <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="@VBOX_ARCH_LIST@"/>
    1818    <installation-check script="checkPrerequisite()"></installation-check>
    1919    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
     
    4242           test = system.sysctl('hw.machine');
    4343           system.log("Hardware architecture detected: " + test);
    44            result = (test == 'x86_64');
     44           result = (test == '@VBOX_TARGET_ARCH@');
    4545       } catch (e) { system.log(e); result = false; }
    4646
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist

    r94855 r94866  
    1515<installer-gui-script minSpecVersion="1.0">
    1616    <title>VirtualBox_title</title>
    17     <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="i386,arm64"/>
     17    <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="@VBOX_ARCH_LIST@"/>
    1818    <installation-check script="checkPrerequisite()"></installation-check>
    1919    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
     
    4242           test = system.sysctl('hw.machine');
    4343           system.log("Hardware architecture detected: " + test);
    44            result = (test == 'x86_64');
     44           result = (test == '@VBOX_TARGET_ARCH@');
    4545       } catch (e) { system.log(e); result = false; }
    4646
Note: See TracChangeset for help on using the changeset viewer.

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