sbsv2/raptor/notes/query_cli.txt
author jjkang
Fri, 25 Jun 2010 20:58:33 +0800
changeset 605 122d2b873fd1
parent 602 3145852acc89
permissions -rw-r--r--
Minor changes: rofsbuild
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
602
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     1
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     2
A new --query command-line option allows other tools to easily read raptor's
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     3
configuration data without having to understand exactly how raptor config
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     4
files work.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     5
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     6
For example, all the valid build aliases which can be used to build with
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     7
the -c option can be obtained using:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     8
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     9
sbs --query=aliases
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    10
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    11
All the known product variants can be obtained using:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    12
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    13
sbs --query=products
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    14
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    15
And the details of a particular configuration can be found using:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    16
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    17
sbs --query=config[armv5_urel.n8]
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    18