VirtualBox

Changeset 7870 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 10, 2008 2:26:08 PM (17 years ago)
Author:
vboxsync
Message:

Solaris Guest Installer: vboxguest persistence and disabled stripping temporarily.

Location:
trunk/src/VBox/Additions/solaris
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/makepackage.sh

    r7404 r7870  
    2525echo 'i postinstall=./postinstall.sh' >> prototype
    2626echo 'i preremove=./preremove.sh' >> prototype
     27echo 'e sed /etc/devlink.tab ? ? ?' >> prototype
    2728find . -print | /usr/sfw/bin/ggrep -v -E 'prototype|makepackage.sh|vboxguest.pkginfo|postinstall.sh|preremove.sh' | pkgproto >> prototype
    2829
    29 /usr/bin/awk 'NF == 6 { $5 = "root"; $6 = "bin" } { print }' prototype > prototype2
    30 /usr/bin/awk 'NF == 6 { $3 = "opt/VirtualBoxAdditions/"$3"="$3 } { print }' prototype2 > prototype
     30/usr/bin/awk 'NF == 6 && $2 == "none" { $5 = "root"; $6 = "bin" } { print }' prototype > prototype2
     31/usr/bin/awk 'NF == 6 && $2 == "none" { $3 = "opt/VirtualBoxAdditions/"$3"="$3 } { print }' prototype2 > prototype
    3132
    3233# install the kernel module to the right place (for now only 32-bit guests)
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r7771 r7870  
    2929# create links
    3030echo "Creating links..."
    31 /usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s
     31#/usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s
    3232/usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient=$vboxadditions_path/VBoxClient s
    3333/usr/sbin/installf -c none $PKGINST /usr/bin/VBoxService=$vboxadditions_path/VBoxService s
     
    8181    rm -f $vboxadditions_path/vboxvideo_drv_*
    8282    /usr/sbin/removef -f $PKGINST
    83    
     83
    8484    # Some distros like Indiana have no xorg.conf, deal with this
    8585    if ! (test -f '/etc/X11/xorg.conf' -o -f '/etc/X11/.xorg.conf'); then
     
    9191fi
    9292
     93# Remove redundant files
     94#/usr/sbin/removef $PKGINST $vboxadditions_path/etc/devlink.tab 1>/dev/null
     95#/usr/sbin/removef $PKGINST $vboxadditions_path/etc 1>/dev/null
     96#rm -rf $vboxadditions_path/etc
     97#/usr/sbin/removef -f $PKGINST
     98
    9399/usr/sbin/installf -f $PKGINST
     100
     101#/usr/sbin/devlinks
    94102
    95103# Setup our VBoxService SMF service
  • trunk/src/VBox/Additions/solaris/Installer/preremove.sh

    r7404 r7870  
    2424/opt/VirtualBoxAdditions/vboxguest.sh stop
    2525
     26# clean up link
     27rm -f /dev/vboxguest
     28
    2629echo "Done."
    2730
  • trunk/src/VBox/Additions/solaris/Installer/vboxguest.pkginfo

    r7486 r7870  
    77EMAIL="[email protected]"
    88BASEDIR="/"
    9 CLASSES="none"
     9CLASSES=none sed
    1010DESC="VirtualBox Guest Additions for Solaris guests."
    1111
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r7771 r7870  
    6565                $(PATH_BIN)/additions/vboxmouse_drv_70.so \
    6666                $(PATH_BIN)/additions/vboxmouse_drv_71.so \
     67                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxdevlink.sed \
    6768                $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
    6869        $(call MSG_L1,Installing guest additions)
     
    7071        $(QUIET)rm -rf $(SOLARISINSTDIR)
    7172        $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR)
     73        $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR)/etc
    7274        $(QUIET)$(SED) \
    7375                -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
     
    8587        $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf  $(SOLARISINSTDIR)/vboxguest.conf
    8688        $(QUIET)$(CP) -f $(PATH_BIN)/additions/vboxguest                                                    $(SOLARISINSTDIR)/vboxguest
    87         $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARISINSTDIR)/vboxguest,)
    8889        $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxClient                                                $(SOLARISINSTDIR)/VBoxClient
    8990        $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxService                                               $(SOLARISINSTDIR)/VBoxService
     
    9596        $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so                                       $(SOLARISINSTDIR)/vboxmouse_drv_70.so
    9697        $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so                                       $(SOLARISINSTDIR)/vboxmouse_drv_71.so
     98        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxdevlink.sed                  $(SOLARISINSTDIR)/etc/devlink.tab
    9799        $(call MSG_L1,Creating install package: $@)
    98         $(QUIET)$(SOLARISINSTDIR)/makepackage.sh $(SOLARISINSTDIR) $(PKGFILENAME) 1>/dev/null 2>/dev/null
     100        $(QUIET)$(SOLARISINSTDIR)/makepackage.sh $(SOLARISINSTDIR) $(PKGFILENAME)
    99101        $(QUIET)$(INSTALL) -m 0644 $(SOLARISINSTDIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
    100102
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