VirtualBox

Changeset 107968 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 28, 2025 3:15:18 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167220
Message:

Main: Marked the ARM64-based Linux Guest Additions installer optional in the automatic Guest Additions Updater code. This makes it possible to test (failing) older Guest Additions which don't support ARM64 on ARM64 guests. bugref:10734

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r107967 r107968  
    33213321                        case eOSType_Linux:
    33223322                        {
    3323                             bool fIsArm = getPlatformArch() == PlatformArchitecture_ARM;
     3323                            bool const fIsArm = getPlatformArch() == PlatformArchitecture_ARM;
    33243324
    33253325                            const Utf8Str strInstallerBinUC("VBOXLINUXADDITIONS" + Utf8Str(fIsArm ? "-ARM64" : "") + ".RUN");
    33263326                            const Utf8Str strInstallerBin  ("VBoxLinuxAdditions" + Utf8Str(fIsArm ? "-arm64" : "") + ".run");
    33273327
    3328                             /* Copy over the installer to the guest but don't execute it.
    3329                              * Execution will be done by the shell instead. */
    3330                             mFiles.push_back(ISOFile(strInstallerBinUC, strUpdateDir + strInstallerBin, ISOFILE_FLAG_COPY_FROM_ISO));
     3328                            /**
     3329                             * Copy over the installer to the guest but don't execute it.
     3330                             * Execution will be done by the shell instead.
     3331                             *
     3332                             * Note: Guest Additions for ARM64 don't exist on older Guest Additions .ISOs,
     3333                             *       so mark them as optional.
     3334                             */
     3335                            mFiles.push_back(ISOFile(strInstallerBinUC, strUpdateDir + strInstallerBin,
     3336                                                       ISOFILE_FLAG_COPY_FROM_ISO
     3337                                                     | fIsArm ? ISOFILE_FLAG_OPTIONAL : ISOFILE_FLAG_NONE));
    33313338
    33323339                            UpdateAdditionsStartupInfo siInstaller;
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