refactor(coreos-images): rename coreos-image-demo -> coreos-image-all-features

* rename coreos-image-demo -> coreos-image-all-features
* create coreos-image-demo in meta-belden-coreos-demo
This commit is contained in:
Patrick Vogelaar 2023-02-10 11:20:24 +01:00
parent 81938bd53f
commit b0747d657d
6 changed files with 21 additions and 8 deletions

View File

@ -100,11 +100,11 @@ the machine is set to `cn9130-cf-pro` but you can use any other MACHINE listed i
occurrences of `cn9130-cf-pro` to your machine when executing a command. occurrences of `cn9130-cf-pro` to your machine when executing a command.
For an image that contains a lot of developer tools, the best image to build For an image that contains a lot of developer tools, the best image to build
is `coreos-image-demo`. is `coreos-image-all-features`.
.. code-block:: sh .. code-block:: sh
~/img-build/build$ bitbake coreos-image-demo ~/img-build/build$ bitbake coreos-image-all-features
After a long time, the build system will return. You can list all the artifacts After a long time, the build system will return. You can list all the artifacts
produced by `bitbake` using `ls`: produced by `bitbake` using `ls`:
@ -119,7 +119,7 @@ be found with this command:
.. code-block:: sh .. code-block:: sh
~/coreos/build$ find tmp/deploy/images/${MACHINE} -type l -name "*.wic.xz" ~/coreos/build$ find tmp/deploy/images/${MACHINE} -type l -name "*.wic.xz"
tmp/deploy/images/cn9130-cf-pro/coreos-image-demo-cn9130-cf-pro.wic.xz tmp/deploy/images/cn9130-cf-pro/coreos-image-all-features-cn9130-cf-pro.wic.xz
.. hint:: .. hint::
@ -167,6 +167,6 @@ Now, flash the image file to the your card:
.. code-block:: sh .. code-block:: sh
~/coreos/build$ bmaptool copy tmp/deploy/images/cn9130-cf-pro/coreos-image-demo-cn9130-cf-pro.wic.xz /dev/<DISKNAME> ~/coreos/build$ bmaptool copy tmp/deploy/images/cn9130-cf-pro/coreos-image-all-features-cn9130-cf-pro.wic.xz /dev/<DISKNAME>
You have to replace `<DISKNAME>` by the name of your SD Card device. You have to replace `<DISKNAME>` by the name of your SD Card device.

View File

@ -4,12 +4,20 @@ Images
The CoreOS build system provides several examples image: The CoreOS build system provides several examples image:
.. index:: coreos-image-demo .. index:: coreos-image-all-features
``coreos-image-all-features``
=============================
An image with most of the optional feature of CoreOS.
.. index:: coreos-image-demo
``coreos-image-demo`` ``coreos-image-demo``
============================= =============================
A image with most of the optional feature of CoreOS. An image based on `coreos-image-all-features`` that has additional demo
features activated.
.. index:: coreos-image-minimal .. index:: coreos-image-minimal

View File

@ -0,0 +1,4 @@
DESCRIPTION = "An image that come with most of the feature available in CoreOS"
inherit coreos-image
require coreos-image-all-features

View File

@ -6,12 +6,12 @@
Currently only a swupdate-www-push subcommand is available. Currently only a swupdate-www-push subcommand is available.
It can be used this way: It can be used this way:
coreos-device swupdate-www-push ~/coreos-image-demo-vm-x64.swu 192.168.122.21 coreos-device swupdate-www-push ~/coreos-image-all-features-vm-x64.swu 192.168.122.21
This script doesn't interact with bitbake so it can't retrieve variables from This script doesn't interact with bitbake so it can't retrieve variables from
bitbake. For a more user friendly usage you can use devtool: bitbake. For a more user friendly usage you can use devtool:
devtool swupdate-www-push coreos-image-demo 192.168.122.21 devtool swupdate-www-push coreos-image-all-features 192.168.122.21
""" """
import os import os

View File

@ -11,6 +11,7 @@ You can now run 'bitbake <target>'
Common targets are: Common targets are:
coreos-image-minimal coreos-image-minimal
coreos-image-all-features
coreos-image-demo coreos-image-demo
You can also run generated qemu images with a command like 'runqemu qemuarm64'. You can also run generated qemu images with a command like 'runqemu qemuarm64'.