產品提供的包裝,可新增至組裝圖片。
這也包括這些套件的設定:
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.