Changeset 2654 in MondoRescue


Ignore:
Timestamp:
Jun 15, 2010, 1:03:04 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Improve Xen kernel detection and avoid false detection (Michael Shapiro)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2649 r2654  
    28492849        # See if it's a Xen kernel
    28502850        if [ -n "$kernelpath" ]; then
    2851             strings $kernelpath | grep -iq xen 2>/dev/null
    2852             if [ $? -eq 0 ]; then
     2851            # See if we're booted from a Xen kernel
     2852            if [ -d /proc/sys/xen ]; then
    28532853                # It's a Xen kernel
    28542854                KERNEL_IS_XEN=yes
Note: See TracChangeset for help on using the changeset viewer.