mirror of
https://github.com/lukaszraczylo/talos-builder.git
synced 2026-06-05 23:03:36 +00:00
d2bc31b563
- Set the TALOS_VERSION to v1.10.4. - Added a .gitignore to avoid committing checkouts/. - Started a manual for upgrading the Talos version.
1.7 KiB
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.
- Make sure you're starting from a clean slate
make clean
- 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
- Clone all checkouts
make checkouts
- Update patches as outlined bellow
- Commit and push changes
git commit -am 'Talos upgrade to vX.XX.X'
git push
- 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.
- Try to apply the patches. If there are errors proceed to step 2, if not no further changes are needed.
make patches-pkgs
- 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