Commit Graph

132 Commits

Author SHA1 Message Date
Samuel Dolt 010f907937 Pull request #50: fix(coreos-image-ci): fix syntax error
Merge in ICO/coreos from fix/coreos-image to master

* commit '2f42fcb05113dfabd88a1c82f51c71ea8b6d375a':
  fix(coreos-image-ci): fix syntax error
2023-02-07 13:16:52 +01:00
Samuel Dolt 9b82b53461 Pull request #51: fix(cockpit-podman): don't call make clean in do_configure
Merge in ICO/coreos from fix/cockpit-podman-configure to master

* commit 'c1da18b58c2b4dd5727f17fb83b70e394b02fe83':
  fix(cockpit-podman): don't call make clean in do_configure
2023-02-07 13:16:44 +01:00
Patrick Vogelaar 037c62be2c Pull request #47: fix(swupdate): make swupdate dependent on EFI
Merge in ICO/coreos from fix/remove_swupdate_from_qemu to master

* commit '17855553fc0f98d2946d11eb2ecc1379a44242ec':
  fix(swupdate): make swupdate dependent on EFI
2023-02-06 15:59:50 +01:00
Samuel Dolt c1da18b58c fix(cockpit-podman): don't call make clean in do_configure 2023-02-06 15:27:57 +01:00
Samuel Dolt 2f42fcb051 fix(coreos-image-ci): fix syntax error 2023-02-06 11:38:06 +01:00
Samuel Dolt f086fe20de Pull request #48: Feat/coreos device
Merge in ICO/coreos from feat/coreos-device to master

* commit '57107f5cea3ff2e61701c18753cacdada8d1e04f':
  feat(swupdate): install swupdate-progress by default
  feat(coreos-device): add a coreos-device script and a devtool plugin
2023-02-06 10:03:29 +01:00
Samuel Dolt 57107f5cea feat(swupdate): install swupdate-progress by default
swupdate-progress will automatically restart the device after
an update.
2023-02-03 14:12:53 +01:00
Samuel Dolt 34717ecbda feat(coreos-device): add a coreos-device script and a devtool plugin
The devtool plugin offer a high level integration with Bitbake and
thus is under GPLv2 license.

The coreos-device script is a low level scripts that implement all
the functionality and is not under GPLv2
2023-02-03 13:03:59 +01:00
Patrick Vogelaar 17855553fc fix(swupdate): make swupdate dependent on EFI
This fixes that swupdate service cannot be starten for qemu machines.
2023-02-03 10:50:41 +01:00
Samuel Dolt e86b46771e Pull request #46: chore(efibootguard): better handling of efibootguard related variables
Merge in ICO/coreos from chore/efibootguard-handling to master

* commit 'e02d4b95f8e257d55f70b1dfbf6435ddd564b09e':
  chore(efibootguard): better handling of efibootguard related variables
2023-02-03 10:33:17 +01:00
Samuel Dolt e02d4b95f8 chore(efibootguard): better handling of efibootguard related variables
Default value related to efibootguard are not set inside the distro
and MACHINE that use coreos-image and doesn't define EFI as a
MACHINE_FEATURE doesn't get the efibootguard-tools package.
2023-02-02 11:47:06 +01:00
Samuel Dolt 342f288d04 chore(container): remove the container machine overrides
We can build container with non-container machine with
coreos-container-image classes so having a MACHINEOVERRIDES
for container machines only is misleading
2023-02-02 10:12:00 +01:00
Samuel Dolt 89d820d4a6 fix(container): fix build failure with container machines with coreos-image class 2023-02-02 10:11:06 +01:00
Samuel Dolt b4e480e15d Pull request #43: Feat/os release
Merge in ICO/coreos from feat/os-release to master

* commit '60686d70f3aaca72712c82e4166923a3aa708dac':
  refactor(base-files): add git information to issues files
  refactor(belden-coreos): remove GIT info from DISTRO_VERSION
  feat(os-release): add COREOS_GIT_BRANCH and COREOS_GIT_REVISION field
2023-02-01 11:28:44 +01:00
Samuel Dolt 49b20dbb31 Pull request #44: fix(wks): use --size instead of --fixed-size
Merge in ICO/coreos from fix/swupdate to master

* commit '2a128e872151b26b8729bf240f9b0931838c471c':
  fix(wks): use --size instead of --fixed-size
2023-02-01 11:27:56 +01:00
Samuel Dolt 2a128e8721 fix(wks): use --size instead of --fixed-size
--fixed-size produce a partition of the right size but doesn't expand
the filesystem. Instead we use --size --extra-space and
--overhead-factor to have a fixed size partition and fixed size
filesystem
2023-01-31 16:00:36 +01:00
Samuel Dolt c0c5955efe Pull request #41: Artifacts files inside deploy dir for the CI
Merge in ICO/coreos from feat/ci-artifacts-list to master

* commit '92d900ba2f71e867d1ea672d8716bcac4fe54f35':
  fix(coreos-efi-secureboot): only install sb key if needed
  feat(coreos-image-ci): add a special image class to generate CI file
  feat(coreos-container-image): add COREOS_IMAGE_EXTRACLASSES support
2023-01-31 14:29:17 +01:00
Samuel Dolt 92d900ba2f fix(coreos-efi-secureboot): only install sb key if needed
Checking for COREOS_EFI_SECUREBOOT_INSTALL_PUBKEY_IN_EFIDIR
was not done properly resulting of the key always being
installed inside the EFI partition.
2023-01-31 13:26:06 +01:00
Samuel Dolt 60686d70f3 refactor(base-files): add git information to issues files 2023-01-31 12:22:06 +01:00
Samuel Dolt f1393776af refactor(belden-coreos): remove GIT info from DISTRO_VERSION 2023-01-31 12:21:41 +01:00
Samuel Dolt 61b831cb5a feat(os-release): add COREOS_GIT_BRANCH and COREOS_GIT_REVISION field 2023-01-31 11:27:39 +01:00
Samuel Dolt f831331e7e Pull request #38: Refactor/images
Merge in ICO/coreos from refactor/images to master

* commit '0b3e395862d9dea90a9c170c3a48a12fd985e3c6':
  chore(coreos-image-minimal-dev): delete the recipes
  refactor: rename coreos-image-full-cmdline to coreos-image-demo
2023-01-31 10:25:09 +01:00
Samuel Dolt cfb1638fb4 feat(coreos-image-ci): add a special image class to generate CI file
We need to generate some more file to better integrate the CI system
with this repository. The new class generate a new IMAGE.ci-artifacts
file with the list of file that need to be uploaded by the CI to our
storage server. To enable this class, the CI need to add:

`COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci"`

to the auto.conf configuration file inside the build directory.
2023-01-30 16:09:15 +01:00
Darko Trogrlic 5f658cf199 fix(swupdate): re-adding swupdate and .swu image generation 2023-01-30 16:04:07 +01:00
Samuel Dolt 2b84253de8 feat(coreos-container-image): add COREOS_IMAGE_EXTRACLASSES support 2023-01-30 15:16:47 +01:00
Samuel Dolt 711b0f08bd Pull request #39: Fix/swu
Merge in ICO/coreos from fix/swu to master

* commit 'c65869b9c9a667fb689c5d3498ef21117d5ab648':
  fix(do_swuimage): use DEPENDS to get kernel arguments
  fix(coreos-image): COREOS_IMAGE_EXTRACLASSES now work as expected
2023-01-30 13:59:24 +01:00
Darko Trogrlic 259dd34e7c Pull request #33: docs: using cmake with yocto recipe - example
Merge in ICO/coreos from doc_demo_cmake_yocto to master

* commit '04547f38760b95a1fed7afef9449c4925e657fcb':
  docs: removing from cmake-demo from image recipe
  docs: moving cmake-demo to demo layer
  docs: changing cmake version in CMakeLists.txt
  docs: editing comments and removing config setting
  docs: using cmake with yocto recipe - example
  docs: removing from cmake-demo from image recipe
  docs: moving cmake-demo to demo layer
  docs: changing cmake version in CMakeLists.txt
  docs: editing comments and removing config setting
  docs: using cmake with yocto recipe - example
2023-01-30 13:34:07 +01:00
Samuel Dolt c65869b9c9 fix(do_swuimage): use DEPENDS to get kernel arguments
WKS_KERNEL_ARGS was using previously inside COREOS to pass the
kernel arguments between the machine configuration and image
generation. This was already replaced by the APPEND variable
that do the same and is documented in oe-core.
2023-01-30 13:28:15 +01:00
Samuel Dolt f20fc6a32d fix(coreos-image): COREOS_IMAGE_EXTRACLASSES now work as expected
COREOS_IMAGE_EXTRACLASSES is used to ihnerit classes dynamically during
parsing, that mean that it can't depends on operator that operate after
parsing, like ??=, :append, ...

Now we use the ?= and += operator that operate during parsing
2023-01-30 13:25:35 +01:00
Darko Trogrlic 23169c0e74 docs: removing from cmake-demo from image recipe 2023-01-27 16:42:15 +01:00
Darko Trogrlic f11edc5908 docs: moving cmake-demo to demo layer 2023-01-27 16:42:15 +01:00
Darko Trogrlic 4003ab491e docs: changing cmake version in CMakeLists.txt 2023-01-27 16:42:15 +01:00
Darko Trogrlic 0b533c97c3 docs: editing comments and removing config setting
Adding spaces to make comments more readable. Removing a config setting that is already default.
2023-01-27 16:42:15 +01:00
Darko Trogrlic eee10303f8 docs: using cmake with yocto recipe - example 2023-01-27 16:42:15 +01:00
Samuel Dolt 0b3e395862 chore(coreos-image-minimal-dev): delete the recipes 2023-01-27 14:31:12 +01:00
Samuel Dolt fea1ac4d8b refactor: rename coreos-image-full-cmdline to coreos-image-demo
coreos-image-full-cmdline contains more than command line utils.

It's the image that we usually use for our demo so let's use that
name.
2023-01-27 14:31:12 +01:00
Samuel Dolt f0f662b494 feat(coreos-image-testable): add an image to be used in the CI 2023-01-27 11:01:38 +01:00
Samuel Dolt 726b151913 Pull request #34: fix(beaglebone): fix kernel argument to select the right rootfs
Merge in ICO/coreos from fix/beaglebone-bootargs to master

* commit '6b773adee07bd22c6b1047385d2b214c59dab513':
  fix(beaglebone): fix kernel argument to select the right rootfs
2023-01-26 09:51:19 +01:00
Samuel Dolt 0ce3f1a45c fix(cockpit-podman): fix recipes
This resolve the problem that cockpit-podman sometimes fail
to build with an error message saying that uplading
package-lock.json is not possible when not inside of a
git repository.
2023-01-25 16:37:37 +01:00
Samuel Dolt 6b773adee0 fix(beaglebone): fix kernel argument to select the right rootfs 2023-01-25 12:33:04 +01:00
Samuel Dolt a21878bcf3 fix(cn913x): compatible dts has to match between kernel and u-boot 2023-01-24 15:28:00 +01:00
Samuel Dolt e83a1da19d feat(swupdate): add swupdate and .swu image generation 2023-01-24 15:28:00 +01:00
Samuel Dolt 4e8716628f feat(efibootguard): replace systemd-boot by efibootguard
We are now using efibootguard to provide a A/B boot path for
the kernel and the rootfs.

This commit remove some change for systemd/systemd-boot that are
not needed anymore and rework how we set the command line, as we
will need to have the command line argument of the kernel both
inside do_image_wic and in a future do_image_swu
2023-01-24 15:28:00 +01:00
Samuel Dolt e1b6c73137 feat(container): add coreos-container-image and coreos-container-package class 2023-01-03 11:33:03 +01:00
Samuel Dolt f83fa6725f fix(u-boot-coreos-efi): add missing depends on u-boot-tools 2022-12-14 13:41:49 +01:00
Samuel Dolt d1685d3068 refactor(container): rename the container image feature to podman 2022-12-02 14:23:22 +01:00
Samuel Dolt e9efb7027b feat(networkmanager): add networkmanager as an image feature 2022-12-02 14:23:22 +01:00
Samuel Dolt 1fe4a473b6 fix(coreos-generic-machine/vm.inc): generate wic.xz 2022-12-02 11:23:49 +01:00
Samuel Dolt 059464debf fix(bblayers): add missing layers dependancies
The layer.conf of meta-belden-coreos now depends on:
- meta-virtualization (needed for podman)
- meta-webserver (needed for cockpit)

The bblayers.conf.sample file now enable theses two layers and theirs dependancies
2022-12-01 15:57:34 +01:00
Samuel Dolt dbf83bcf33 Pull request #19: integration of container image and container runtime based on podman
Merge in ICO/coreos from feat/podman to master

* commit 'b7fd85c8b08b56700255071c3025d6a9c61995ec':
  chore(submodule): move meta-openembedded and meta-virtualization to bitbucket clone
  feat(container): add podman as container runtime
  meta-belden-bsp: add containers machine
2022-11-30 11:33:48 +01:00
Samuel Dolt a633344e1e feat(container): add podman as container runtime 2022-11-29 11:41:36 +01:00
Samuel Dolt 2557c4030f meta-belden-bsp: add containers machine 2022-11-29 11:40:52 +01:00
Samuel Dolt a094c751d6 fix(cn913x.inc): ensure flash-image.bin is generated for wic 2022-11-29 10:42:12 +01:00
Can Ercandogu 3f30c262d5 Pull request #17: Fix machine type typo
Merge in ICO/coreos from private/cxe12011/fix_machine_typo to master

* commit '24c5c9f308537a1feb1a823e5d1df468801d2b2a':
  Deleted the obsolete file
  Fix machine type typo
2022-11-29 07:51:31 +01:00
Can Ercandogu 24c5c9f308 Deleted the obsolete file 2022-11-28 17:34:22 +01:00
Can Ercandogu 08712c335b Fix machine type typo 2022-11-28 17:24:37 +01:00
Samuel Dolt 91d617cafb cn913x: enable UEFI boot 2022-11-24 15:37:07 +01:00
Patrick Vogelaar 85119d3ad1 Pull request #12: No ro FS for dev image and solidrun board improvements
Merge in ICO/coreos from feat/dev_image_improvements to master

* commit '412f3f3bb40d364624a85db267d092bdae4cea86':
  No ro FS for dev image and solidrun board improvements
2022-11-24 15:34:04 +01:00
Patrick Vogelaar 412f3f3bb4 No ro FS for dev image and solidrun board improvements
* dev image is now r/w which makes it easier to just try things out
* remove mount point from boot.src partition which causes it to not
  show in /etc/fstab. The presence of the entry caused boot problems.
2022-11-24 15:32:15 +01:00
Samuel Dolt 489a1a9764 Pull request #13: Add UEFI support
Merge in ICO/coreos from feat/uefi to master

* commit '25ac363358200694e85f9149f2480daec24c5377':
  documentation: fix typo
  meta-belden-coreos-bsp: add support for EFI and EFI Secure Boot
  coreos-doc: use python3-native instead of python3 from the host
  meta-belden-coreos-sanity: add some machine configuration checks
  meta-belden-coreos-bsp: add the beaglebone machine
  meta-belden-coreos-bsp: add beaglebone machine
  meta-belden-coreos-bsp: add layer
2022-11-18 09:24:11 +01:00
Samuel Dolt a3e168b217 meta-belden-coreos-bsp: add support for EFI and EFI Secure Boot 2022-11-09 15:35:15 +01:00
Patrick Vogelaar cbc5ba0cfd Update sanitychecker
* Update error text -> typo
* Add ubuntu 22.04 to the tested ditros
2022-11-09 06:52:49 +01:00
Patrick Vogelaar af70af4cd9 Pull request #10: Re-enable the read-only-rootfs
Merge in ICO/coreos from feat/reenable_ro_rootfs to master

* commit '128263b184370563a1b3ce422fd52871f7be434a':
  Re-enable the read-only-rootfs
2022-11-01 16:11:26 +01:00
Samuel Dolt 3b30978021 coreos-doc: use python3-native instead of python3 from the host
This fix the recipes by ihneriting the python3native class. DEPENDS
was also fix, as we need the native version of the needed package
and not the one from the target. It was previously only building
because bitbake use by default the host python3 and on my computer
I was having all the deps locally installed.
2022-10-31 08:56:13 +01:00
Samuel Dolt 8220408791 meta-belden-coreos-sanity: add some machine configuration checks 2022-10-31 08:55:14 +01:00
Samuel Dolt 8215d715df meta-belden-coreos-bsp: add the beaglebone machine 2022-10-31 08:55:14 +01:00
Samuel Dolt d564945da9 meta-belden-coreos-bsp: add beaglebone machine 2022-10-31 08:55:14 +01:00
Samuel Dolt 6c45058ef2 meta-belden-coreos-bsp: add layer 2022-10-31 08:55:09 +01:00
Patrick Vogelaar 128263b184 Re-enable the read-only-rootfs 2022-10-27 22:22:14 +02:00
Samuel Dolt a7438b518d meta-belden-coreos-bsp: add the pc-x64 machine 2022-10-27 20:07:50 +02:00
Samuel Dolt 11e8648ac9 meta-belden-coreos-bsp: add layer 2022-10-27 20:05:11 +02:00
Samuel Dolt e221f49cbf feat: allow CoreOS to be embedded in another repository 2022-10-26 14:16:34 +02:00
Patrick Vogelaar 33ec98c9b2 Pull request #6: Feat/marvell bsp
Merge in ICO/coreos from feat/marvell-bsp to master

* commit 'da856bdcd702efbf565381d4111803776ce69b1d':
  Add support for CN9130-CEX7
  feat: add meta-belden-marvell-bsp layer
2022-10-18 15:21:38 +02:00
Patrick Vogelaar da856bdcd7 Add support for CN9130-CEX7 2022-10-18 14:30:32 +02:00
Samuel Dolt 0b9a7d9c7e feat(coreos-sanity): add some checks to ensure that coreos policies are not overwritted 2022-10-13 15:26:57 +02:00
Samuel Dolt a6f33081eb fix(coreos-doc): remove the documentation folder if it already exist in DEPLOY_DIR 2022-10-13 15:19:47 +02:00
Samuel Dolt 8fb29094c9 feat: add meta-belden-marvell-bsp layer 2022-10-10 09:22:18 +02:00
Samuel Dolt fb4838e2b6 coreos-doc: recipe added 2022-10-05 12:07:04 +02:00
Samuel Dolt 614c12cdce feat(coros-image): add some basics image for coreos 2022-10-04 10:47:47 +02:00
Samuel Dolt 650d0f5949 feat(belden-coreos): add belden-coreos distro configuration 2022-09-29 16:53:43 +02:00
Samuel Dolt 7d5bd0b19a refactor(meta-belden-coreos): remove example recipes 2022-09-29 16:52:19 +02:00
Samuel Dolt 8c62fc5df9 feat: add a nodistro setup based on oe-core 2022-09-28 11:45:54 +02:00