[ipxe-devel] gunzip downloaded image?
Geert Stappers
stappers at stappers.nl
Tue Jul 10 19:47:23 UTC 2018
On Tue, Jul 10, 2018 at 03:29:12PM -0400, Jarrod Johnson wrote:
> On Mon, Jun 18, 2018 at 4:15 PM Geert Stappers <stappers at stappers.nl> wrote:
> > On Mon, Jun 18, 2018 at 04:01:44PM -0400, Jarrod Johnson wrote:
> > > So grub can boot a gzipped kernel, I was wondering if there's a syntax
> > > I'm missing to acheive the same end in ipxe?
> >
> > Please elaborate what you want to achieve.
> >
>
> At least in the ARM64 distribution that I was dealing with, the kernel is
> gzipped. So doing an exec of an ARM64 as an EFI stub didn't work unless I
> gunzipped the kernel ahead of time.
>
> Contrast with x86_64, where the compressed kernel has EFI stub intact.
>
> I'm presuming grub transparently gunzips the arm kernels and that's why
> they don't bother making the compressed kernel efi stub...
>
> Someone can let me know if I'm missing something, but gunzip leads to efi
> stub working with ipxe, but obviously the download size impact is not
> desirable...
>
On Mon, Jun 18, 2018 at 09:32:58PM +0100, Michael Brown wrote:
> On 18/06/18 21:01, Jarrod Johnson wrote:
> > So grub can boot a gzipped kernel, I was wondering if there's a syntax
> > I'm missing to acheive the same end in ipxe?
>
> There's no support for gunzipping a downloaded image, sorry. We do have
> code for the underlying decompression algorithm (used in e.g. PNG image
> support), so a large part of the potential coding work is already done.
>
> Michael
Groeten
Geert Stappers
--
Leven en laten leven
More information about the ipxe-devel
mailing list