VirtualBox

Changeset 5311 in vbox for trunk


Ignore:
Timestamp:
Oct 15, 2007 11:00:21 PM (17 years ago)
Author:
vboxsync
Message:

64-bit solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/mod.sh

    r4835 r5311  
    2222DIR=$script_dir/out/$BUILD_TARGET.$BUILD_TARGET_ARCH/$BUILD_TYPE/bin/
    2323
    24 sudo cp $DIR/vboxdrv.o /usr/kernel/drv/vboxdrv
     24if test "$BUILD_TARGET_ARCH" = "amd64"; then
     25    VBOXDRV_INS=/usr/kernel/drv/amd64/vboxdrv
     26else
     27    VBOXDRV_INS=/usr/kernel/drv/vboxdrv
     28fi
     29sudo cp $DIR/vboxdrv.o $VBOXDRV_INS
    2530sudo cp $script_dir/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf /usr/kernel/drv/vboxdrv.conf
    2631old_id=`/usr/sbin/modinfo | grep vbox | cut -f 1 -d ' ' `
     
    3641sync
    3742sync
    38 sudo /usr/sbin/modload /usr/kernel/drv/vboxdrv
     43sudo /usr/sbin/modload $VBOXDRV_INS
    3944/usr/sbin/modinfo | grep vboxdrv
    4045echo "* dmesg:"
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