Changeset 7870 in vbox for trunk/src/VBox
- Timestamp:
- Apr 10, 2008 2:26:08 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/solaris
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/makepackage.sh
r7404 r7870 25 25 echo 'i postinstall=./postinstall.sh' >> prototype 26 26 echo 'i preremove=./preremove.sh' >> prototype 27 echo 'e sed /etc/devlink.tab ? ? ?' >> prototype 27 28 find . -print | /usr/sfw/bin/ggrep -v -E 'prototype|makepackage.sh|vboxguest.pkginfo|postinstall.sh|preremove.sh' | pkgproto >> prototype 28 29 29 /usr/bin/awk 'NF == 6 { $5 = "root"; $6 = "bin" } { print }' prototype > prototype230 /usr/bin/awk 'NF == 6 { $3 = "opt/VirtualBoxAdditions/"$3"="$3 } { print }' prototype2 > prototype30 /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 31 32 32 33 # install the kernel module to the right place (for now only 32-bit guests) -
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r7771 r7870 29 29 # create links 30 30 echo "Creating links..." 31 /usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s31 #/usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s 32 32 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient=$vboxadditions_path/VBoxClient s 33 33 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxService=$vboxadditions_path/VBoxService s … … 81 81 rm -f $vboxadditions_path/vboxvideo_drv_* 82 82 /usr/sbin/removef -f $PKGINST 83 83 84 84 # Some distros like Indiana have no xorg.conf, deal with this 85 85 if ! (test -f '/etc/X11/xorg.conf' -o -f '/etc/X11/.xorg.conf'); then … … 91 91 fi 92 92 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 93 99 /usr/sbin/installf -f $PKGINST 100 101 #/usr/sbin/devlinks 94 102 95 103 # Setup our VBoxService SMF service -
trunk/src/VBox/Additions/solaris/Installer/preremove.sh
r7404 r7870 24 24 /opt/VirtualBoxAdditions/vboxguest.sh stop 25 25 26 # clean up link 27 rm -f /dev/vboxguest 28 26 29 echo "Done." 27 30 -
trunk/src/VBox/Additions/solaris/Installer/vboxguest.pkginfo
r7486 r7870 7 7 EMAIL="[email protected]" 8 8 BASEDIR="/" 9 CLASSES= "none"9 CLASSES=none sed 10 10 DESC="VirtualBox Guest Additions for Solaris guests." 11 11 -
trunk/src/VBox/Additions/solaris/Makefile.kmk
r7771 r7870 65 65 $(PATH_BIN)/additions/vboxmouse_drv_70.so \ 66 66 $(PATH_BIN)/additions/vboxmouse_drv_71.so \ 67 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxdevlink.sed \ 67 68 $(PATH_SUB_CURRENT)/solaris/Makefile.kmk 68 69 $(call MSG_L1,Installing guest additions) … … 70 71 $(QUIET)rm -rf $(SOLARISINSTDIR) 71 72 $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR) 73 $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR)/etc 72 74 $(QUIET)$(SED) \ 73 75 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \ … … 85 87 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf $(SOLARISINSTDIR)/vboxguest.conf 86 88 $(QUIET)$(CP) -f $(PATH_BIN)/additions/vboxguest $(SOLARISINSTDIR)/vboxguest 87 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARISINSTDIR)/vboxguest,)88 89 $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxClient $(SOLARISINSTDIR)/VBoxClient 89 90 $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxService $(SOLARISINSTDIR)/VBoxService … … 95 96 $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so $(SOLARISINSTDIR)/vboxmouse_drv_70.so 96 97 $(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 97 99 $(call MSG_L1,Creating install package: $@) 98 $(QUIET)$(SOLARISINSTDIR)/makepackage.sh $(SOLARISINSTDIR) $(PKGFILENAME) 1>/dev/null 2>/dev/null100 $(QUIET)$(SOLARISINSTDIR)/makepackage.sh $(SOLARISINSTDIR) $(PKGFILENAME) 99 101 $(QUIET)$(INSTALL) -m 0644 $(SOLARISINSTDIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME) 100 102
Note:
See TracChangeset
for help on using the changeset viewer.