VirtualBox

Changeset 97650 in vbox


Ignore:
Timestamp:
Nov 22, 2022 10:56:25 AM (2 years ago)
Author:
vboxsync
Message:

Linux: Adjust startup scripts for building kernel modules for UEK7 on OL8 distribution (adjustments to r154646), bugdbref:34811820.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r97603 r97650  
    7070QUIET=
    7171test -z "${TARGET_VER}" && TARGET_VER=`uname -r`
    72 
    73 # Prepend PATH for building UEK7 on OL8 distribution.
    74 case $(uname -r) in
    75     5.15.0-*.el8uek*) PATH="/opt/rh/gcc-toolset-11/root/usr/bin:$PATH"
    76 esac
    7772
    7873# Marker to ignore a particular kernel version which was already installed.
     
    472467    export KERN_VER
    473468    info "Building the modules for kernel $KERN_VER."
     469
     470    # Prepend PATH for building UEK7 on OL8 distribution.
     471    case "$KERN_VER" in
     472        5.15.0-*.el8uek*) PATH="/opt/rh/gcc-toolset-11/root/usr/bin:$PATH";;
     473    esac
    474474
    475475    # Detect if kernel was built with clang.
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r97603 r97650  
    4747MODPROBE=/sbin/modprobe
    4848SCRIPTNAME=vboxdrv.sh
    49 
    50 # Prepend PATH for building UEK7 on OL8 distribution.
    51 case $(uname -r) in
    52     5.15.0-*.el8uek*) PATH="/opt/rh/gcc-toolset-11/root/usr/bin:$PATH"
    53 esac
    5449
    5550# The below is GNU-specific.  See VBox.sh for the longer Solaris/OS X version.
     
    10398
    10499KERN_VER=`uname -r`
     100
     101# Prepend PATH for building UEK7 on OL8 distribution.
     102case "$KERN_VER" in
     103    5.15.0-*.el8uek*) PATH="/opt/rh/gcc-toolset-11/root/usr/bin:$PATH";;
     104esac
     105
    105106if test -e "${MODULE_SRC}/vboxpci"; then
    106107    MODULE_LIST="vboxdrv vboxnetflt vboxnetadp vboxpci"
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