6
6
It covers a broad range, such as the software stack with its configuration and
9
There can only be *one* snappy package of `type` `oem` and it can only be
9
There can only be *one* snappy package of `type: oem` and it can only be
10
10
installed during image provision.
89
89
While these assets are typically used during provisioning, they may also be
90
90
used against a running system. *Caution:* updating these assets on a running
91
system may lead to a broken system unless redundancy or fallback machanisms
91
system may lead to a broken system unless redundancy or fallback mechanisms
92
92
aren't provided by the OEM.
94
94
#### Partition layout
102
102
## Structure and layout
104
The `package.yaml` is structured as
107
name: package-string # mandatory
108
vendor: vendor-string # mandatory
109
icon: icon-path # mandatory
110
version: version-string # mandatory
111
type: oem # mandatory
114
snappy-package-string:
115
property-string: property-value
117
immutable-config: # optional
122
id: id-string # optional
125
name: branding-name-string # optional
126
logo: logo-path # optional
133
hardware: # mandatory
134
platform: platform-string # mandatory
135
architecture: architecture-string # mandatory (armhf, amd64, i386, arm64, ...)
136
partition-layout: partition-layout-string # mandatory (system-AB)
137
booloader: bootloader-string # mandatory (u-boot or grub)
138
boot-assets: # optional
143
offset: offset-uint64
104
The `package.yaml` is structured as:
107
name: package-string # mandatory
108
vendor: vendor-string # mandatory
109
icon: icon-path # mandatory
110
version: version-string # mandatory
111
type: oem # mandatory
114
snappy-package-string:
115
property-string: property-value
117
immutable-config: # optional
122
id: id-string # optional
125
name: branding-name-string # optional
126
logo: logo-path # optional
133
hardware: # mandatory
134
platform: platform-string # mandatory
135
architecture: architecture-string
136
# mandatory (armhf, amd64, i386,
138
partition-layout: partition-layout-string
139
# mandatory (system-AB)
140
booloader: bootloader-string
141
# mandatory (u-boot or grub)
142
boot-assets: # optional
147
offset: offset-uint64
146
150
The package header section is common to all packages
148
152
The general rules for config:
150
154
- only applied on first boot.
151
- if the config is immmutable, updates on in `oem` package will be reflected.
155
- if the config is immutable, updates to the `oem` package will be reflected.
153
157
Rules about packages in the config: