VirtualBox

Changeset 50925 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 31, 2014 8:14:22 AM (11 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: make sure symlinks to the VBoxGuestAdditions folder and to mount.vboxsf are set correctly.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r49162 r50925  
    4444  i[3456789]86|x86)
    4545    cpu="x86"
    46     lib_path="/usr/lib"
     46    lib_candidates="/usr/lib/i386-linux-gnu /usr/lib /lib"
    4747    ;;
    4848  x86_64|amd64)
    4949    cpu="amd64"
    50     if test -d "/usr/lib64"; then
    51       lib_path="/usr/lib64"
    52     else
    53       lib_path="/usr/lib"
    54     fi
     50    lib_candidates="/usr/lib/x86_64-linux-gnu /usr/lib64 /usr/lib /lib64 /lib"
    5551    ;;
    5652esac
     53for i in $lib_candidates; do
     54  if test -d "$i/VBoxGuestAdditions"; then
     55    lib_path=$i
     56    break
     57  fi
     58done
    5759
    5860if [ -f /etc/arch-release ]; then
  • trunk/src/VBox/Installer/linux/run-inst.sh

    r50733 r50925  
    359359link_into_fs "sbin" "/usr/sbin"
    360360link_into_fs "lib" "$lib_path"
     361add_symlink "$INSTALLATION_DIR/lib/$PACKAGE" /usr/lib/"$PACKAGE"
    361362link_into_fs "share" "/usr/share"
    362363link_into_fs "src" "/usr/src"
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