VirtualBox

Changeset 68173 in vbox for trunk/src


Ignore:
Timestamp:
Jul 29, 2017 1:10:48 PM (7 years ago)
Author:
vboxsync
Message:

do chcon on the validationkit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh

    r68164 r68173  
    189189log_command cp -R ${MY_CDROM_NOCHROOT}/vboxvalidationkit/* "${MY_TARGET}/root/validationkit/"
    190190log_command chmod -R u+rw,a+xr "${MY_TARGET}/root/validationkit/"
     191if [ -e "${MY_TARGET}/usr/bin/chcon" -o -e "${MY_TARGET}/bin/chcon" -o -e "${MY_TARGET}/usr/sbin/chcon" -o -e "${MY_TARGET}/sbin/chcon" ]; then
     192    log_command_in_target chcon -R -t usr_t "${MY_TARGET}/root/validationkit/"
     193fi
    191194
    192195# systemd service config:
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