-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add iPXE build with embedded placeholder script #267
Conversation
This builds iPXE with HTTPS enabled, and embedded placeholder script which is to be replaced with the real script during Sidero metal-controller-manager bootstrap. Signed-off-by: Andrey Smirnov <[email protected]>
/approve |
finalize: | ||
- from: /rootfs | ||
to: / | ||
# Generating .kpxe via zbin: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that some leftovers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, that is doc on how to generate .kpxe
..
so the thing is that we want to patch binary in place, but .kpxe
is lzma-compressed; so we generate uncompressed version, a tool to generate compressed version, and we patch uncompressed version and compress it on the fly; thsee are the steps to compress the uncompressed version to build final .kpxe
/lgtm |
Fixes siderolabs#227 See also siderolabs/pkgs#267 The rough idea is that iPXE binaries we're building contain placeholder script which is replaced on the fly with the actual script which depends on Sidero API endpoint. Patching is a bit tricky for `undionly.kpxe`, as it is compressed, so we patch uncompressed version and compress the final asset after that. Signed-off-by: Andrey Smirnov <[email protected]>
Fixes siderolabs#227 See also siderolabs/pkgs#267 The rough idea is that iPXE binaries we're building contain placeholder script which is replaced on the fly with the actual script which depends on Sidero API endpoint. Patching is a bit tricky for `undionly.kpxe`, as it is compressed, so we patch uncompressed version and compress the final asset after that. Signed-off-by: Andrey Smirnov <[email protected]>
Fixes siderolabs#227 See also siderolabs/pkgs#267 The rough idea is that iPXE binaries we're building contain placeholder script which is replaced on the fly with the actual script which depends on Sidero API endpoint. Patching is a bit tricky for `undionly.kpxe`, as it is compressed, so we patch uncompressed version and compress the final asset after that. Signed-off-by: Andrey Smirnov <[email protected]>
Fixes siderolabs#227 See also siderolabs/pkgs#267 The rough idea is that iPXE binaries we're building contain placeholder script which is replaced on the fly with the actual script which depends on Sidero API endpoint. Patching is a bit tricky for `undionly.kpxe`, as it is compressed, so we patch uncompressed version and compress the final asset after that. Signed-off-by: Andrey Smirnov <[email protected]>
Fixes #227 See also siderolabs/pkgs#267 The rough idea is that iPXE binaries we're building contain placeholder script which is replaced on the fly with the actual script which depends on Sidero API endpoint. Patching is a bit tricky for `undionly.kpxe`, as it is compressed, so we patch uncompressed version and compress the final asset after that. Signed-off-by: Andrey Smirnov <[email protected]>
This builds iPXE with HTTPS enabled, and embedded placeholder script
which is to be replaced with the real script during Sidero
metal-controller-manager bootstrap.
Signed-off-by: Andrey Smirnov [email protected]