[ipxe-devel] gunzip downloaded image?

Jarrod Johnson jarrod.b.johnson at gmail.com
Wed Jul 11 18:01:21 UTC 2018


Thanks. Sorry for forking the thread, just wanted to put up why this weird
ask would be there.

Practically speaking, it's not enough to worry about yet, just wondering if
there happened to already be an answer for this.

On Tue, Jul 10, 2018 at 3:47 PM Geert Stappers <stappers at stappers.nl> wrote:

> 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
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180711/7b292c70/attachment.htm>


More information about the ipxe-devel mailing list