VirtualBox

Ignore:
Timestamp:
Nov 7, 2023 12:15:59 PM (13 months ago)
Author:
vboxsync
Message:

Additions/solaris/{Installer,vboxms,vboxservice}: Add support for the
Solaris Guest Additions to be installed into an alternate root path
('pkgad -R'). This also enables the Solaris GAs to be installed in an
automated fashion when building Solaris images using the distribution
constructor (aka the distro_const(8) utility).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/Installer/x11restore.pl

    r98103 r101937  
    4242foreach $cfg (@cfg_files)
    4343{
     44    if (($os_type =~ 'SunOS') && (defined $ENV{PKG_INSTALL_ROOT}))
     45    {
     46        $cfg = $ENV{PKG_INSTALL_ROOT}.$cfg;
     47    }
    4448    if (open(CFG, $cfg))
    4549    {
     
    5458                {
    5559                    close(BAK);
     60                    print("Restoring $cfg.back to $cfg.\n");
    5661                    rename $cfg.".bak", $cfg;
    5762                }
     
    7378    }
    7479}
    75 
    76 $config_count != 0 or die "Could not find backed-up xorg.conf to restore it.";
    77 
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