From: Etienne Lorrain <etienne_lorrain@yahoo.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] boot with Gujin: add script/{gzcopy.c,gzparam.c} to generate linux.kgz file format
Date: Fri, 6 Jan 2006 12:56:19 +0100 (CET) [thread overview]
Message-ID: <20060106115619.37841.qmail@web26913.mail.ukl.yahoo.com> (raw)
In-Reply-To: <20060105160244.5e9df486.akpm@osdl.org>
--- 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
prev parent reply other threads:[~2006-01-06 11:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 23:03 Etienne Lorrain
2006-01-06 0:02 ` Andrew Morton
2006-01-06 11:56 ` Etienne Lorrain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060106115619.37841.qmail@web26913.mail.ukl.yahoo.com \
--to=etienne_lorrain@yahoo.fr \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®