产品提供的要添加到组装的图片中的软件包。
还包括这些软件包的配置:
json5 packages: { base: { package_a: { manifest: "path/to/package_a/package_manifest.json", }, package_b: { manifest: "path/to/package_b/package_manifest.json", config_data: { "foo.cfg": "path/to/some/source/file/foo.cfg", "bar/more/data.json": "path/to/some.json", }, }, ], cache: [] }
Field Type Description Default
cache
object
Paths to package manifests, or more detailed json entries for packages to add to the 'cache' package set, which are keyed by package name.
bootfs
object
Paths to package manifests, or more detailed json entries for packages to add to the 'bootfs' package set, which are keyed by package name.
base
object
Paths to package manifests, or more detailed json entries for packages to add to the 'base' package set, which are keyed by package name.