VirtualBox

Changeset 52311 in vbox


Ignore:
Timestamp:
Aug 7, 2014 12:07:31 PM (10 years ago)
Author:
vboxsync
Message:

Config.kmk: Use the kernel FMRI rather than entire which can be slightly off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r52276 r52311  
    30283028  VBOX_SOLARIS_11_VERSION = $(shell uname -v | sed 's/snv_//' | cut -f1 -d'.')
    30293029  ifeq ($(VBOX_SOLARIS_11_VERSION),11)
    3030    VBOX_SOLARIS_11_FULLVERSION = $(shell pkg contents -H -t set -o pkg.fmri entire | $(SED_EXT) -e '1!d' -e 's/^.*\@//;s/\:.*//;s/.*,//')
     3030   VBOX_SOLARIS_11_FULLVERSION = $(shell pkg contents -H -t set -o pkg.fmri system/kernel | $(SED_EXT) -e '1!d' -e 's/^.*\@//;s/\:.*//;s/.*,//')
    30313031   # FULLVERSION format e.g. "5.11-0.175.1.0.0.16.0", we're interested in 175 (VERSION), 1 (UPDATE), 16 (BUILD).
    30323032   VBOX_SOLARIS_11_VERSION = $(word 2, $(subst ., ,$(word 2,$(subst -, ,$(VBOX_SOLARIS_11_FULLVERSION)))))
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