lkml.org 
[lkml]   [2006]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] boot with Gujin: add script/{gzcopy.c,gzparam.c} to generate linux.kgz file format
--- Andrew Morton <akpm@osdl.org> wrote:
> Etienne Lorrain <etienne_lorrain@yahoo.fr> wrote:
> >
> > So this patch create a file script/gzcopy.c and Makefile
> > rules to produce script/gzcopy which can be use to view,
> > change (set/append/prepend) comment to GZIP files.
> > ...
> > This patch also contains the simple script/gzparam.c file
> > and its Makefile rules - that is a simple standalone
> > program to display a text line on stdout containing the
> > base pattern to generate the GZIP comment itself for
> > this configured kernel.
>
> Those sound like things which should be distributed in
> the gzip package, not in the kernel source tree?

The file script/gzparam.c is only related to GZIP by the
fact that the text line printed on stdout will be inserted
into the linux.kgz file as a GZIP comment, it has nothing to
do with the GZIP format itself.
If you make and execute this gzparam manually, you will
see a line (depending on .config) printed on stdout like:
min_gujin_version=0x102 maskcpu=0x800000F0 maskDflags=0x021 \
loadadr=0x100000 maskvesa=0x...
gzparam means: kernel parameters to be inserted in the
comment line of the GZIP kernel file - to get a linux.kgz

The file script/gzcopy.c would be better distributed in a
GZIP package if there was one such package and everybody
upgrades this package before trying to compile the kernel.
But that file can also be considered as a better way than
using a script with sed/awk/cut/cat - its basic use is a
single string manipulation (initialise and concatenate
text strings - and insert it in a file at a defined offset).
This utility is not made to evolve at all, and is so simple
it does not worth bothering - a bit like:
Linux/arch/i386/boot/tools/build.c .
Note that I also send a message to jloup at the GZIP
homepage, but I am not sure I want to add another dependency
on GZIP package to build the kernel.

Etienne.







___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-06 12:58    [W:0.032 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site