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