VirtualBox

Changeset 39333 in vbox for trunk/src/VBox/HostDrivers/linux


Ignore:
Timestamp:
Nov 16, 2011 3:19:21 PM (13 years ago)
Author:
vboxsync
Message:

Installer/linux: more build_in_tmp simplificaion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/linux/export_modules

    r35920 r39333  
    66# Copyright (C) 2007 Oracle Corporation
    77#
    8 # This file is part of VirtualBox Open Source Edition (OSE), as
    98# available from http://www.virtualbox.org. This file is free software;
    109# you can redistribute it and/or modify it under the terms of the GNU
     
    2625fi
    2726
    28 PATH_TMP="`cd \`dirname $1\`; pwd`/.vbox_modules"
    29 PATH_OUT=$PATH_TMP
    30 FILE_OUT="`cd \`dirname $1\`; pwd`/`basename $1`"
    3127PATH_ROOT="`cd \`dirname $0\`/../../../..; pwd`"
    3228PATH_LINUX="$PATH_ROOT/src/VBox/HostDrivers/linux"
     
    8985    install -D -m 0755 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxdrv/`echo $f|cut -d'>' -f2`"
    9086done
    91 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_LINUX/build_in_tmp > $PATH_TMP/vboxdrv/build_in_tmp
    92 chmod 0755 $PATH_TMP/vboxdrv/build_in_tmp
    9387sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXDRV/linux/dkms.conf > $PATH_TMP/vboxdrv/dkms.conf
    9488if [ -n "$VBOX_WITH_HARDENING" ]; then
     
    10397    install -D -m 0644 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxnetflt/`echo $f|cut -d'>' -f2`"
    10498done
    105 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_LINUX/build_in_tmp > $PATH_TMP/vboxnetflt/build_in_tmp
    106 chmod 0755 $PATH_TMP/vboxnetflt/build_in_tmp
    10799sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXNET/linux/dkms.conf > $PATH_TMP/vboxnetflt/dkms.conf
    108100if [ -n "$VBOX_WITH_HARDENING" ]; then
     
    117109    install -D -m 0644 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxnetadp/`echo $f|cut -d'>' -f2`"
    118110done
    119 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_LINUX/build_in_tmp > $PATH_TMP/vboxnetadp/build_in_tmp
    120 chmod 0755 $PATH_TMP/vboxnetadp/build_in_tmp
    121111sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXADP/linux/dkms.conf > $PATH_TMP/vboxnetadp/dkms.conf
    122112if [ -n "$VBOX_WITH_HARDENING" ]; then
     
    131121    install -D -m 0644 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxpci/`echo $f|cut -d'>' -f2`"
    132122done
    133 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_LINUX/build_in_tmp > $PATH_TMP/vboxpci/build_in_tmp
    134 chmod 0755 $PATH_TMP/vboxpci/build_in_tmp
    135123sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXPCI/linux/dkms.conf > $PATH_TMP/vboxpci/dkms.conf
    136124if [ -n "$VBOX_WITH_HARDENING" ]; then
     
    141129
    142130install -D -m 0644 $PATH_LINUX/Makefile $PATH_TMP/Makefile
     131install -D -m 0755 $PATH_LINUX/build_in_tmp $PATH_TMP/build_in_tmp
    143132
    144133# Only temporary, omit from archive
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette