Skip to contentSkip to conversation

isar-cip-core v1.4

ANNOUNCE Jan Kiszka 1 participant 1 message Jun 24, 2024

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

A new release of isar-cip-core is available.

133 changeset, 10 contributors, 12 files changed, 2679 insertions(+), 820 deletions(-), these are the stats of release 1.4. This is clearly larger than the last one because we are exceptionally late with v1.4. Originally planned was spring, now it's summer, but there were good reasons to wait for the dust of isar and our own one to settle.

This release brings pre-integration of delta updates, see doc/README.swupdate.md for more details. There are many more changes to SWUpdate support, e.g. empty /var on first boot or a fix to work with the immutable dpkg database in read-only mode. Support for rootfs encryption, and you can switch more easily between the different encryption helpers, systemd and clevis. If you want secure boot with TPM-based disk encyrption, this is now officially available for a generic x86 target image. Last but not least: Our CI pipeline now performs an automated test of SWUpdate, including certain update errors. This shall help to keep the integration quality up. Find the full list of changes below - I'm almost sure I missed some important highlight.

Thanks a lot to all the contributors - and sorry for the late release!

Jan

Adithya Balakumar (8):
swupdate-handler-roundrobin: Increase revision for Delta Handler support
swupdate.bbclass: Fix setting reproducible timestamps for files in .swu file
Add Delta update support with rdiff_image and delta handler
swupdate.bbclass: Generate swu for delta updates
doc/README.swupdate.md: Update steps to test Delta software Update
Kconfig: Add delta update option
.gitlab-ci.yml: Build for delta update when build_swu_v2 is enabled
doc/README.swupdate.md: Minor updates to verification steps and additional information on usage of zchunk handler

Cedric Hombourger (1):
recipes-devtools: use DPKG_ARCH=all for arch-independent packages

Felix Moessbauer (8):
refactor: use change-dir to split rootfs parts update ISAR to latest next for dh-compat improvements swupdate images: initially deploy empty var part copy and symlink dpkg db to ro-rootfs
swupdate: use to_boolean to compare boolean variables create audit log folder with tmpfiles.d fix(sid): copy immutable dpkg db
use ISAR snapshot infrastructure for sid

Jan Kiszka (45):
swupdate: Use prebuilt version on sid
ci: Reorder rules to ensure they are all evaluated
linux-cip: Update to 4.19.306-cip107
linux-cip: Update to 4.19.306-cip107-rt35 and 6.1.80-cip16[-rt9]
Switch sid-based riscv64 back to a snapshot
Update Isar to release 0.10
linux-cip: Update cip-kernel-config
Update to kas 4.3.1
linux-cip: Update to 4.4.302-cip85[-rt48] and 5.10.212-cip45
linux-cip: Update to 4.19.310-cip108, 5.10.214-cip46, 6.1.83-cip18[-rt10] swupdate-handler-roundrobin: Silence fetcher warnings with different SWUPDATE_BOOTLOADER Switch to snapshot.d.o for ovmf from buster-backports
linux-cip: Update to 4.4.302-cip86, 5.10.214-cip46-rt19, 6.1.86-cip19
dosfstools: Use BPN instead of PN
linux-cip: Update to 4.19.312-cip109, 6.1.90-cip20[-rt11]
linux-cip: Update to 4.4.302-cip87 and 5.10.216-cip47
Update ISAR to latest version
Enable APT snapshot for reproducible builds
ci: Append reproducible.yml unconditionally
ci: Require qemu-riscv64 sid target to succeed
Refactor tar.gz image option
kconfig: Express dependencies on SWUpdate
linux-cip: Update to 4.4.302-cip87-rt49
deploy-ovmf: Avoid blank in network varflag
shtab: Align recipe name with source name
ci: Drop obsolete setting from reproducible-check
cip-core-images: Make ISAR_RELEASE_CMD available to them all
linux-cip: Switch x86 targets to new cip_merged_defconfig
Generalize SIMATIC IPC227E configuration to a common x86 UEFI target
linux-cip: Update to 4.19.312-cip109-rt36 and 6.1.91-cip21
linux-cip: Derive PREFERRED_VERSION for native and kbuildtarget from base target Update isar revision
linux-cip: Bump cip-kernel-config revision
linux-cip: Ensure rebuild after changing SRCREV_cip-kernel-config
linux-cip: Update to 4.19.315-cip110, 5.10.218-cip49[-rt20] and 6.1.92-cip22[-rt12]
Kconfig: Fix and update security extension option
ci: Only test stage when build stage ran as well
Bump Isar revision
linux-cip: Update to 4.4.302-cip88
scripts: Address shellcheck warnings in submit_lava.sh
Add missing wic file for x86-uefi secureboot case
ci: Use small runner for CVE check
Kconfig: Make EFI Boot Guard watchdog configurable
linux-cip: Update to 6.1.94-cip23
linux-cip: Update cip-kernel-config revision

Quirin Gylstorff (56):
Update certificates for sid
swupdate delete unused patch
add SWUpdate 2022.12
build swupdate 2022.12 for qemu-amd64-secure-boot-bullseye swupdate.bbclass: add scripts section to the swu file
swupdate-config: move swupdate.cfg from customizations to own recipe
swupdate: set SWU_HW_COMPAT
swupdate.bbclass: weak default assignment for SWU_HW_COMPAT doc/README.swupdate.md: Add documentation for hardware compatibility
swupdate: check output of sign-swu
sign-swu-cms: check if key and cert are valid
doc: Add section about SWUpdate signing to README.swupdate.md
fix do not add files to each image recipe
format: classes/efibootguard fix spacing
format: classes/swupdate fix parenthesis swupdate-handler-roundrobin: Add link for handler search path
swupdate: Add recipe for 2023.12.1
conf/distro/cip-core-*: prefer swupdate 2023.12 for all distro except buster remove SWUpdate recipe 2023.05
layer.conf: Move SOURCE_EPOCH to kas-cip.yml
initramfs-crypt-hook: Allow switching between clevis and systemd
initramfs-crypt-hook: Align systemd encryption and clevis encryption
initramfs-crypt-hook: move the mounting of encrypted disks in a seperate function
initramfs-crypt-hook: Check if the TPM device fulfills the given requirements
initramfs-crypt-hook: add flag to make encryption optional
initramfs-crypt-hook: add e2fsck to avoid resize error
initramfs-crypt-hook: split encryption and mounting
initramfs-crypt-hook: Add check if root is part of the mountpoints
initramfs-crypt-hook: split hook in multiple files
initramfs-crypt-hook: Consolidate clevis and systemd scripts
initramfs-crypt-hook: Increase version
README.tpm2.encryption: Add section to switch from clevis to systemd
fix: swupdate_2021.11 with efibootguard
fix: disk formatting
wic/*: Add part-labels to system partition
initramfs: allow empty mountpoint for crypt hooks
initramfs-crypt: Only resize partition if ext* formatted
fix: use luks2 to identify encrypted partition
Rename encrypt-partitions to encrypt-data
Kconfig: Add option to encrypt the rootfs
crypt-hook: Extend partition selection
README: Add rootfs encryption
README.swupdate: Add section about partition selection
fix: Remove spurious '-'
initramfs-crypt-hook: cleanup logging
fix: Add missing mountpoint to crypthook
encrypt_partition.clevis: select tpm2_device for encryptition Enable secureboot and tpm2 encryption for generic x86
Add fail2ban-config
Remove tpm2-abrmd
wic/ebg*sysparts.inc: increase the size of the boot partitions wic/plugins/efibootguard*: Take --size and --fixed-size into account encrypt partition: Add support for swap partition
swupdate: fix reboot progress with wfx
encryption: assume broken_system_clock for e2fsck before resize
doc: Add section howto generate the a efi auth file from snakeoil certs

Sai Sathujoda (2):
deploy-cip-core.sh: Deploy .swu only if "swu" is passed from .gitlab-ci.yml .gitlab-ci.yml: Add condition check in .build_base to build v2 image

Shivanand Kunijadar (1):
doc/README.secureboot.md: Fix incorrect secure boot user generated keys path

Srinuvasan A (1):
recipes-initramfs/initramfs-crypt-hook: remove unwanted directory

Tobias Schaffner (1):
swupdate_2021.11: Backport raw handler unmount fix

sai ashrith sathujoda (10):
tests/templates: Include functionality based templates submit_lava.sh: Add script to submit the jobs prepared from templates .gitlab-ci.yml: Add test targets specific for CIP core functionalities doc/README.lava-testing.md: Add README to explain CIP Core testing
tests: Modify the replacable strings and increase timeouts in the templates submit_lava.sh: Modify the script to handle only one job at a time .gitlab-ci.yml: Break current test jobs to run one LAVA job per Gitlab job templates/swupdate_template.yml: Fail the job immediately after unexpected outcome submit_lava.sh: Rectify the ustate value in case of a rollback scenario .gitlab-ci.yml: Add relevant qemu target in 'needs' for test targets