DJ Lucas wrote: > jp wrote: >> After rendering, the md5sums of udev-config and lfs-bootscripts >> tarballs match those in the generated book, but both differ from >> what I can read here: >> http://www.linuxfromscratch.org/lfs/view/development/chapter03/packages.html >> >> As those files are supposed to be identical,
Actually, they aren't; see below. >> I wonder where the problem is: in my copy, or on the website ? > > Neither is a problem. They differ because the sums are dynamically > inserted into the book at render time, when the tarballs are > generated from current SVN source on your local system. The sums are dynamically inserted -- but (jp:) there are two reasons why the sums are different, both related to tar. First, tar inserts metadata into the tar file, including file mtimes and ownership. These will be different every time anyone checks out the book. These differences will create differences in the .tar.bz2 file, which will (obviously) create a different md5sum. Second, tar inserts the pathnames of the source files into the tar file, so depending on how the tarball is generated (...I believe stuff gets copied to another tree and that tree gets tarred up? been a while since I looked though), that may also cause differences. But as DJ said -- none of this is actually a problem. You can extract both tarballs (the one from the site, after verifying its md5sum, and the one that your book render built), and "diff -ur" them, if you want to see whether there are any differences.
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page