The motivation for this was to see if it's 
possible to go from disk partition to completed Gnome build in less than
 a day. I don't mean 24hrs, I mean to start around 7 am and finish 
around 10 pm.I wrote a script that 
builds scripts to install packages in each section of the book - 
security, libraries etc. I started with an LFS script from Firerat and 
developed things from there.
I used all the packages that are either required or recommended dependencies, 
plus a few extras- basically everything that's essential for a Gnome build.
I run each section script and when a packages dependencies (required plus 
recommended) are satisfied, the package is installed.What
 follows is the time that I started various scripts for LFS and then 
BLFS, the interval time for key parts of the build and any worthwhile 
comments, for e.g. any problems encountered. I hope this table formatting 
is maintained, otherwise you won't be able to read a thing.


Time                             Activity                                       
    
                                  Interval Time         Comments
of day                                                                         
mins
  07.15           Partition
disks                    Check out LFS build 9987

                    Download
sources                                                                    9
                    Build
scripts

07.24           Begin
                Chapter 5
                                                                                
    67


  08.31           Begin Chapter
6                                                                               
     73

  09.44           Begin install
kernel                                                                          
          1409.58           Boot into LFS
                to check installation 
                              and clean
                up files                           6
10.04           Check out
                BLFS revision 10667                    Download
                sources 



   Broken links found:                                   Download these manually
      programming - php-5.4.5                                                   
                   
                                                                                
   
                                                Glib-1.242                     
Glib-1.261 available
       networks               - dhcpcd-5.6.1                                    
       
                                                                                
   
                       x                                          - 
xcb-util-0.3.9                                                                  
    Slowest download was cups                                                   
                  - it took 4m 9s for 8.2M (33 K/s)                             
                                    48
       
                

10.52             Begin installing BLFS by section in this order                
         ./libraries.sh                                                  
                                              for libraries with no 
dependencies                         ./security.sh  for openssl
                         ./programming.sh           # for python (only install 
the binary
                                        for OpenJDK                             
 #
                                        message from OpenJDK - '0 stray cats 
were added' - really?)
11.37                 ./libraries.sh                   # for glib               
           ./networks.sh                 # for wget                          
./security.sh                   # for cacerts                          
./genutils.sh                   # for intltool12.17                             
    
                                        ./sysutils.sh                    # for 
unzip                          ./pst.sh                           # for 
docbook-xml,xsl                          ./server.sh                      # for 
db, sqlite, apache12.39                                 
                                        ./security.sh                   # for 
nss                          ./libraries.sh                  # for aspell       
                   ./genutils.sh                   # for rarian                 
         ./security.sh                   # for polkit                          
./sysutils.sh                   # for udisks12.54                               
  
                                        ./programming.sh         # for llvm and 
perl modules. Lunch                           ./networks.sh                 # 
for curl                          ./programming.sh          # for cmake  2.02   
                              
                                        ./server.sh                      # for 
mysql - installed all
                                        specified packages                      
    ./security.sh                   # for liboauth                          
./genutils.sh                   # for  icon-naming-utils - installed all 
specified packages                          ./sysutils.sh                     # 
for apache-ant   2.16                                
                                        ./multimedia.sh             # for alsa, 
basic libraries and
                                        gstreamer   2.46                        
         ./x.sh    
                                                                # installs up 
to mesalib, which needs
                                        libdrm                          
./libraries.sh                  # for libdrm                          ./x.sh 
                                                                   # installs 
the rest of x             44 mins to build x
   3.30                                 ./xlibs.sh
                                                              # atk, cairo, 
pango, gtk+ 
                                          ** after cairo, reinstall 
gobject-introspection
                                        for librsvg **
                          ./xlibs.sh   4.26                ./sysutils.sh        
           # for dbus - installed all
                                        specified packages                      
    ./security.sh                   # for consolekit - installed all
                                        specified packages                      
    ./libraries.sh                  # for libunique and telepathy               
           ./programming.sh         # for python modules                        
  ./multimedia.sh             # for gst-plugins   5.00                ./xlibs.sh
                                                              # for qt4  - Good 
time to go and prepare dinner.
   6.48                                
                                        ./networks.sh                # for 
avahi                          ./multimedia.sh             # for vlc            
              ./pst.sh                           # for cups, cups-filters       
                   ./programming.sh          # for pyatspi - installed all
                                        specified packagesAll packages that
                                        do not depend on gnome have been 
installed. 
Booted into LFS to
                                        check xNow install gnome
                                        platform
   7.16                                
                                        ./gnomeplatform.sh                      
    ./networks.sh          # for libsoup, networkmanager - installed
                                        all specified packages                  
        ./multimedia.sh              # for libcanberra - installed all
                                        specified packages                      
    ./libraries.sh                   # for telepathy-mission - installed all 
specified packages   7.45                ./xlibs.sh                        # 
for webkitgtk - installed
                                        all specified packages   8.33           
     ./gnomedesktop.sh
                          ./xsoftware                     # for the gimp        
                  ./pst.sh # for gutenprint - installed
                                        all specified packages   9.15           
     ./gnomeplatform.sh        # installed all specified packages   9.31        
        ./gnomedesktop.sh         # installed all specified packages   9.41     
            ./gnomeutils.sh               # installed all specified packages    
                                          I didn't install cheese, seahorse, 
sound-juicer and totem                                              Everything 
else is there.
                          ./btscrpts.sh                    # install 
bootscripts for
                                        random, iptables, dbus, httpd, mysql    
                                            # and NetworkManager  10.41         
      ./browser.sh                    # installs firefox
I booted into gnome at 11.05 pm.
As you can see, it took almost exactly 13hrs to install BLFS.

So I didn't make the 10 pm target. May be I could change the order in which I 
run the scripts.Obviously
 this is an optimization problem but not one with an analytical 
solution.  Empiricism rules here. Installing everything as a package 
user also slows things a bit because there's lots of group and 
permission changes going on and also writing all the output for each 
package to configure, make and install logs doesn't help the speed.

 I also had a couple of delays caused by my errors. I forgot the sed for 
udev-extras. It won't install from the book and I wasted time doing it 
manually. I also renamed the webkitgtk patch to webkit but forgot to 
name it back to webkitgtk so the book commands would work and I forgot I
 had to reinstall gobject-intro in order for librsvg to compile. 
However, this time loss wasn't enough to get me to the 10 pm target.The real 
killers are llvm, qt4, webkitgtk, evolution and firefox - and may be a few 
others I've forgotten about.

So
 there's the challenge for you - can you install LFS and a Gnome desktop
 starting at 7 am and finishing at 10 pm? May be if you've got a quad 
core machine, a faster web connection, you install as root and your scripts 
work more efficiently
 than mine ( and you don't make any mistakes). Quite a tough challenge though.

jb.
p.s.
 I've still  got the BLFS log with the order and all the install times 
if anyone's interested. There are a total of 429 packages installed, I 
think. That includes LFS.                                                       
                          
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to