-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from evaryont/master
Alpine 3.6 has pre-compiled packages for VirtualBox Guests
- Loading branch information
Showing
3 changed files
with
10 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
set -ux | ||
|
||
# nothing special required | ||
|
||
exit 0 | ||
# update all packages, especially the kernel. | ||
apk update && apk upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,5 @@ | ||
set -eux | ||
echo "VBoxGuestAdditions currently do not build or install on Alpine Linux." | ||
exit 0 | ||
# | ||
# # | ||
# # VBoxGuestAdditions fails to install. | ||
# # | ||
# # Alpine is intended to be 'minimal' so | ||
# # there are certain things VBGA | ||
# # 1. needs | ||
# # 2. *assumes* are available | ||
# # 3. or function a specific way | ||
# # which is, not yet, the case... | ||
# # | ||
# | ||
# mkdir -p /mnt/virtualbox | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# modprobe loop | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# LOOP=`losetup -f` | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# losetup $LOOP /root/VBoxGuestAdditions.iso | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# mount -t iso9660 -o ro $LOOP /mnt/virtualbox | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# # current error 'unable to determine library path.' | ||
# # "ldconfig -v" does not result in a list of valid | ||
# # library paths (it is actually a shell script which | ||
# # silently ignores -v). | ||
# # | ||
# # there are other issues as well, which have been | ||
# # open with oracle/virtualbox for several years. | ||
# # without forward progress (according to search | ||
# # results and skimming through various discussions). | ||
# sh /mnt/virtualbox/VBoxLinuxAdditions.run | ||
# retval=$? | ||
# [ $retval -eq 0 ] || exit $retval | ||
# | ||
# ln -s /opt/VBoxGuestAdditions-*/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions | ||
# umount /mnt/virtualbox | ||
# rm -rf /root/VBoxGuestAdditions.iso | ||
# | ||
# # END | ||
|
||
echo http://dl-cdn.alpinelinux.org/alpine/v3.6/community >> /etc/apk/repositories | ||
apk add -U virtualbox-guest-additions virtualbox-guest-modules-hardened | ||
rc-update add virtualbox-guest-additions |