templates/gentoo-latest-amd64/virtualbox.sh in veewee-0.3.9 vs templates/gentoo-latest-amd64/virtualbox.sh in veewee-0.3.10

- old
+ new

@@ -1,23 +1,24 @@ #!/bin/bash source /etc/profile # add package keywords -cat <<DATAEOF >> "$chroot/etc/portage/package.keywords" -app-emulation/virtualbox-guest-additions ~amd64 +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" ->=app-emulation/virtualbox-guest-additions-4.2.0 +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 /media && chgrp vboxsf /media +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 +