Sha256: 325a47e4df7f3d1c3f138de98080a5f8d5d28d0428eec7db787343a51de8c537

Contents?: true

Size: 854 Bytes

Versions: 29

Compression:

Stored size: 854 Bytes

Contents

#!/bin/bash
source /etc/profile

# add package keywords
cat <<DATAEOF >> "$chroot/etc/portage/package.accept_keywords/virtualbox-guest-additions"
app-emulation/virtualbox-guest-additions ~x86 ~amd64
DATAEOF

# unmask
cat <<DATAEOF >> "$chroot/etc/portage/package.unmask/virtualbox-guest-additions"
>=app-emulation/virtualbox-guest-additions-4.3.0
DATAEOF

# install the virtualbox guest additions, add vagrant and root to group vboxguest
# PREREQUISITE: kernel - we install a module, so we use the kernel sources
chroot "$chroot" /bin/bash <<DATAEOF
emerge sys-apps/dbus app-emulation/virtualbox-guest-additions
# we need this as gentoo doesn't do it on its own
groupadd -r vboxsf
mkdir -p /media && chgrp vboxsf /media
rc-update add dbus default # required by virtualbox-guest-additions service
rc-update add virtualbox-guest-additions default
DATAEOF

Version data entries

29 entries across 15 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.5.0.alpha4 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.5.0.alpha3 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.5.0.alpha3 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.5.0.alpha2 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.5.0.alpha2 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.5.0.alpha1 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.5.0.alpha1 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.5.1 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.5.1 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.5 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.5 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.5.pre1 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.5.pre1 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.4 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.4 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.3 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.3 templates/gentoo-latest-amd64/virtualbox.sh
veewee-0.4.2 templates/gentoo-latest-i686/virtualbox.sh
veewee-0.4.2 templates/gentoo-latest-amd64/virtualbox.sh