sbsv2/raptor/notes/query_cli.txt
author Jon Chatten
Thu, 26 Aug 2010 13:41:01 +0100
changeset 630 31ef8a13d4f4
parent 591 22486c9c7b15
permissions -rw-r--r--
sbs version 2.15.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
A new --query command-line option allows other tools to easily read raptor's
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
configuration data without having to understand exactly how raptor config
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
files work.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
For example, all the valid build aliases which can be used to build with
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
the -c option can be obtained using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
sbs --query=aliases
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
All the known product variants can be obtained using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
sbs --query=products
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
And the details of a particular configuration can be found using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
sbs --query=config[armv5_urel.n8]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18