Commit Graph

147 Commits

Author SHA1 Message Date
Patrick Vogelaar bf28dfe7b2 feat(multiconfig): use multiconfig for building containers 2023-03-03 10:09:42 +01:00
Samuel Dolt 06081b8151 Pull request #56: feat(coreos-emmc-flasher): beaglebone support
Merge in ICO/coreos from feat/emmc-flasher-poc to master

* commit '367814e94c29b4a3a2e344343f1d35fb89993052':
  feat(coreos-emmc-flasher): beaglebone support
2023-02-22 15:06:57 +01:00
Samuel Dolt 367814e94c feat(coreos-emmc-flasher): beaglebone support
This introduce a new coreos-emmc-flasher-beaglebone
recipe that create a SWU file that can be used to
create the partition in the internal emmc of a beaglebone
and flash both u-boot and efibootguard.

Support for create efibootguard configuration partition
and flashing kernel and rootfs is not included.
2023-02-22 14:23:46 +01:00
Darko Trogrlic 395132c436 Pull request #55: docs: adding warning to keep the source code in separate repo
Merge in ICO/coreos from cmakedemo_docs_warning to master

* commit 'b89f4fe00d3646bddd4a0b466a75d1f3a06644b1':
  docs: adding warning to keep the source code in separate repo
2023-02-20 08:56:09 +01:00
Darko Trogrlic 5706802e31 Pull request #54: feat: cmake demo is added to demo image recipe
Merge in ICO/coreos from demoimage_recipe_add_cmakedemo to master

* commit '672bd633295c6490f7919698b847ed4eb63b9389':
  feat: cmake demo is added to demo image recipe
2023-02-20 08:27:37 +01:00
Darko Trogrlic b89f4fe00d docs: adding warning to keep the source code in separate repo 2023-02-17 11:51:53 +01:00
Darko Trogrlic 672bd63329 feat: cmake demo is added to demo image recipe 2023-02-17 11:22:16 +01:00
Patrick Vogelaar 6541ac3edc Pull request #52: feat(systemd-service-demo):Add a systemd demo
Merge in ICO/coreos from feat/add_systemd_services_demo to master

* commit '558096e26496247d978c36b5b3cd1712255131f1':
  feat(systemd-service-demo):Add a systemd demo
  refactor(coreos-images): rename coreos-image-demo -> coreos-image-all-features
2023-02-10 22:29:07 +01:00
Patrick Vogelaar 558096e264 feat(systemd-service-demo):Add a systemd demo
The demo includes following features:
* notifications (ready and status)
* dependencies between services (strong and week)
2023-02-10 15:43:22 +01:00
Patrick Vogelaar b0747d657d 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
2023-02-10 15:43:22 +01:00
Darko Trogrlic fb1bea9d80 Pull request #53: docs: update link in the documentation
Merge in ICO/coreos from cmake_demo_link to master

* commit 'cd25c79db781321b43aa3fedb47b0d7fa271c6ac':
  docs: update link in the documentation
2023-02-09 13:49:43 +01:00
Darko Trogrlic cd25c79db7 docs: update link in the documentation 2023-02-09 12:01:09 +01:00
Darko Trogrlic 8e8b04d980 Pull request #40: docs: editing documentation
Merge in ICO/coreos from doc_demo_cmake to master

* commit '7083172bc9c98353ea72d22ce6f71cc2ba02041a':
  docs(best_practices): add information about the packaging of a cmake project
2023-02-08 16:05:03 +01:00
Darko Trogrlic 7083172bc9 docs(best_practices): add information about the packaging of a cmake project 2023-02-08 15:40:53 +01:00
Samuel Dolt 81938bd53f Pull request #49: chore(coreos-device): better error handling
Merge in ICO/coreos from chore/coreos-device-error-handling to master

* commit '61781d6cd5142e22e32d084ba36cf41f3f803428':
  chore(coreos-device): better error handling
2023-02-07 13:17:27 +01:00
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 61781d6cd5 chore(coreos-device): better error handling 2023-02-06 11:14:44 +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 55c6fcddde Pull request #45: Fix/container machine
Merge in ICO/coreos from fix/container-machine to master

* commit '342f288d041050a84ecfa14bcc2c720f642f173d':
  chore(container): remove the container machine overrides
  fix(container): fix build failure with container machines with coreos-image class
2023-02-03 10:32:57 +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
Darko Trogrlic d2681f8f7a Pull request #42: fix(swupdate): re-adding swupdate and .swu image generation
Merge in ICO/coreos from adding_swupdate to master

* commit '5f658cf199c081bf52306bb4a8ee520f4b729d5e':
  fix(swupdate): re-adding swupdate and .swu image generation
2023-01-30 16:19:05 +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
Samuel Dolt de94a4711f Pull request #37: feat(coreos-image-testable): add an image to be used in the CI
Merge in ICO/coreos from feat/ci-image to master

* commit 'f0f662b494d1a437b658023b4bef43854ab544e3':
  feat(coreos-image-testable): add an image to be used in the CI
2023-01-30 11:10:45 +01:00
Darko Trogrlic 04547f3876 Merge branch 'doc_demo_cmake_yocto' of ssh://bitbucket.gad.local:7999/ico/coreos into doc_demo_cmake_yocto 2023-01-27 16:44:17 +01:00
Darko Trogrlic 23169c0e74 docs: removing from cmake-demo from image recipe 2023-01-27 16:42:15 +01:00