containers: set lvgl as default CONTAINER_TYPE
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
852cac43ac
commit
8674cf9edf
|
|
@ -163,11 +163,13 @@ Set profile and naming in `conf/local.conf`:
|
||||||
|
|
||||||
```conf
|
```conf
|
||||||
DISTRO_FEATURES:append = " virtualization"
|
DISTRO_FEATURES:append = " virtualization"
|
||||||
CONTAINER_TYPE = "webkit" # or: lvgl, flutter, base, custom profile
|
CONTAINER_TYPE = "webkit" # or: lvgl, flutter, custom profile
|
||||||
CONTAINER_NAME = "webkit-example"
|
CONTAINER_NAME = "webkit-example"
|
||||||
# PODMAN_TAG defaults to "${CONTAINER_NAME}-tag"
|
# PODMAN_TAG defaults to "${CONTAINER_NAME}-tag"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If `CONTAINER_TYPE` is not set, `dey-image-container` now defaults to `lvgl`.
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -189,9 +191,10 @@ Notes:
|
||||||
manifest does not provide one explicitly. In that default case it appends a
|
manifest does not provide one explicitly. In that default case it appends a
|
||||||
base36-encoded millisecond timestamp suffix, stores the generated `package_id`
|
base36-encoded millisecond timestamp suffix, stores the generated `package_id`
|
||||||
in the final `manifest.json`, and uses it in the DCP file name.
|
in the final `manifest.json`, and uses it in the DCP file name.
|
||||||
- In Yocto builds, `dey-image-container` does not set `package_id`, so the
|
- In Yocto builds, `dey-image-container` keeps that unique-name behavior and
|
||||||
generated value always starts from `${CONTAINER_NAME}` before the generator
|
removes older DCP artifacts with the same `${CONTAINER_NAME}` prefix before
|
||||||
adds the unique suffix.
|
generating the new one, so the deploy directory does not keep accumulating
|
||||||
|
previous builds of the same container/runtime.
|
||||||
|
|
||||||
Intermediate outputs generated during the build (LXC bundle, Podman archive, OCI/rootfs files)
|
Intermediate outputs generated during the build (LXC bundle, Podman archive, OCI/rootfs files)
|
||||||
are removed automatically at the end of artifact creation.
|
are removed automatically at the end of artifact creation.
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@ NO_RECOMMENDATIONS = "1"
|
||||||
# Container profile
|
# Container profile
|
||||||
########################
|
########################
|
||||||
# Select profile in local.conf (e.g. CONTAINER_TYPE = "lvgl", "webkit" or "flutter").
|
# Select profile in local.conf (e.g. CONTAINER_TYPE = "lvgl", "webkit" or "flutter").
|
||||||
CONTAINER_TYPE ?= "base"
|
# Defaults to "lvgl" when not set by the build configuration.
|
||||||
|
CONTAINER_TYPE ?= "lvgl"
|
||||||
OVERRIDES:append = ":container-${CONTAINER_TYPE}"
|
OVERRIDES:append = ":container-${CONTAINER_TYPE}"
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue