Changes between Version 1 and Version 2 of HardwareInfo/VirtualBox


Ignore:
Timestamp:
Feb 17, 2014, 9:14:18 AM (11 years ago)
Author:
modeenf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareInfo/VirtualBox

    v1 v2  
    1717
    1818[http://www.freelists.org/post/haiku-development/RFC-GSOC-2011-VirtualBox-guest-additions-added-to-official-optional-packages RFC-GSOC-2011-VirtualBox-guest-additions-added-to-official-optional-packages][[BR]]
     19
     20
     21Found this from https://github.com/scgtrp/vbox-haiku/blob/master/README.haiku
     22
     23Guest Additions Installation/Usage Instructions for Haiku
     24---------------------------------------------------------
     25
     26These are temporary instructions for those who want to test the Haiku port
     27of the guest additions before a proper package or installer has been created.
     28
     29
     30== You will need: ==
     31- The contents of this repository
     32- A GCC4-based Haiku installation with development tools installed
     33        (Partial GCC2/GCC2h support is present but not yet usable.)
     34
     35
     36== To compile the guest additions: ==
     37export PATH=$PATH:/path/to/vbox/source/kBuild/bin/haiku.x86
     38./configure --build-headless --disable-python --disable-java
     39kmk VBOX_ONLY_ADDITIONS=1 VBOX_WITH_ADDITION_DRIVERS=1 VBOX_USE_GCC4=1 all
     40
     41
     42If the build fails complaining about 'ev' being undefined, edit
     43out/haiku.x86/release/revision.kmk and change 'ev' to 9001 - this is due to
     44the code for finding the Subversion revision not working with Git repos.
     45
     46
     47== To install: ==
     48# core drivers
     49mkdir -p ~/config/add-ons/kernel/generic/
     50cp out/haiku.x86/release/bin/additions/vboxguest ~/config/add-ons/kernel/generic/
     51mkdir -p ~/config/add-ons/kernel/drivers/dev/misc/
     52cp out/haiku.x86/release/bin/additions/vboxdev ~/config/add-ons/kernel/drivers/bin/
     53ln -s ../../bin/vboxdev ~/config/add-ons/kernel/drivers/dev/misc/
     54
     55
     56# video
     57mkdir -p ~/config/add-ons/accelerants/ ~/config/add-ons/kernel/drivers/dev/graphics/
     58cp out/haiku.x86/release/bin/additions/vboxvideo ~/config/add-ons/kernel/drivers/bin/
     59ln -s ../../bin/vboxvideo ~/config/add-ons/kernel/drivers/dev/graphics/
     60cp out/haiku.x86/release/bin/additions/vboxvideo.accelerant /boot/system/add-ons/accelerants/
     61
     62
     63# vboxsf
     64mkdir -p ~/config/add-ons/kernel/file_systems/
     65cp out/haiku.x86/release/bin/additions/vboxsf ~/config/add-ons/kernel/file_systems/
     66
     67
     68# mouse
     69cp out/haiku.x86/release/bin/additions/VBoxMouse ~/config/add-ons/input_server/devices/
     70cp out/haiku.x86/release/bin/additions/VBoxMouseFilter ~/config/add-ons/input_server/filters/
     71
     72
     73# services
     74mkdir -p /boot/apps/VBoxAdditions/
     75cp out/haiku.x86/release/bin/additions/VBoxService /boot/apps/VBoxAdditions/
     76cp out/haiku.x86/release/bin/additions/VBoxTray /boot/apps/VBoxAdditions/
     77cp out/haiku.x86/release/bin/additions/VBoxControl /boot/apps/VBoxAdditions/
     78ln -sf /boot/apps/VBoxAdditions/VBoxService ~/config/boot/launch
     79
     80
     81== To uninstall: ==
     82rm -f ~/config/add-ons/input_server/devices/VBoxMouse
     83rm -f ~/config/add-ons/kernel/drivers/bin/vboxdev
     84rm -f ~/config/add-ons/kernel/drivers/dev/misc/vboxdev
     85rm -f ~/config/add-ons/kernel/drivers/bin/vboxvideo
     86rm -f ~/config/add-ons/kernel/drivers/dev/graphics/vboxvideo
     87rm -f ~/config/add-ons/kernel/file_systems/vboxsf
     88rm -f ~/config/add-ons/kernel/generic/vboxguest
     89rm -f ~/config/add-ons/accelerants/vboxvideo.accelerant
     90rm -rf /boot/apps/VBoxAdditions
     91
     92
     93== Usage: ==
     94Time synchronization and guest control are handled by VBoxService - you do
     95not need to do anything special to enable these. See the output of
     96  VBoxManage help guestcontrol exec
     97on your host system for guest control instructions.
     98
     99
     100Clipboard sharing and automatic screen resizing are handled by VBoxTray;
     101load the replicant by running /boot/apps/VBoxAdditions/VBoxTray. It will
     102be automatically reloaded whenever Deskbar starts until you quit it by
     103right-clicking it and choosing 'Quit'.
     104
     105
     106To mount a shared folder, tell Haiku to mount a null filesystem of type
     107'vboxsf' and pass the share name as a parameter:
     108
     109
     110mount -t vboxsf -p SharedFolderFullOfLolcats /mountpoint
     111