summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-06-05 07:42:51 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-06-05 07:46:46 +0300
commit4137a9fd4847f8a6f349e0fa4b57cbebdfb89638 (patch)
treecb1f16eee7aeceab2dcac9f24b42c79f4bc3dd26
parentsys-boot/refind: drop 0.14.0.2 (diff)
downloadgentoo-4137a9fd4847f8a6f349e0fa4b57cbebdfb89638.tar.gz
gentoo-4137a9fd4847f8a6f349e0fa4b57cbebdfb89638.tar.bz2
gentoo-4137a9fd4847f8a6f349e0fa4b57cbebdfb89638.zip
app-emulation/virtualbox-modules: remove old script
This script is no longer used. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rwxr-xr-xapp-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh b/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh
deleted file mode 100755
index 756d243542bc..000000000000
--- a/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-# Create a virtualbox modules tarball from a VirtualBox binary package.
-# We cannot download the package by this script because of the unpredictable
-# build number being in the filename.
-#
-# usage: create_vbox_modules_tarball.sh VirtualBox-4.1.18-78361-Linux_amd64.run
-
-[ -f "$1" ] || exit 1
-
-VBOX_PACKAGE="$1"
-VERSION_SUFFIX=""
-
-if [[ ${VBOX_PACKAGE} = *_BETA* ]] || [[ ${VBOX_PACKAGE} = *_RC* ]] ; then
- VERSION_SUFFIX="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-[[:digit:]\.]\+\(_[[:alpha:]]\+[[:digit:]]\).*@\L\1@')"
-
-fi
-
-VBOX_VER="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-\([[:digit:]\.]\+\).*@\1@')${VERSION_SUFFIX}"
-
-
-sh ${VBOX_PACKAGE} --noexec --keep --nox11 || exit 2
-cd install || exit 3
-tar -xaf VirtualBox.tar.bz2 || exit 4
-cd src/vboxhost || exit 5
-tar -cvJf ../../../vbox-kernel-module-src-${VBOX_VER}.tar.xz . || exit 6
-cd ../../.. && rm install -rf
-
-exit 0