Messages in this thread | | | Date | Wed, 23 Oct 2013 09:59:18 -0700 | From | Guenter Roeck <> | Subject | Re: [PATCH 1/1] x86: boot: support minigzip bzImage compression |
| |
On Wed, Oct 23, 2013 at 04:47:38PM +0000, Boie, Andrew P wrote: > > From: Guenter Roeck [linux@roeck-us.net] > > Or just change the build system to have /bin/gzip point to minigzip if so > > desired. I have done the same to replace it with pigz. > > Debian/Ubuntu provides the update-alternatives command for that > > purpose. If that is not available, just hard-link it. > > Android minigzip and gzip unfortunately don't have the same command line syntax. Before I wrote this patch I had a horrible hack in place involving a shell script named "gzip" that called minigzip internally. > Why is that a horrible hack ? I think it is better than clogging kernel makefiles with that kind of tools detail. Actually, you have (at least) three other options: fix/update gzip, update minigzip to match the gzip cli, or use a script to map one to the other.
Guenter
| |