Hello Maybe this is something that you guys already know... If so, forgive me stating the obvious...
You can use jhalfs to build CLFS and it can be a big help. However, it does not work (currently anyway) 'out of the box'. There are a few extra steps that you have to do. First, jhalfs is not able to download the CLFS book for you. You have to do that manually and then point jhalfs at your downloaded copy. Second, there are a couple of patches to jhalfs that you need to download and apply. I submitted these patches to the jhalfs mailing list a while back but they haven't been added to it yet. So, you have to get and apply them manually. This is what you have to do. 1) ======= Get a local working copy of the CLFS book. # Get the CLFS git git clone git://git.cross-lfs.org/cross-lfs.git cd cross-lfs # If you want to build the 1.1.0 release rather than the current work in # progress version do the next two commands. Otherwise, skip it. git branch branchname clfs-1.1.0 git checkout clfs-1.1.0 # 'BOOK' is where you will need to point jhalfs. cd BOOK pwd 2) ======= Get the jhalfs source and patches. Get the current jhalfs code (or instead download the jhalfs 2.3.2 tarball....) svn co svn://svn.linuxfromscratch.org/ALFS/jhalfs/trunk jhalfs-trunk cd jhalfs-trunk (or jhalfs-2.3.2 if using 2.3.2 release) 2a) ==== The needed jhalfs CLFS patches can be found in this email thread: http://linuxfromscratch.org/pipermail/alfs-discuss/2010-September/thread.html (Find the two emails regarding fixes for building CLFS with jhalfs and download the attached patches). 3) =================== Apply the jhalfs patches. cat jhpatch1.txt |patch -Np1 cat jhpatch2.txt |patch -Np1 4) =================== It's ready to go. Make your clfs dir and start up jhalfs. In the jhalfs menu, you will need to select "Working Copy" for the CLFS book location and specify the directory (from above) where you have stored the CLFS book. mkdir /mnt/clfs make jhalfs doesn't build CLFS as smoothly as it builds LFS. You may have to nurse it through a few spots. But even so, it still reduces the time needed to do a CLFS build.
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
