Changeset 9190 in vbox
- Timestamp:
- May 28, 2008 8:44:35 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 8 edited
-
debian/VBox.sh (modified) (1 diff)
-
debian/dirs (modified) (1 diff)
-
debian/postinst (modified) (1 diff)
-
debian/preinst.in (modified) (1 diff)
-
debian/rules (modified) (1 diff)
-
debian/templates (modified) (1 diff)
-
debian/vboxdrv.init.in (deleted)
-
debian/vboxnet.init.in (deleted)
-
src/VBox/Installer/linux/Makefile.kmk (modified) (1 diff)
-
src/VBox/Installer/linux/vboxdrv.sh.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/VBox.sh
r8171 r9190 96 96 VirtualBox) 97 97 exec "/usr/lib/virtualbox-ose/VirtualBox" "$@" 98 ;;98 ;; 99 99 VBoxManage) 100 100 exec "/usr/lib/virtualbox-ose/VBoxManage" "$@" 101 ;;101 ;; 102 102 VBoxSDL) 103 103 exec "/usr/lib/virtualbox-ose/VBoxSDL" "$@" 104 ;;104 ;; 105 105 VBoxVRDP) 106 106 exec "/usr/lib/virtualbox-ose/VBoxVRDP" "$@" 107 ;;107 ;; 108 108 VBoxHeadless) 109 109 exec "/usr/lib/virtualbox-ose/VBoxHeadless" "$@" 110 ;;110 ;; 111 111 *) 112 112 echo "Unknown application - $APP" 113 ;;113 ;; 114 114 esac -
trunk/debian/dirs
r5772 r9190 2 2 /etc/vbox 3 3 /etc/init.d 4 /usr/src 4 5 /usr/lib/virtualbox-ose -
trunk/debian/postinst
r8171 r9190 28 28 rm /etc/init.d/virtualbox 29 29 update-rc.d virtualbox remove >/dev/null 30 fi 31 if [ -f /etc/vbox/vbox.cfg ]; then 32 echo "Found old version of /etc/vbox/vbox.cfg, removing." 33 rm /etc/vbox/vbox.cfg 30 34 fi 31 35 -
trunk/debian/preinst.in
r8171 r9190 32 32 fi 33 33 34 # check for old installation 35 if [ -r /etc/vbox/vbox.cfg ]; then 36 . /etc/vbox/vbox.cfg 37 if [ "x$INSTALL_DIR" != "x" -a -d "$INSTALL_DIR" ]; then 38 db_fset virtualbox/old-installation-found seen false || true 39 db_input high virtualbox/old-installation-found || true 40 db_go || true 41 exit 1 42 fi 43 # we will remove that file in postinst 44 fi 45 34 46 # check for old vboxdrv modules 35 47 if find /lib/modules -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then -
trunk/debian/rules
r8267 r9190 202 202 dh_installmenu 203 203 $(if $(NOMODS),,dh_installmodules) 204 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge ucs1.3,$(debrel)),yes,)|g; ' \205 debian/vboxdrv.init.in > debian/vboxdrv.init204 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge ucs1.3,$(debrel)),yes,)|g; s|%PACKAGE%|virtualbox-ose|g;' \ 205 src/VBox/Installer/linux/vboxdrv.sh.in > debian/vboxdrv.init 206 206 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge,$(debrel)),yes,)|g;' \ 207 debian/vboxnet.init.in > debian/vboxnet.init207 src/VBox/Installer/linux/vboxnet.sh.in > debian/vboxnet.init 208 208 dh_installinit --name=vboxdrv 209 209 dh_installinit --name=vboxnet -
trunk/debian/templates
r6332 r9190 52 52 merge all snapshots and saved states before you proceed because VM states are version 53 53 specific. 54 55 Template: virtualbox-ose/old-installation-found 56 Type: note 57 Description: Old installation found 58 An old installation of VirtualBox was found. To install this package the old package 59 has to be removed first. Have a look at /etc/vbox/vbox.cfg determine the installation 60 directory of the previous installation. After uninstalling the old package remove the file 61 /etc/vbox/vbox.cfg. -
trunk/src/VBox/Installer/linux/Makefile.kmk
r8761 r9190 207 207 208 208 $(PATH_TARGET)/vboxdrv.sh: vboxdrv.sh.in 209 $(QUIET)$(SED_EXT) -e "s|%NOLSB%|yes|g " $< > $@209 $(QUIET)$(SED_EXT) -e "s|%NOLSB%|yes|g; s|%PACKAGE%|virtualbox|g" $< > $@ 210 210 211 211 $(PATH_TARGET)/vboxnet.sh: vboxnet.sh.in -
trunk/src/VBox/Installer/linux/vboxdrv.sh.in
r9108 r9190 41 41 BUILDINTMP="$INSTALL_DIR/src/build_in_tmp" 42 42 else 43 VBOXMANAGE="/usr/lib/ virtualbox/VBoxManage"44 BUILDINTMP="/usr/share/ virtualbox/src/build_in_tmp"43 VBOXMANAGE="/usr/lib/%PACKAGE%/VBoxManage" 44 BUILDINTMP="/usr/share/%PACKAGE%/src/build_in_tmp" 45 45 fi 46 46 … … 55 55 fi 56 56 57 [ -r /etc/default/ virtualbox ] && . /etc/default/virtualbox57 [ -r /etc/default/%PACKAGE% ] && . /etc/default/%PACKAGE% 58 58 59 59 if [ -z "$NOLSB" ]; then … … 197 197 } 198 198 199 # enter the following variables in /etc/default/ virtualbox:199 # enter the following variables in /etc/default/%PACKAGE%: 200 200 # SHUTDOWN_USERS="foo bar" 201 201 # check for running VMs of user foo and user bar
Note:
See TracChangeset
for help on using the changeset viewer.

