Question about building iPXE with named configuration
|
2018-08-16, 20:01
(This post was last modified: 2018-08-16 21:40 by NiKiZe.)
Post: #4
|
|||
|
|||
RE: Question about building iPXE with named configuration
(2018-08-16 19:19)pxe_curious Wrote: Does the content of the local file supersede the content of the other files?Your local file is loaded after the general one, just as described on the named_configs page, you can also read the includes in the existing files. I would recommend to only add what you need in your local/*.h For example if the only thing I want to change is to have HTTPS enabled then my local/general.h would only have Code: #define DOWNLOAD_PROTO_HTTPS (2018-08-16 19:19)pxe_curious Wrote: For both PCBIOS and EFI I edit the console.h file and uncomment the #define CONSOLE_FRAMEBUFFER line so that I can use the console command.So that goes into config/local/general.h regardless since it is common for your builds. (2018-08-16 19:19)pxe_curious Wrote: In the general.h file I have been making the following changes: DOWNLOAD_PROTO_NFS works for both, don't enable until you need to use it, and it is seemed as insecure so not allowed for signed EFI binaries. (which is one reason to avoid it for now) HTTP_AUTH_* Do you need to disable them for any particular reason? No wireless devices is pulled in by unidonly or snponly builds - so no need to disable any of that since it isn't included anyway. If you are using Comboot.. then that needs some special handling. Again, are commands in the way and causing you issues? What are you using PXE_CMD for (which is the undocumented "startpxe" and "stoppxe")? PING and CONSOLE, yup nice to have, common for both EFI and PCBIOS so goes into common one. The reason for not changing anything unless you "have to" is that you might break something. So again only change a setting if you get errors without changing it. After this I think you end up with only needing special case for COMBOOT one way to do this is to use something like Code: #ifdef CONSOLE_PCBIOS and since our local/*.h files are pulled in after anything else and can override those settings, we can also use those settings to define different behavior. By checking the last 6 or so lines of general.h you can see how the order of includes are generally done. Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Question about building iPXE with named configuration - pxe_curious - 2018-08-16, 15:36
RE: Question about building iPXE with named configuration - NiKiZe - 2018-08-16, 17:55
RE: Question about building iPXE with named configuration - pxe_curious - 2018-08-16, 19:19
RE: Question about building iPXE with named configuration - NiKiZe - 2018-08-16 20:01
RE: Question about building iPXE with named configuration - pxe_curious - 2018-08-16, 21:39
RE: Question about building iPXE with named configuration - NiKiZe - 2018-08-16, 21:41
RE: Question about building iPXE with named configuration - pxe_curious - 2018-08-16, 22:32
|
User(s) browsing this thread: 2 Guest(s)