Files
talos-builder/UPGRADING.md
T
Patrick Hunziker d2bc31b563 Talos upgrade to v1.10.4
- Set the TALOS_VERSION to v1.10.4.
 - Added a .gitignore to avoid committing checkouts/.
 - Started a manual for upgrading the Talos version.
2025-06-30 12:14:27 +02:00

1.7 KiB

Upgrading Talos

When a new version of Talos is released it may be necessary to adjust the patches we are applying to the upstream repositories.

  1. Make sure you're starting from a clean slate
make clean
  1. Update the versions in the Makefile with the latest tag available in siderolabs repositories.
PKG_VERSION = vX.XX.X   <-- siderolabs/pkgs
TALOS_VERSION = vX.XX.X <-- siderolabs/talos
  1. Clone all checkouts
make checkouts
  1. Update patches as outlined bellow
  2. Commit and push changes
git commit -am 'Talos upgrade to vX.XX.X'
git push
  1. Create new tag
git tag vX.XX.X-rpi5
git push origin vX.XX.X-rpi5

Pkgs

The siderolabs/pkgs repository produces a set of packages which is used to build the rootfs. We are concerned about customizing the Kernel package, by using the the raspberrypi/linux kernel .

TBD: Will be added next time the pkgs repository is updated

Talos

The siderolabs/talos repository is where packages and Talos come together. We'll need to customise the list of available kernel modules to be copied in to the initramfs.

  1. Try to apply the patches. If there are errors proceed to step 2, if not no further changes are needed.
make patches-pkgs
  1. Manually add the required changes, commit and regenerate the patch. Essentially the hack/modules-arm64.txt file needs to be overwritten with the one appropriate for the kernel build.
cd cd checkouts/talos
cp <updated modules-arm64.txt> hack/modules-arm64.txt
git commit -am '[PATCH] Patched for Raspberry Pi 5'
git format-patch --output-directory "../../patches/siderolabs/talos" HEAD~1