VirtualBox

Changeset 5739

Show
Ignore:
Timestamp:
11/14/07 12:40:04 (1 year ago)
Author:
vboxsync
Message:

sync debian/ directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/debian/control

    r5256 r5739  
    1111Architecture: i386 amd64 
    1212Pre-Depends: debconf (>= 1.1) | debconf-2.0 
    13 Depends: ${shlibs:Depends}, debconf (>= 0.5) | debconf-2.0, psmisc 
     13Depends: ${shlibs:Depends}, debconf (>= 0.5) | debconf-2.0, psmisc, adduser 
    1414Recommends: ${alsa}, ${sdlttf}, linux-headers, gcc, make, binutils, bridge-utils, 
    1515  uml-utilities, libhal1 (>= 0.5) 
  • trunk/debian/rules

    r5255 r5739  
    153153        rm $(archdir)/VBox.sh 
    154154        install -D -g 0 -o 0 -m 644 debian/VBox.sh $(prefix)/usr/bin/VBox 
     155        mv $(archdir)/VBoxSysInfo.sh $(prefix)/usr/share/$(package) 
    155156        mv $(archdir)/VBoxAddIF.sh $(prefix)/usr/bin/VBoxTAP 
    156157        for i in VBoxManage VBoxSVC tstVMM $(if $(HEADLESS),,VBoxSDL) \ 
  • trunk/debian/vboxdrv.init.tmpl

    r5452 r5739  
    9191      failure "No suitable module for running kernel found." 
    9292    fi 
    93     if ! modprobe $MODNAME; then 
     93    if ! modprobe $MODNAME > /dev/null 2>&1; then 
    9494      failure "Modprobe $MODNAME failed. Please use 'dmesg' to find out why." 
    9595    fi 
     
    111111      failure "Cannot locate device major." 
    112112    fi 
    113     if ! mknod -m 0664 $DEVICE c $MAJOR $MINOR; then 
     113    if ! mknod -m 0660 $DEVICE c $MAJOR $MINOR; then 
    114114      rmmod $MODNAME 
    115115      failure "Cannot create device $DEVICE with major $MAJOR and minor $MINOR." 
  • trunk/debian/vboxnet.init.tmpl

    r5255 r5739  
    112112    if ! VBoxTunctl -h 2>&1 | grep -q VBoxTunctl > /dev/null; then 
    113113      failure "VBoxTunctl not found" 
     114    fi 
     115    # Fail if we don't have the kernel tun device 
     116    # Make sure that the tun module is loaded (Ubuntu 7.10 needs this) 
     117    modprobe tun > /dev/null 2>&1 
     118    if ! cat /proc/misc 2>/dev/null | grep tun > /dev/null 
     119    then 
     120      failure "Linux tun/tap subsystem not available" 
    114121    fi 
    115122    # Read the configuration file entries line by line and create the 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy