From 588e533b9263be9898d42535600520b6745533eb Mon Sep 17 00:00:00 2001 From: Mikko Gronoff Date: Tue, 21 Feb 2017 11:53:24 +0200 Subject: virtualbox: update guest additions 5.1.4 --> 5.1.14 virtualbox-guest-additions_5.1.4 does not compile for emulator target in poky 2.2.1. Update to latest 5.1.14 version solves build problems. Change-Id: Ic31b319aaecdebfacf1ff4e38dddf599332c65c6 Reviewed-by: Samuli Piippo --- .../virtualbox-guest-additions_5.1.14.bb | 62 ++++++++++++++++++++++ .../virtualbox/virtualbox-guest-additions_5.1.4.bb | 62 ---------------------- 2 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb delete mode 100644 recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb diff --git a/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb b/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb new file mode 100644 index 0000000..00dcaa5 --- /dev/null +++ b/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb @@ -0,0 +1,62 @@ +############################################################################ +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Kernel drivers for the VirtualBox guest additions" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${WORKDIR}/VirtualBox-${PV}/COPYING;md5=e197d5641bb35b29d46ca8c4bf7f2660" + +inherit module + +MACHINE_KERNEL_PR_append = "a" +PR = "${MACHINE_KERNEL_PR}" + +SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" + +SRC_URI[md5sum] = "21eaec9f21477d555559a63761779880" +SRC_URI[sha256sum] = "8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a" + +S = "${WORKDIR}/vbox" + +export KERN_DIR="${STAGING_KERNEL_DIR}" +export KBUILD_VERBOSE="1" +export BUILD_TARGET_ARCH="${ARCH}" + +do_compile_prepend() { + ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules ${WORKDIR}/vbox.tar.gz + tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox +} + +do_install() { + install -m 0755 -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox + install -m 0644 vboxsf.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox + install -m 0644 vboxguest.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox + install -m 0644 vboxvideo.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox +} + +PKG_${PN} = "kernel-module-vbox" diff --git a/recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb b/recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb deleted file mode 100644 index 3522ed5..0000000 --- a/recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb +++ /dev/null @@ -1,62 +0,0 @@ -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Kernel drivers for the VirtualBox guest additions" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${WORKDIR}/VirtualBox-${PV}/COPYING;md5=e197d5641bb35b29d46ca8c4bf7f2660" - -inherit module - -MACHINE_KERNEL_PR_append = "a" -PR = "${MACHINE_KERNEL_PR}" - -SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" - -SRC_URI[md5sum] = "e25a6a1f3c113c373dc0433f9c2526f3" -SRC_URI[sha256sum] = "b9a14a7771059c55c44b97f8d4eef9bea84544f3e215e0caa563bc35e2f16aaf" - -S = "${WORKDIR}/vbox" - -export KERN_DIR="${STAGING_KERNEL_DIR}" -export KBUILD_VERBOSE="1" -export BUILD_TARGET_ARCH="${ARCH}" - -do_compile_prepend() { - ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules ${WORKDIR}/vbox.tar.gz - tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox -} - -do_install() { - install -m 0755 -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox - install -m 0644 vboxsf.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox - install -m 0644 vboxguest.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox - install -m 0644 vboxvideo.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox -} - -PKG_${PN} = "kernel-module-vbox" -- cgit v1.2.3-54-g00ecf