El Jueves, 18 de Mayo de 2006 01:15, Dan Nicholson escribió: > On 5/17/06, M.Canales.es <[EMAIL PROTECTED]> wrote:
> > That will be a helper tool that assist users to create their own > > automatized BLFS builds. > > Your an ambitious man, Manuel. I'll be interested to what how this looks. Well, the code to create LFS-style linear build order BLFS books for a target package is now in the experimental branch. Copy all files under BLFS/ to an empty dir. On that dir, copy or "svn co" a directory containing the BLFS book sources. Run ./packages.sh <BLFS_sources_dir_name> Then run, for example, ./blfs-render.sh gnome-media 3 Wait 3 minutes and see the results ;-) The generated books are almost the best that can be done with the current dependencies listed and tagging used (some dependencies don't have the required role attributes, some point to the wrong file, circular dependencies, issues with alternative packages, etc...) If there is real interest in generating such type of BLFS books (for general use, not only to support jhalfs) a thread in blfs-dev shoul be started to address that issues. The code is yet a little ugly, but I hope that George could help cleaning and improving it. > > Thanks. I will see at that. Look like it is aware of duplicated entries > > also :-)) > > correct order + remove duplicates = saves me a lot of effort > > Actually, I've thought about writing my own code for this a bunch of > times, but that way is just so easy! Instead using deps.mk I solved that issues using sed and tac, plus reusing the output from already resolved packages dependencies. That was to improve global parsing speed and to track circular dependencies, something not easy to do when triying to auto-generate a deps.mk script. -- Manuel Canales Esparcia Usuario de LFS nº2886: http://www.linuxfromscratch.org LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
