[Clfs-dev] [PATCH] md5sum checksum improvement
Cheng Renquan
crquan at gmail.com
Wed Jul 15 21:02:21 PDT 2009
On Thu, Jul 16, 2009 at 11:49 AM, Joe Ciccone<jciccone at gmail.com> wrote:
> Cheng Renquan wrote:
>> The md5sums of every packages and patches are already recorded in the BOOK,
>> but they have few opportunies to be checked,
>>
>> Here is a new stylesheet md5sum.xsl, to parse md5sum values of every packages
>> and patches from the BOOK and output a md5sum recognizable file, so after we
>> downloaded all packages and patches, we can just check them.
>>
>> This is a very preliminary idea, and need more work to integrate into the
>> BOOK Makefile, and here is the usage to produce a mips64.md5sum:
>>
>> $ xsltproc --xinclude --nonet --output mips64.md5sum \
>> stylesheets/md5sum.xsl materials/mips64-chapter.xml
>>
>> Using this, I found the error in the previous eglibc-ports-md5sum fix patch.
>>
> Very useful, I will look into getting this added this weekend. Possibly
> even having it compare after it generates the list would be easy enough
> to do. The Makefile for the book needs to be completely re-written
> anyway. Now is as good of a time as any.
May I can help or take part into the re-written, could you talk more
on the goals to re-write?
I think this checking could be added into Makefile,
$ xsltproc --xinclude --nonet --output path/to/sources/mips64.md5sum \
stylesheets/md5sum.xsl materials/${ARCH}-chapter.xml
$ cd path/to/sources/
$ md5sum -c ${ARCH}.md5sum
BTW, You seem to forget "reply to all", I re-added them all.
Cheers,
--
Cheng Renquan (程任全), from Shenzhen, China
More information about the Clfs-dev
mailing list