Created
August 16, 2023 08:48
-
-
Save kvaps/2c71dae224b3f3c37efd324c46c917c8 to your computer and use it in GitHub Desktop.
How to build talos with custom kernel extensions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builds pkg | |
cd ./pkgs | |
make USERNAME=kvaps/talos PLATFORM=linux/amd64 PUSH=1 | |
# Builds extensions with specific PKGS | |
cd ./extensions | |
make installer USERNAME=kvaps/talos PLATFORM=linux/amd64 PUSH=1 PKGS=v1.4.1-14-ge911ac5-dirty | |
# Builds talos (clean) | |
cd ./talos | |
make installer imager USERNAME=kvaps/talos PLATFORM=linux/amd64 PUSH=1 | |
# Builds talos (with clustom pkgs) | |
cd ./talos | |
sed -i 's|ghcr.io/siderolabs|ghcr.io/kvaps/talos|g' Dockerfile | |
make installer imager USERNAME=kvaps/talos PLATFORM=linux/amd64 PUSH=1 PKGS=v1.4.1-14-ge911ac5-dirty | |
# Get final talos image out of imager | |
docker run --privileged -v /dev:/dev --rm -i <imager> image --platform=nocloud --arch amd64 --tar-to-stdout > 1.tgz | |
tar xvf 1.tgs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment