File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,6 +95,43 @@ Write complete: 5120.00 MB in 281.23s (18.21 MB/s)
9595Compression ratio: 9.80x
9696```
9797
98+ ### OCI Images
99+
100+ ` fls ` can pull OCI images from registries and flash them either to a block device
101+ or to fastboot partitions.
102+
103+ #### Flash an OCI image to a block device
104+
105+ Use ` from-url ` with an ` oci:// ` prefix:
106+
107+ ``` bash
108+ fls from-url \
109+ -u " $REGISTRY_USER " \
110+ -p " $REGISTRY_PASS " \
111+ " oci://quay.io/org/image:latest" \
112+ /dev/mmcblk1
113+ ```
114+
115+ #### Flash an OCI image via fastboot
116+
117+ ` fls fastboot ` pulls the OCI image, extracts partition images, and flashes them
118+ using the system ` fastboot ` CLI:
119+
120+ ``` bash
121+ fls fastboot quay.io/org/image:latest
122+ ```
123+
124+ Provide explicit partition mappings when the OCI image contains multiple files:
125+
126+ ``` bash
127+ fls fastboot quay.io/org/image:latest \
128+ -t boot_a:boot_a.simg \
129+ -t system_a:system_a.simg
130+ ```
131+
132+ Registry credentials can be provided with ` -u/--username ` and ` -p/--password `
133+ (` FLS_REGISTRY_PASSWORD ` env var is supported for the password).
134+
98135## Command Options
99136
100137### ` fls from-url `
You can’t perform that action at this time.
0 commit comments