VirtualBox

Ignore:
Timestamp:
Sep 19, 2016 3:16:51 PM (8 years ago)
Author:
vboxsync
Message:

bugref:3809: Linux installer maintenance: Additions installer more clean-ups.

File:
1 edited

Legend:

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

    r63889 r63890  
    382382
    383383    # Put mount.vboxsf in the right place
    384     ln -sf "$lib_path/$PACKAGE/mount.vboxsf" /sbin
     384    ln -sf "${INSTALL_DIR}/other/mount.vboxsf" /sbin
    385385    # And a post-installation script for rebuilding modules when a new kernel
    386386    # is installed.
     
    406406        # the real path.  The "chcon" is there as a back-up for old guests.
    407407        command -v semanage > /dev/null &&
    408             semanage fcontext -a -t mount_exec_t "/usr/lib/$PACKAGE/mount.vboxsf"
    409         chcon -t mount_exec_t "$lib_path/$PACKAGE/mount.vboxsf"
     408            semanage fcontext -a -t mount_exec_t "${INSTALL_DIR}/other/mount.vboxsf"
     409        chcon -t mount_exec_t "${INSTALL_DIR}/other/mount.vboxsf"
    410410    fi
    411411}
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