Skip to content

Latest commit

 

History

History
116 lines (106 loc) · 4.13 KB

board-mappings.ini

File metadata and controls

116 lines (106 loc) · 4.13 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
### Don't edit this file manually. Update it in git, if there's a good reason to do so ###
#
# This file is used by SSU to find out which device (or device variant) it's
# running on, and use this information to look for device family, and device
# specific adaptation(s). The last two values are used when resolving URLs,
# and therefore change depending on vendor setup.
#
# To avoid quoting in the search strings SSU will do each checks on the
# _value_, and return the key, if successful. The device model returned
# my either be the device model, or a variant. Before resolving the family
# and adaptations variants will be resolved through entries under the
# variants category.
#
# Valid categories for determining the model:
# - file.exists -- checks for existince of a file in the filesystem
Apr 29, 2013
Apr 29, 2013
16
17
18
19
# - boardname.equals -- compares with boardname
# - boardname.contains -- searches for substring in boardname
# NOTE: only use boardname if none of the other options match
# use the boardname command to set/check the current value
20
21
# - systeminfo.equals -- compares the model returned by QSystemInfo
# with the value provided
Apr 20, 2013
Apr 20, 2013
22
23
24
# NOTE: systeminfo matching is currently disabled, as this would
# pull in the whole X11 stack, and on Mer/Nemo does cpuinfo
# matching only anyway, which ssu can do better already.
25
# - cpuinfo.contains -- searches /proc/cpuinfo for a string
Apr 26, 2013
Apr 26, 2013
26
27
# - uname-release.contains -- searches the kernels release string for
# a string (uname -r)
28
29
30
# - arch.equals -- compares with zyppers arch (like i586)
#
# Resolve order is:
Apr 26, 2013
Apr 26, 2013
31
32
# file.exists -> systeminfo.equals -> cpuinfo.contains
# -> uname-release.contains -> arch.equals
33
34
35
36
#
# The found model (after resolving variants) will be used as category. The
# following keys are valid there:
# - family -- the device family, used for the family specific adaptation
Mar 27, 2013
Mar 27, 2013
37
# - adaptation-repos -- list of adaptation repositories for this family
Mar 27, 2013
Mar 27, 2013
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# The value of adaptation-repos gets converted into a QStringList, which
# uses commas as separator. If one of the adaptation names contains a comma
# it needs to be quoted:
# adaptation-repos=foo
# adaptation-repos="foo, bar", baz
# adaptation-repos=foo, bar, baz
#
# The adaptation list is used to create repo files for adaptation repos.
# A repository named 'adaptation0' operates on the first list element,
# 'adaptation2' on the 3rd, etc. The matching item in the list will be
# exported as adaptation variable.
#
# Freeform variable sections start with 'var-'. A variable section for an
# adaptation named 'n9xx' would be 'var-n9xx'. A variable section may
Jul 5, 2013
Jul 5, 2013
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# contain freeform variables, and/or the keyword 'variables' to include any
# other section.
#
# Sections are resolved in the order specified, overwriting existing variables
# in the resolving order (set your systems log to DEBUG and check for warnings
# if you run into problems). The main section is resolved last, thus taking
# precedence over any section specified.
#
# Variables starting with _ are treated as 'local', and are not available for
# URL resolving. Additional variables can be declared as local by using the
# special key 'local' with a stringlist of variables.
#
# If available a default-section is used to initialize variables before
# resolving starts. To find a default section the section name is split at
# '-', and the first (for var- second) token replaced with 'default' (e.g.
# foo-bar -> default-bar; var-foo-bar -> var-default-bar). As additional
# dashes would mess this detection up you should try to avoid dashes in
# section identifiers where this functionality is desired.
#
# Valid examples are:
Mar 27, 2013
Mar 27, 2013
73
74
#
# [var-n9]
Jul 5, 2013
Jul 5, 2013
75
# local=foo
Mar 27, 2013
Mar 27, 2013
76
77
78
79
# foo=bar
# bar=baz
#
# [var-n950]
Jul 5, 2013
Jul 5, 2013
80
# variables=n9,n950
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#
# The N9x mappings should be solved through sysinfo, but that's currently
# broken on Mer/Nemo
[file.exists]
SDK=/mer-sdk-chroot
[systeminfo.equals]
[cpuinfo.contains]
N900=Nokia RX-51 board
N950=Nokia RM-680 board
N9=Nokia RM-696 board
[arch.equals]
generic-x86=i586
[variants]
N950=N9
[N9]
family=n950-n9
Mar 27, 2013
Mar 27, 2013
103
adaptation-repos=n9xx-common,n950-n9
104
105
106
[N900]
family=n900
Mar 27, 2013
Mar 27, 2013
107
adaptation-repos=n9xx-common,n900
108
109
110
111
112
[SDK]
[generic-x86]
family=x86
Mar 27, 2013
Mar 27, 2013
113
adaptation-repos=x86
114
115
116
[UNKNOWN]
family=UNKNOWN