-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add script for building ipxe #351
Conversation
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.
It is considered a bad practice to conduct a build as root but as part of this script it would have to be conducted as root (otherwise the rest of the script doesn't work). Maybe it makes more sense to use sodo within the script as needed.
#make -j3 EMBED=../../boot.ipxe CROSS=aarch64-suse-linux- bin-arm64-efi/ipxe.efi | ||
|
||
# undionly / snponly uses the network driver of the PXE / UEFI stack | ||
make -j3 EMBED=../../boot.ipxe bin/undionly.kpxe bin-x86_64-efi/snponly.efi |
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 the build system broken or why are you limiting this to 3 cores? If it is broken it would make more sense to limit it to 1 core. Otherwise I'd leave it out and not override MAKEFLAGS.
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.
the netboot vm only has 2 cores
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.
Ah, so this is tailored to run in a specific VM.
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.
It is here to also serve as a documentation / quick way to setup ipxe or change the embedded boot.ipxe script.
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.
Despite the issue mentioned in the in-line comment good enough to merge.
Ticket: https://progress.opensuse.org/issues/155524