VirtualBox

Ignore:
Timestamp:
Nov 22, 2022 10:56:25 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154702
Message:

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

File:
1 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.
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