From 49b43a776853395ca9fa81cbc319c0c843c83116 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Jul 26 2024 14:13:49 +0000 Subject: [PATCH 1/2] Add .editorconfig file --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e9999df --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 From edd67ecc2210e9289b911ec435be3c1bd1626f41 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Jul 26 2024 14:14:01 +0000 Subject: [PATCH 2/2] systemd: Add section on testing upgrades from stock CentOS Stream --- diff --git a/docs/internal/systemd.md b/docs/internal/systemd.md index b8f6e41..c1cdc67 100644 --- a/docs/internal/systemd.md +++ b/docs/internal/systemd.md @@ -270,6 +270,22 @@ SELinux denials in the virtual machine. Now it's a matter of waiting and working with the policy maintainers to fix the denials, and backport the newer version of selinux-policy once it is released in Fedora Rawhide (see above steps). +## Testing upgrades from stock CentOS Stream with the systemd-releng repository + +To test upgrades from stock CentOS Stream to CentOS Stream + Hyperscale, you +can build and boot without the Hyperscale profile and then upgrade from within +the virtual machine: + +```shell +sudo mkosi -f qemu +dnf upgrade +``` + +The packages enabling the CentOS Hyperscale repositories are automatically +installed when building the image, so running `dnf upgrade` after booting is +sufficient to upgrade the system to CentOS Hyperscale. After upgrading, run +`journalctl -p warning` to see if anything went wrong during the upgrade. + # CBS Build Commands For CBS you will need to be [onboarded to the SIG](onboarding.md).