Commit Graph

323 Commits

Author SHA1 Message Date
Patrick Vogelaar 5b23df1199 feat(certificates-and-keys-native): add developer keys and certificates
The certificates and keys are stored in a repository and taken from there.
It is a neative repository that puts the keys into the sysroot where other
recipes can take them

All the key related scripts where deleted or put in the development-keys
repository.

Basic simplifications where done, there is yet still room for improvement.
2024-01-24 10:33:47 +01:00
Patrick Vogelaar b819d0746d Pull request #153: Add secure storage
Merge in ICO/coreos from add_secure_storage to master

* commit 'e4fd830aa81a042f51b1cf98cbd83cdeb60c1177':
  feat(secure-storage): add kernel config fragment for dm_crypt
  feat(secure-storage): add secure-storage as Coreos base feature
  feat(secure-storage): add secure-storage base functionality
  feat(userdata): add userdata partition
2024-01-17 12:08:29 +01:00
Patrick Vogelaar e4fd830aa8 feat(secure-storage): add kernel config fragment for dm_crypt 2024-01-15 22:44:26 +01:00
Patrick Vogelaar ac8f81d4a1 feat(secure-storage): add secure-storage as Coreos base feature
Now secure-storage is present on all CoreOS based images.
2024-01-15 22:44:26 +01:00
Patrick Vogelaar fd2a0835ac feat(secure-storage): add secure-storage base functionality
The secure-storage feature provides a encrypted filesystem to securely store
data in rest. It will be auto-mounted under /usr/local/data/secure-storage.
The loopbackfile will be stored under /usr/local/data/loopdevices.
The keyfile is located under /usr/local/data/.crypto.
2024-01-15 22:44:26 +01:00
Patrick Vogelaar 94c8692f43 feat(userdata): add userdata partition
The userdata partition is mounted under /usr/local/data. It is and will stay
read-write and its purpose is to store userdata like config, secure-storage.
2024-01-15 22:44:26 +01:00
Patrick Vogelaar 027ffafd72 Pull request #152: feat: set default time for initial startup
Merge in ICO/coreos from set_initial_time to master

* commit 'd37d5515f5b2d31b2875365dd724dd504e136a83':
  feat: set default time for initial startup
2024-01-11 14:56:46 +01:00
Patrick Vogelaar d37d5515f5 feat: set default time for initial startup
* all creation dates of the files are set to the 01.01. of the current year
* the file /usr/lib/clock-epoch is created. It is used by timedatectl to
  get the initial time and date (creation time of file).
* a sanity check was added to check if the hardcoded timestamp is outdated
2024-01-11 12:21:42 +01:00
Patrick Vogelaar 414496b7cb fix(qemu-coreos-arm64): rework UKI and SWU generation
Aadditional checks are added that make it unnecessary to use overrides for QEMU
2023-12-11 10:27:17 +01:00
Patrick Vogelaar c1eafd4289 fix(qemu-coreos-arm64): change QB_DRIVE_TYPE for hdd to sd 2023-12-11 08:22:36 +01:00
Patrick Vogelaar 8229cef5bb Pull request #142: Add uefi qemu and meta arm
Merge in ICO/coreos from add_uefi_qemu_and_meta_arm to master

* commit '5a4fa9e32e1ecbf1f15b005fac83792bb93dbd42':
  feat(qemu-coreos-arm64): add new uefi boot capable qemu machine
  refactor(trusted-firmware-a): switch to meta-arm trusted-firmware-a recipe
  feat(meta-arm): add meta-arm layer to CoreOS
  refactor(.submodules): change submodule names and unify
2023-12-06 10:53:48 +01:00
Patrick Vogelaar 5a4fa9e32e feat(qemu-coreos-arm64): add new uefi boot capable qemu machine
This new machine supports UEFI boot and also is capable of doing the complete
update procedure of efibootguard.
2023-12-06 10:36:57 +01:00
Patrick Vogelaar b786afc271 refactor(trusted-firmware-a): switch to meta-arm trusted-firmware-a recipe
When introducing CN913x devices by using the meta-belden-marvell-bsp layer
trusted-firmwarre-a recipe was copied from meta-arm and modified. Now the
original recipe is used from meta-arm and the changes were put into a
bbappend.

Also trusted-firmware-a version changed from 2.3 to 2.6.
2023-12-05 22:36:30 +01:00
Patrick Vogelaar 6cb0182491 feat(meta-arm): add meta-arm layer to CoreOS 2023-12-05 22:36:23 +01:00
Patrick Vogelaar 78487d86b6 refactor(.submodules): change submodule names and unify 2023-12-05 22:03:18 +01:00
Patrick Vogelaar e071b04038 fix(qemuall): fix broken build for qemu machine
The defaul qemu devices have not set efi as MACHINE_CONFIG which causes
the CoreOS build to fail because efi is required.
This change disables CoreOS sepcific features like swupdate for all
qemu MACHINES.
2023-11-21 16:53:36 +01:00
Holger Dihlmann 09ece07958 Pull request #132: feat(0001-refactor-cn913x-defconfig-cleanup.patch_and_cn913x_additions.cfg): remove mac80211, cfg80211 and qrtr from standard Linux kernel config.
Merge in ICO/coreos from feature/up/integration/meta-netmodule-wlan to master

* commit 'ecc4ca19f415616e101b65aca3e4bf137b5ae34c':
  refactor(0001-refactor-cn913x-defconfig-cleanup.patch): patch refactored. defconfig is properly generated using savedefconfig yocto task
  feat(0001-refactor-cn913x-defconfig-cleanup.patch_and_cn913x_additions.cfg): remove mac80211, cfg80211 and qrtr from standard Linux kernel config. Use the counterparts from meta-netmodule-wlan layer.
2023-11-16 14:41:41 +01:00
Dimitry Shapovalov ecc4ca19f4 refactor(0001-refactor-cn913x-defconfig-cleanup.patch): patch refactored. defconfig is properly generated using savedefconfig yocto task 2023-11-16 10:15:07 +01:00
Patrick Vogelaar 50381ef6ff Pull request #134: feat: add common developer keys for signed firmware
Merge in ICO/coreos from add_common_dev_key_handling to master

* commit 'f04afe073a7c5e15f9fad8ac81f2d8ef36aafee1':
  feat: add common developer keys for signed firmware
2023-11-08 16:09:11 +01:00
Patrick Vogelaar f04afe073a feat: add common developer keys for signed firmware
To make images compatible with each other for development a comon set of keys
will be used. The keys are located on k-stufen.

* add script to download and extract keys
* adjustments to coreos-init-build-env script
* adjustments to check_files_exist function
2023-11-08 15:33:04 +01:00
Holger Dihlmann a757360a2d feat(0001-refactor-cn913x-defconfig-cleanup.patch_and_cn913x_additions.cfg): remove mac80211, cfg80211 and qrtr from standard Linux kernel config. Use the counterparts from meta-netmodule-wlan layer. 2023-10-25 10:42:30 +02:00
Patrick Vogelaar ea134d867e Pull request #130: refactor(eagle40-03): rename MACHINE from eagle40_04 to eagle40-03
Merge in ICO/coreos from rename_eagle40_03 to master

* commit '3bf28622c1b2207e752b6e0b9725b4d27fa328a0':
  refactor(eagle40-03): rename MACHINE from eagle40_03 to eagle40-03
2023-10-25 10:34:28 +02:00
Patrick Vogelaar 3bf28622c1 refactor(eagle40-03): rename MACHINE from eagle40_03 to eagle40-03 2023-10-24 15:34:40 +02:00
Samuel Dolt 3eeedd8412 Pull request #129: feat(swupdate): add signature support
Merge in ICO/coreos from feat/signed-swu to master

* commit '27f3b6657a5aedfd76deedee568e480f9117bd47':
  feat(swupdate): add signature support
2023-10-16 14:09:10 +02:00
Patrick Vogelaar 9148fc12da Pull request #127: feat(eagle40_03): integrate EAGLE40-03
Merge in ICO/coreos from add_eagle40_03_board to master

* commit 'c17db5dbd5acc8853ced4e971334674c27e1bee1':
  feat(eagle40_03): integrate EAGLE40-03
2023-10-16 10:00:21 +02:00
Samuel Dolt 27f3b6657a feat(swupdate): add signature support
BREAKING CHANGE: Unsigned .swu file will now be rejected by swupdate
2023-10-16 09:42:59 +02:00
Samuel Dolt 00b61e52c6 Pull request #128: feat(vm-x64): add Microsoft Hyper-V support
Merge in ICO/coreos from feat/ms-hyperv to master

* commit '5e0d938b9c3729c49564818a6f0318a704026c48':
  feat(vm-x64): add Microsoft Hyper-V suport
2023-10-13 14:15:38 +02:00
Samuel Dolt 5e0d938b9c feat(vm-x64): add Microsoft Hyper-V suport 2023-10-13 12:04:13 +02:00
Patrick Vogelaar c17db5dbd5 feat(eagle40_03): integrate EAGLE40-03
* add basic config for EAGLE40.03
* purely based on uefi -> no uboot

NOTE: The board only boots so far. No in depth testing has been done yet.
2023-10-13 11:56:51 +02:00
Patrick Vogelaar 8703fd2efd Pull request #126: refactor(partitions.inc): use variable for kernel in wks file
Merge in ICO/coreos from add_variable_for_kernel_in_wks_file to master

* commit 'afa1a784c1637ad2965f93061794f10577e992a2':
  refactor(partitions.inc): use variable for kernel in wks file
2023-10-04 15:13:10 +02:00
Patrick Vogelaar afa1a784c1 refactor(partitions.inc): use variable for kernel in wks file 2023-09-27 22:47:23 +02:00
Uli Stein f0e6da1c10 Pull request #125: Feature/k3s
Merge in ICO/coreos from feature/k3s to master

* commit 'af33b55ec07b3d78cd5e2e2ea2e677b226a441a3':
  feat(k3s): image that installs the k3s-agent
  feat(linux-yocto_5.15): add kernel config for k3s
2023-09-15 14:38:18 +02:00
Uli Stein af33b55ec0 feat(k3s): image that installs the k3s-agent
the changed image is
layers/meta-belden-coreos-demo/recipes-core/image/cores-image-demo-k3s
k3s is a orchestration tool and a slimed down version of kubernetes
k3s agent is a tool to control pods
the commands come a k3s server in a cluster
2023-09-15 11:46:10 +02:00
Uli Stein 77a25e9c7b feat(linux-yocto_5.15): add kernel config for k3s
disable oabi compatibility it to solve seccomp conflict
enable seccomp filter
secccomp filter is needed for k3s to pawn pods
2023-09-15 11:46:10 +02:00
Samuel Dolt 99b84ba10c Pull request #124: docs(secure-boot): add a secure boot concept to the doc
Merge in ICO/coreos from docs/secure-boot to master

* commit 'e89a0c5195e9e2dc86eda1a44820e1709950183c':
  docs(secure-boot): add a secure boot concept to the doc
2023-08-25 16:04:38 +02:00
Samuel Dolt e89a0c5195 docs(secure-boot): add a secure boot concept to the doc 2023-08-18 16:40:15 +02:00
Samuel Dolt db27468370 Pull request #123: docs(bats): add info on how to use bats
Merge in ICO/coreos from docs/bats to master

* commit '9337a5d7d2b4c1bc3fbe222eb2cdf6a97f22d5df':
  docs(bats): add info on how to use bats
2023-08-18 11:21:02 +02:00
Samuel Dolt 9337a5d7d2 docs(bats): add info on how to use bats 2023-08-18 10:32:22 +02:00
Samuel Dolt 91cff2b07a Pull request #122: feat(bats): upgrade bats to 1.10
Merge in ICO/coreos from feat/bats to master

* commit '53b2d1e3ee3e9d8d15407221353e4445d2f25287':
  feat(bats): upgrade bats to 1.10
2023-08-17 14:47:15 +02:00
Samuel Dolt 53b2d1e3ee feat(bats): upgrade bats to 1.10
Common library bats-assert, bats-file and bats-support are
now available as well
2023-08-16 14:45:33 +02:00
Samuel Dolt 2b3406e5b5 Pull request #118: feat(belden-coreos): reworked distro settings
Merge in ICO/coreos from feat/distro-rework to master

* commit '0d5e631162d90ab724fd1f03ec294fd171cac3cf':
  feat(belden-coreos): reworked distro settings
2023-08-14 10:22:06 +02:00
Patrick Vogelaar fdd1f19102 Pull request #116: Automated submodule update
Merge in ICO/coreos from update_subomdules_2023-08-07_13-04 to master

* commit '1af92365f1529824940df6935f4c05d65a298e03':
  fix(3rd-party): automatic update of CoreOS submodules
2023-08-08 07:19:29 +02:00
Samuel Dolt 0d5e631162 feat(belden-coreos): reworked distro settings
Now the distro settings is splitted into two config smaller config
file. PACKAGECONFIG for the system package is set to include a
reduced set of features by default.

Some EFI related feature are now dependant of the EFI DISTRO_
and MACHINE_FEATURES.
2023-08-07 15:32:53 +02:00
Patrick Vogelaar 1af92365f1 fix(3rd-party): automatic update of CoreOS submodules 2023-08-07 13:04:18 +00:00
Patrick Vogelaar ed7ae90d86 Pull request #110: fix(u-boot-tools): add uboot-efivar fot FILES
Merge in ICO/coreos from fix_populate_sdk_build to master

* commit '18d38f9010f7e973246cfef9d36c2b0637ba8f8a':
  fix(u-boot-tools): add uboot-efivar fot FILES
2023-08-02 13:40:43 +02:00
Samuel Dolt 0f498e388e Pull request #112: fix(coreos-keygen): add error-handling
Merge in ICO/coreos from fix/generate-keys to master

* commit '2416462807dc6da18da2847b887f76d16a1797fe':
  fix(coreos-keygen): add error-handling
2023-08-02 11:33:26 +02:00
Samuel Dolt 2416462807 fix(coreos-keygen): add error-handling
Now the coreos-keygen report on stderr if a needed tools is missing
and can generate only the missing keys if not all the keys are
present
2023-07-28 11:21:30 +02:00
Patrick Vogelaar 81434b7790 Pull request #111: Automated submodule update
Merge in ICO/coreos from update_subomdules_2023-07-26_14-19 to master

* commit 'cd2e89697943020b9f7f87218fa4fb6de53c280b':
  fix(3rd-party): automatic update of CoreOS submodules
2023-07-26 20:53:01 +02:00
Patrick Vogelaar cd2e896979 fix(3rd-party): automatic update of CoreOS submodules 2023-07-26 14:19:07 +00:00
Patrick Vogelaar 18d38f9010 fix(u-boot-tools): add uboot-efivar fot FILES
Without this fix the build breaks for -c populate_sdk.
2023-07-26 14:56:28 +02:00