Changeset 7004 in vbox for trunk/src/VBox/HostDrivers/Support/linux/build_in_tmp
- Timestamp:
- Feb 18, 2008 7:34:18 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28205
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/build_in_tmp
r5999 r7004 24 24 # terms and conditions of either the GPL or the CDDL or both. 25 25 # 26 27 # Attempt to build using DKMS first 28 DKMS=`which dkms` 29 if [ -n "$DKMS" ] 30 then 31 echo "Attempting to install using DKMS" 32 status=`$DKMS status -m vboxdrv -v _VERSION_` 33 if echo $status | grep added > /dev/null || 34 echo $status | grep built > /dev/null || 35 echo $status | grep installed > /dev/null 36 then 37 $DKMS remove -m vboxdrv -v _VERSION_ --all 38 fi 39 if $DKMS add -m vboxdrv -v _VERSION_ && 40 $DKMS build -m vboxdrv -v _VERSION_ && 41 $DKMS install -m vboxdrv -v _VERSION_ --force 42 then 43 exit 0 44 fi 45 echo "Failed to install using DKMS, attempting to install without" 46 fi 26 47 27 48 # find a unique temp directory
Note:
See TracChangeset
for help on using the changeset viewer.