VirtualBox

Ignore:
Timestamp:
Jul 25, 2012 9:10:27 AM (12 years ago)
Author:
vboxsync
Message:

Autostart/darwin: launchd + installer integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r42321 r42379  
    634634        MacOS/VBoxNetDHCP \
    635635        MacOS/VBoxExtPackHelperApp \
    636         MacOS/VBoxBalloonCtrl
     636        MacOS/VBoxBalloonCtrl \
     637        MacOS/VBoxAutostart
    637638ifdef VBOX_WITH_WEBSERVICES
    638639 VBOX_DI_VBAPP_PROGS += \
     
    757758                $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxwebsrv.plist,) \
    758759                $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxballoonctrl.plist \
     760                $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxautostart.plist \
     761                $(VBOX_PATH_DI_SRC)/VirtualBox/VBoxAutostartDarwin.sh \
    759762                $(VBOX_DARWIN_INST_DEP_ON_MAKEFILE)
    760763        $(call MSG_TOOL,PackageMaker,,,$@)
     
    812815endif
    813816        $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxballoonctrl.plist $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/
     817        $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxautostart.plist $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/
     818        $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox/VBoxAutostartDarwin.sh $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/
    814819        @# Install the python stuff
    815820ifdef VBOX_WITH_PYTHON
     
    10331038        $(APPEND) $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/bin/VBoxBalloonCtrl '#!/bin/bash'
    10341039        $(APPEND) $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/bin/VBoxBalloonCtrl 'exec /Applications/VirtualBox.app/Contents/MacOS/VBoxBalloonCtrl "$$@"'
     1040        $(APPEND) $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/bin/VBoxAutostart '#!/bin/bash'
     1041        $(APPEND) $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/bin/VBoxAutostart 'exec /Applications/VirtualBox.app/Contents/MacOS/VBoxAutostart "$$@"'
    10351042        @# Set the correct owners and file permissions.
    10361043        sudo chmod 0755 $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/bin/*
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