VirtualBox

Changeset 39470 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Nov 30, 2011 8:51:53 AM (13 years ago)
Author:
vboxsync
Message:

Linux Additions: special case for UEK kernels

File:
1 edited

Legend:

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

    r39358 r39470  
    200200    printf "\nThe headers for the current running kernel were not found. If the following\nmodule compilation fails then this could be the reason.\n"
    201201    if [ "$system" = "redhat" ]; then
    202         printf "The missing package can be probably installed with\nyum install kernel-devel-$KERN_VER\n"
     202        if echo "$KERN_VER" | grep -q "uek"; then
     203            printf "The missing package can be probably installed with\nyum install kernel-uek-devel-$KERN_VER\n"
     204        else
     205            printf "The missing package can be probably installed with\nyum install kernel-devel-$KERN_VER\n"
     206        fi
    203207    elif [ "$system" = "suse" ]; then
    204208        KERN_VER_SUSE=`echo "$KERN_VER" | sed 's/.*-\([^-]*\)/\1/g'`
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