VirtualBox

Changeset 12754 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Sep 25, 2008 5:31:48 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37080
Message:

Solaris/installer: Update devlink.tab manually (required for importing the vboxdrv device into Solaris 10 zone).

Location:
trunk/src/VBox/Installer/solaris
Files:
2 edited

Legend:

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

    r12650 r12754  
    6262    fi
    6363
    64     # create /dev link for vboxdrv
    65     /usr/sbin/installf -c none $PKGINST /dev/vboxdrv=../devices/pseudo/vboxdrv@0:vboxdrv s
     64    # add vboxdrv to the devlink.tab
     65    sed -e '
     66/name=vboxdrv/d
     67$i\
     68type=ddi_pseudo;name=vboxdrv    \\D' /etc/devlink.tab
     69
     70    # create the device link
     71    /usr/sbin/devfsadm -i vboxdrv
    6672
    6773    # We need to touch the desktop link in order to add it to the menu right away
  • trunk/src/VBox/Installer/solaris/preremove.sh

    r12650 r12754  
    2929    # vboxdrv.sh would've been installed, we just need to call it.
    3030    /opt/VirtualBox/vboxdrv.sh stopall
     31
     32    # remove devlink.tab entry for vboxdrv
     33    sed -e '
     34/name=vboxdrv/d' /etc/devlink.tab
     35
     36    # remove the link
     37    rm /dev/vboxdrv
    3138fi
    3239
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette