Changeset 11752 in vbox for trunk/src/VBox/HostDrivers/Support/linux/export_modules
- Timestamp:
- Aug 28, 2008 11:36:46 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35520
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/export_modules
r8155 r11752 29 29 30 30 if [ -z "$1" ]; then 31 echo "Usage: $0 <filename.tar.gz> "31 echo "Usage: $0 <filename.tar.gz> [--without-hardening]" 32 32 echo " Export VirtualBox kernel modules to <filename.tar.gz>" 33 33 exit 1 34 fi 35 36 VBOX_WITH_HARDENING=1 37 if [ "$2" = "--without-hardening" ]; then 38 VBOX_WITH_HARDENING= 34 39 fi 35 40 … … 72 77 chmod 0755 $PATH_TMP/vboxdrv/build_in_tmp 73 78 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXDRV/linux/dkms.conf > $PATH_TMP/vboxdrv/dkms.conf 79 if [ -n "$VBOX_WITH_HARDENING" ]; then 80 cat $PATH_VBOXDRV/linux/Makefile > $PATH_TMP/vboxdrv/Makefile 81 else 82 sed -e "s;-DVBOX_WITH_HARDENING;;g" < $PATH_VBOXDRV/linux/Makefile > $PATH_TMP/vboxdrv/Makefile 83 fi 74 84 75 85 # Only temporary, omit from archive
Note:
See TracChangeset
for help on using the changeset viewer.