private GitLab instance for personal projects

Commit 004afaae authored by Kevin M. Gallagher's avatar Kevin M. Gallagher

Add back Debian packaging hooks that were deleted in previous commit

parent fb868965
/opt
/etc/vbox
/etc/init.d
/usr/src
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxRT.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD2.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDDU.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxKeyboard.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSettings.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVMM.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxXPCOM.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxXPCOMC.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedFolders.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedClipboard.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxGuestPropSvc.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxGuestControlSvc.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxHostChannel.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDragAndDropSvc.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxNetDHCP.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxNetNAT.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVRDP.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxAuth.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxHeadless.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxOGLhostcrutil.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxOGLhosterrorspu.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxOGLrenderspu.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxPython.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM32.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM64.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSDL.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedCrOpenGL.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VirtualBox.so
%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDbg.so
%VERPKG%: binary-without-manpage usr/bin/VBox
%VERPKG%: binary-without-manpage usr/bin/VBoxBalloonCtrl
%VERPKG%: binary-without-manpage usr/bin/VBoxDTrace
%VERPKG%: binary-without-manpage usr/bin/VBoxHeadless
%VERPKG%: binary-without-manpage usr/bin/VBoxManage
%VERPKG%: binary-without-manpage usr/bin/VBoxSDL
%VERPKG%: binary-without-manpage usr/bin/VBoxTunctl
%VERPKG%: binary-without-manpage usr/bin/VBoxVRDP
%VERPKG%: binary-without-manpage usr/bin/VirtualBox
%VERPKG%: binary-without-manpage usr/bin/rdesktop-vrdp
%VERPKG%: binary-without-manpage usr/bin/vboxballoonctrl
%VERPKG%: binary-without-manpage usr/bin/vboxdtrace
%VERPKG%: binary-without-manpage usr/bin/vboxheadless
%VERPKG%: binary-without-manpage usr/bin/vboxmanage
%VERPKG%: binary-without-manpage usr/bin/vboxsdl
%VERPKG%: binary-without-manpage usr/bin/vboxwebsrv
%VERPKG%: binary-without-manpage usr/bin/virtualbox
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDRC.rc
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2RC.rc
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDR0.r0
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2R0.r0
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VMMRC.rc
%VERPKG%: unstripped-binary-or-object usr/lib/virtualbox/VMMR0.r0
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxRT.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxDD.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxDD2.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxDDU.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxKeyboard.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxSettings.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxVMM.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxREM.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxXPCOM.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxSharedFolders.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxSharedClipboard.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxGuestPropSvc.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxGuestControlSvc.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxHostChannel.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxDragAndDropSvc.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxVRDP.so
%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxAuth.so
%VERPKG%: binary-or-shlib-defines-rpath ./usr/bin/rdesktop-vrdp /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDD.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDD2.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDDU.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDbg.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDTrace /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxGuestPropSvc.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxGuestControlSvc.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxHostChannel.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxHeadless /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxHeadless.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxKeyboard.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxManage /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxOGLhostcrutil.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxOGLhosterrorspu.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxOGLrenderspu.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxPython.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxREM.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxREM32.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxREM64.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxRT.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSDL /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSDL.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSVC /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSettings.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSharedClipboard.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSharedCrOpenGL.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxSharedFolders.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDragAndDropSvc.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxTestOGL /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxVMM.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxVRDP.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOM.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOMIPCD /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxAuth.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxExtPackHelperApp /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/components/VBoxC.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/components/VBoxSVCM.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/components/VBoxXPCOMIPCC.so /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/kchmviewer /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxBalloonCtrl /usr/lib/virtualbox
%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/vboxwebsrv /usr/lib/virtualbox
%VERPKG%: postrm-contains-additional-updaterc.d-calls /etc/init.d/vboxnet
%VERPKG%: package-contains-empty-directory usr/lib/virtualbox/ExtensionPacks/
#!/bin/sh
#
# Copyright (C) 2006-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# we can be called with the following arguments (6.5 of Debian policy):
# configure: (our version): installing/configuring new version
# abort-upgrade: (old version): upgrading to a new version failed
# abort-remove: (our version): removing this package failed
# abort-deconfigure: (our version): error during resolving conflicts
#include installer-common.sh
LOG="/var/log/vbox-install.log"
# defaults
[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox
if [ "$1" = "configure" ]; then
# for debconf
. /usr/share/debconf/confmodule
db_version 2.0
# remove old cruft
if [ -f /etc/init.d/vboxdrv.sh ]; then
echo "Found old version of /etc/init.d/vboxdrv.sh, removing."
rm /etc/init.d/vboxdrv.sh
update-rc.d vboxdrv.sh remove >/dev/null
fi
if [ -f /etc/vbox/vbox.cfg ]; then
echo "Found old version of /etc/vbox/vbox.cfg, removing."
rm /etc/vbox/vbox.cfg
fi
# create users groups (disable with INSTALL_NO_GROUP=1 in /etc/default/virtualbox)
if [ "$INSTALL_NO_GROUP" != "1" ]; then
db_input low virtualbox/group-vboxusers || true
db_go || true
addgroup --system vboxusers || true
fi
# install udev rule (disable with INSTALL_NO_UDEV=1 in
# /etc/default/virtualbox) and /dev/vboxdrv and /dev/vboxusb/*/* device nodes
install_device_node_setup root 0600 /usr/share/virtualbox "${usb_group}"
# The starters need to be Suid root. They drop the privileges before starting
# the real frontend.
if ! dpkg-statoverride --list /usr/lib/virtualbox/VirtualBox > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VirtualBox
fi
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxHeadless > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxHeadless
fi
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxSDL > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxSDL
fi
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxNetDHCP > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxNetDHCP
fi
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxNetNAT > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxNetNAT
fi
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxNetAdpCtl > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxNetAdpCtl
fi
if [ -x /usr/lib/virtualbox/VBoxVolInfo ]; then
if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxVolInfo > /dev/null 2>&1; then
chmod 4511 /usr/lib/virtualbox/VBoxVolInfo
fi
fi
# if INSTALL_NO_VBOXDRV is set to 1, remove all shipped modules
if [ "$INSTALL_NO_VBOXDRV" = "1" ]; then
rm -f /lib/modules/*/misc/vboxdrv.ko
rm -f /lib/modules/*/misc/vboxnetflt.ko
rm -f /lib/modules/*/misc/vboxnetadp.ko
fi
fi # $1 = "configure"
#DEBHELPER#
if [ "$1" = "configure" ]; then
# Start vboxdrv/vboxballoonctrl/vboxweb-service manually as we use our own error handling in postrm
if [ -x "/etc/init.d/vboxdrv" ]; then
update-rc.d vboxdrv defaults 20 80 >/dev/null
BUILD_MODULES=0
REGISTER_MODULES=1
# Disable module compilation with INSTALL_NO_VBOXDRV=1 in /etc/default/virtualbox
if [ ! -f /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then
REGISTER_MODULES=0
if [ "$INSTALL_NO_VBOXDRV" != "1" ]; then
db_get virtualbox/module-compilation-allowed
if [ "$RET" = "false" ]; then
cat << EOF
Unable to find a precompiled module for the current kernel
though module compilation denied by debconf setting.
EOF
else
db_input low virtualbox/module-compilation-allowed || true
db_go || true
db_get virtualbox/module-compilation-allowed
if [ "$RET" = "true" ]; then
BUILD_MODULES=1
fi
fi
fi
fi
if [ $BUILD_MODULES -eq 1 ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxdrv setup || true
else
/etc/init.d/vboxdrv setup || true
fi
else
# shipped modules found, register sources at DKMS anyway
if lsmod | grep -q "vboxdrv[^_-]"; then
/etc/init.d/vboxdrv stop || true
fi
if [ $REGISTER_MODULES -eq 1 ]; then
DKMS=`which dkms 2>/dev/null`
if [ -n "$DKMS" ]; then
$DKMS add -m vboxhost -v %VER% > /dev/null 2>&1 || true
fi
fi
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxdrv start || exit $?
else
/etc/init.d/vboxdrv start || exit $?
fi
fi
fi
if [ -x "/etc/init.d/vboxballoonctrl-service" ]; then
update-rc.d vboxballoonctrl-service defaults 35 65 >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxballoonctrl-service start || exit $?
else
/etc/init.d/vboxballoonctrl-service start || exit $?
fi
fi
if [ -x "/etc/init.d/vboxautostart-service" ]; then
update-rc.d vboxautostart-service defaults 35 65 >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxautostart-service start || exit $?
else
/etc/init.d/vboxautostart-service start || exit $?
fi
fi
if [ -x "/etc/init.d/vboxweb-service" ]; then
update-rc.d vboxweb-service defaults 35 65 >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxweb-service start || exit $?
else
/etc/init.d/vboxweb-service start || exit $?
fi
fi
fi # $1 = "configure"
exit 0
#!/bin/sh
#
# Copyright (C) 2006-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# we can be called with the following arguments (6.5 of Debian policy):
# remove: (our version): remove our package
# purge: (our version): purge our package
# upgrade: (our version): upgrade to a new version
# failed-upgrade (old version): failed to upgrade to a new version
# abort-install (our version): aborted install
# abort-upgrade (old version): aborted upgrade
if [ "$1" = "purge" -a ! -f /etc/init.d/vboxdrv ] ; then
update-rc.d vboxdrv remove >/dev/null || exit $?
fi
if [ "$1" = "purge" -a ! -f /etc/init.d/vboxnet ] ; then
update-rc.d vboxnet remove >/dev/null || exit $?
fi
if [ "$1" = "purge" -a ! -f /etc/init.d/vboxweb-service ] ; then
update-rc.d vboxweb-service remove >/dev/null || exit $?
fi
if [ "$1" = "purge" -a ! -f /etc/init.d/vboxballoonctrl-service ] ; then
update-rc.d vboxballoonctrl-service remove >/dev/null || exit $?
fi
# remove installed extension packs
if [ "$1" = "purge" ]; then
rm -rf /usr/lib/virtualbox/ExtensionPacks/*
fi
#DEBHELPER#
exit 0
#!/bin/bash
#
# Copyright (C) 2006-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# we can be called with the following arguments (6.5 of Debian policy):
# install: (our version): install our version
# upgrade: (our version): upgrade to our version
# abort-upgrade: (old version): upgrade to a new version failed
# defaults
[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox
if [ "$1" = "install" -o "$1" = "upgrade" ]; then
. /usr/share/debconf/confmodule
db_version 2.0
db_capb backup
# check for active VMs
VBOXSVC_PID=`pidof VBoxSVC 2> /dev/null || true`
if [ -n "$VBOXSVC_PID" ]; then
if [ -f /etc/init.d/vboxballoonctrl-service ]; then
# try graceful termination; terminate the ballon control service first
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxballoonctrl-service stop || true
else
/etc/init.d/vboxballoonctrl-service stop || true
fi
fi
if [ -f /etc/init.d/vboxweb-service ]; then
# try graceful termination; terminate the webservice first
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d vboxweb-service stop || true
else
/etc/init.d/vboxweb-service stop || true
fi
fi
kill -USR1 $VBOXSVC_PID
sleep 1
if pidof VBoxSVC > /dev/null 2>&1; then
db_fset virtualbox/old-running seen false || true
db_input critical virtualbox/old-running || true
db_go || true
exit 1
fi
fi
# check for old installation
if [ -r /etc/vbox/vbox.cfg ]; then
. /etc/vbox/vbox.cfg
if [ "x$INSTALL_DIR" != "x" -a -d "$INSTALL_DIR" ]; then
db_fset virtualbox/old-installation-found seen false || true
db_input critical virtualbox/old-installation-found || true
db_go || true
exit 1
fi
# we will remove that file in postinst
fi
# check for old vboxdrv modules
if [ "$INSTALL_NO_VBOXDRV" != "1" ]; then
if find /lib/modules -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then
# old modules found
db_get virtualbox/delete-old-modules || true
if [ "$RET" = "false" ]; then
cat << EOF
Old vboxdrv kernel modules found in
EOF
find /lib/modules -name "vboxdrv\.*" 2>/dev/null|sed "s+\(.*\)+ \1+g"
cat << EOF
Removing of these modules denied by debconf setting
EOF
else
db_input low virtualbox/delete-old-modules || true
db_go || true
db_get virtualbox/delete-old-modules || true
if [ "$RET" = "true" ]; then
find /lib/modules -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null
find /lib/modules -name "vboxnetflt\.*" 2>/dev/null|xargs rm -f 2>/dev/null
find /lib/modules -name "vboxnetadp\.*" 2>/dev/null|xargs rm -f 2>/dev/null
fi
fi
fi
fi
fi # "$1" = "install" -o "$1" = "upgrade"
#DEBHELPER#
This diff is collapsed.
Template: virtualbox/group-vboxusers
Type: note
Description: Creating group 'vboxusers'
Users of VirtualBox must be members of this group. Host network interfaces
will be assigned to this group.
Description-de.UTF-8: Erzeuge Gruppe 'vboxusers'
Nutzer von VirtualBox müssen Mitglied dieser Gruppe sein. Hostinterfaces
werden dieser Gruppe zugewiesen.
Template: virtualbox/module-compilation-failed
Type: note
Description: Compilation of the kernel module FAILED!
VirtualBox will not start until this problem is fixed. Please consult
/var/log/vbox-install.log to find out why the kernel module didn't compile.
The kernel sources were probably not found. Install them (the package
name is probably linux-headers-<version> where <version> can be determined
by 'uname -r') and execute
/etc/init.d/vboxdrv setup
as root.
Description-de.UTF-8: Konnte das Kernmodul nicht compilieren!
Sie können keine virtuelle Maschine starten, solange dieses Problem nicht
behoben ist. Bitte lesen Sie die Datei /var/log/vbox-install.log um die
Ursache herauszufinden. Wahrscheinlich konnten die Quellen für den aktiven
Linux-Kern nicht gefunden werden. Installieren Sie das entsprechende
Paket (möglicherweise linux-headers-<version> wobei Sie <version> mit
'uname -r' herausfinden können) und führen Sie danach
/etc/init.d/vboxdrv setup
mit Root-Rechten aus.
Template: virtualbox/module-compilation-allowed
Type: boolean
Default: true
Description: Should the vboxdrv kernel module be compiled now?
Unable to find a precompiled module for the current kernel!
.
Without a suitable kernel module you will not be able to start any VMs. It is
strongly recommended that you compile a kernel module now. This requires
kernel headers and the tools to build kernel modules (gcc, make, binutils, ...).
However if you know that a suitable kernel module already exists at another
location, you might want to override the default by setting
KDIR=<full_path_to_vboxdrv_module> in /etc/default/virtualbox. You can also
build the module later by executing
/etc/init.d/vboxdrv setup
as root.
Description-de.UTF-8: Soll das Kernmodul jetzt compiliert werden?
Es konnte kein Kernmodul für den aktuellen Linux-Kern gefunden werden!
.
Ohne ein passendes Kernmodul können Sie keine VM starten. Daher sollten Sie
jetzt ein Kernmodul compilieren. Dazu werden die Kern-Header und die Programme
zum Bauen eines Kernmoduls (gcc, make, binutils, ...) benötigt. Falls Sie
bereits ein passendes Kernmodul in ein anderes Verzeichnis installiert haben,
können Sie den Verzeichnisnamen durch Hinzufügen von KDIR=<voller_Pfad_zu_vboxdrv>
in der Datei /etc/default/virtualbox angeben. Sie können das Kernmodul auch
später compilieren, indem Sie
/etc/init.d/vboxdrv setup
mit Root-Rechten ausführen.
Template: virtualbox/delete-old-modules
Type: boolean
Default: true
Description: Delete old vboxdrv kernel modules?
Old vboxdrv kernel modules found. You should remove these modules as they
might interfere with this version of VirtualBox. You can force re-compilation
of the module later by executing
/etc/init.d/vboxdrv setup
as root.
Description-de.UTF-8: Alte Kernmodule löschen?
Es wurden alte vboxdrv-Kernmodule gefunden. Diese sollten gelöscht werden, da sie
eventuell nicht mit dieser Version von VirtualBox zusammen arbeiten. Das Compilieren
des Kernmoduls können Sie später durch
/etc/init.d/vboxdrv setup
erzwingen.
Template: virtualbox/old-installation-found
Type: note
Description: Old installation found
An old installation of VirtualBox was found. To install this package the old package
has to be removed first. Have a look at /etc/vbox/vbox.cfg to determine the installation
directory of the previous installation. After uninstalling the old package remove the file
/etc/vbox/vbox.cfg.
Description-de.UTF-8: Alte Version gefunden
Es wurde eine alte Version von VirtualBox gefunden. Bitte entfernen Sie die alte Version
bevor Sie fortfahren. In der Datei /etc/vbox/vbox.cfg finden Sie das Verzeichnis der alten
Version. Nachdem Sie diese entfernt haben, können Sie /etc/vbox/vbox.cfg löschen.
Template: virtualbox/old-running
Type: note
Description: Running VMs found
VirtualBox is currently running. Please close it and try again. Please note that it
can take up to ten seconds for VirtualBox (in particular the VBoxSVC daemon) to
finish running.
Description-de.UTF-8: VirtualBox VMs werden ausgeführt
Mindestens eine virtuelle Maschine wird noch ausgeführt. Bitte beenden Sie alle VMs und
warten Sie 10 Sekunden, bis sich der VBoxSVC-Daemon beendet hat.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment