1 | #!/bin/bash
|
---|
2 |
|
---|
3 | outdir=out/haiku.x86/debug/bin/additions
|
---|
4 | instdir=/boot/apps/VBoxAdditions
|
---|
5 |
|
---|
6 |
|
---|
7 | # vboxguest
|
---|
8 | mkdir -p ~/config/add-ons/kernel/generic/
|
---|
9 | cp $outdir/vboxguest ~/config/add-ons/kernel/generic/
|
---|
10 |
|
---|
11 | # vboxdev
|
---|
12 | mkdir -p ~/config/add-ons/kernel/drivers/dev/misc/
|
---|
13 | cp $outdir/vboxdev ~/config/add-ons/kernel/drivers/bin/
|
---|
14 | ln -sf ../../bin/vboxdev ~/config/add-ons/kernel/drivers/dev/misc
|
---|
15 |
|
---|
16 | # VBoxMouse
|
---|
17 | cp $outdir/VBoxMouse ~/config/add-ons/input_server/devices/
|
---|
18 | cp $outdir/VBoxMouseFilter ~/config/add-ons/input_server/filters/
|
---|
19 |
|
---|
20 | # Services
|
---|
21 | mkdir -p $instdir
|
---|
22 | cp $outdir/VBoxService $instdir/
|
---|
23 | cp $outdir/VBoxTray $instdir/
|
---|
24 | cp $outdir/VBoxControl $instdir/
|
---|
25 | ln -sf $instdir/VBoxService ~/config/boot/launch
|
---|
26 |
|
---|