This was discussed on this list once before, though I can't seem to find
the thread to see what became of it. But since I was thinking of it I
thought I would bring it up again.

Basically this involves adding a few new elements to the profile. 
In a nutshell a new block like this would be added to each package:
<stage name="Downloading"> (Maybe this could be Download and Check)
<download>
 <file>&[package-name]-package;</file>

<url>ftp://ftp.linuxfromscratch.org/pub/lfs/conglomeration/[package-name]/</url>
 <destination>&packages-dir;</destination>
 <digest>&[package-name]-md5;</digest>
</download>
</stage>
One thing to note, since the download element supports the <digest> tag
this means that all digest checking will be moved from the <unpack>
elements to the <download> elements.

By doing this it would allow downloading packages as the profile
progresses, especially useful for package upgrades. This also has an
added feature of being able to dp digest checking against patch files. 

This also has a potential for being a replacement for the wget lists,
however this will only be possible if a new version of nALFS is released
that incorporates Jamie's recent changes to be able to pass a flag to
nALFS and have it just download the packages and not build anything.

Another thing, since the download element will support multiple url
elements, it may be possible to include the official download url's for
packages in addition to the ftp mirror url's.

Comments, thoughts???
--
Thomas
LFS User : 4729 / Linux User : 298329
kitt - Powered by: Linux 2.6.12.3
16:37:31 up 1:40, 1 user, load average: 0.19, 0.59, 0.97

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to