open-power / petitboot

GNU General Public License v2.0
210 stars 56 forks source link

Filter out/disable unsupported boot options (e.g. x86 kernels on ppc) #30

Open ghost opened 7 years ago

ghost commented 7 years ago

A suggestion from a group that's been using some OpenPOWER machines: it'd be neat if network boot options that were x86 kernels didn't show up/showed up disabled on the OpenPOWER machines.

sammj commented 7 years ago

It's a good idea but we'll have to have a think about how we identify x86 kernels, especially from network boot options. Petitboot doesn't actually download anything until boot starts, which would limit us to figuring it out from the name. For local options we could probably check that it looks like a valid ELF file.