Changeset 1960

Show
Ignore:
Timestamp:
07/16/07 11:23:40 (18 months ago)
Author:
jhuntwork
Message:

Minimal CD will contain no source packages

Location:
branches/minimal
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/minimal/Makefile

    r1954 r1960  
    5656export ROOT := /lfs-livecd 
    5757export SRC := /sources 
    58 export LFSSRC := /lfs-sources 
    5958export PKG := packages 
    6059 
     
    116115        mount -o loop root.ext2 $(MP) 
    117116        mkdir -p $(MKTREE) $(MP)$(SRC) $(MP)$(WD) 
    118         mkdir -p $(MP)/boot $(MP)$(LFSSRC) $(MPBASE)/iso$(LFSSRC) 
     117        mkdir -p $(MP)/boot 
    119118        mkdir -p $(MP)/drivers $(MPBASE)/iso/drivers 
    120119        mount --bind $(MPBASE)$(ROOT) $(MP)$(ROOT) 
     
    122121        mount --bind $(MPBASE)$(SRC) $(MP)$(SRC) 
    123122        mount --bind $(MPBASE)/iso/boot $(MP)/boot 
    124         mount --bind $(MPBASE)/iso$(LFSSRC) $(MP)$(LFSSRC) 
    125123        mount --bind $(MPBASE)/iso/drivers $(MP)/drivers 
    126124        -ln -nsf $(MPBASE)$(WD) / 
     
    297295        make -C $(PKG)/$* chroot 
    298296 
    299 gvim: $(MKTREE) 
    300         make -C $(PKG)/vim chroot3 
    301  
    302297# The following takes the form 'make [package name]-clean' 
    303298# Cleans the build directory of a single package. 
     
    357352        mandb -c 2>/dev/null 
    358353        echo 'dummy / ext2 defaults 0 0' >/etc/mtab 
    359         updatedb --prunepaths='/sources /tools /lfs-livecd /lfs-sources /proc /sys /dev /tmp /var/tmp' 
     354        updatedb --prunepaths='/sources /tools /lfs-livecd /proc /sys /dev /tmp /var/tmp' 
    360355        echo >/etc/mtab 
    361  
    362 chroot-gvim: 
    363         make -C $(PKG)/vim stage3 
    364356 
    365357# Targets to create the iso 
     
    393385        -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
    394386        -V "lfslivecd-$(VERSION)" ./ 
    395         @cd $(MPBASE)/iso ; $(WD)/bin/mkisofs -z -R -l --allow-leading-dots -D -o \ 
    396         $(MPBASE)$(ROOT)/lfslivecd-$(VERSION)-nosrc.iso -b boot/isolinux/isolinux.bin \ 
    397         -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
    398         -m lfs-sources -V "lfslivecd-$(VERSION)" ./ 
    399387 
    400388# Targets to clean your tree.  
     
    431419        -umount $(MP)/boot 
    432420        -umount $(MP)/drivers 
    433         -umount $(MP)$(LFSSRC) 
    434421        -umount $(MP)$(SRC) 
    435422        -umount $(MP)$(WD) 
    436423        -umount $(MP)$(ROOT) 
    437424        -rmdir $(MP)$(SRC) $(MP)$(WD) $(MP)$(ROOT) 
    438         -rmdir $(MP)/boot $(MP)$(LFSSRC) $(MP)/drivers 
     425        -rmdir $(MP)/boot $(MP)/drivers 
    439426        -umount $(MP) 
    440427 
     
    444431        -make unmount 
    445432 
    446 .PHONY: mount unmount clean_sources scrub clean iso chroot-gvim update-caches \ 
     433.PHONY: mount unmount clean_sources scrub clean iso update-caches \ 
    447434        final-environment re-adjust-toolchain ch-% ch-glibc-32 lfs-adjust-toolchain \ 
    448435        lfs-%-scpt lfs-%-scpt-32 lfs-%-pass1 lfs-%-pass2 createfiles \ 
    449         gvim %-only-ch lfs-%-only lfs-%-only-pass1 lfs-%-only-pass2 lfs-wget \ 
     436        %-only-ch lfs-%-only lfs-%-only-pass1 lfs-%-only-pass2 lfs-wget \ 
    450437        lfs-rm-wget blfs post-bash pre-bash tools pre-which zeroes 
  • branches/minimal/packages/LFS-BOOK/Makefile

    r1945 r1960  
    1515 
    1616URL= svn://svn.linuxfromscratch.org/LFS/trunk/BOOK 
    17  
    18 SEAMONKEY_CONFIG= $(ROOT)/root/.mozilla/default/79exklwh.slt/prefs.js 
    1917 
    2018# Targets 
     
    3836        cd $(DIR) ; make BASEDIR=../$(HTMLDIR) 
    3937        cp -av $(DIR) $(HTMLDIR) /usr/share 
    40         cd $(SRC) ; cp -v `sed 's@^.*/\([^/]*\)$$@\1@' /usr/share/$(HTMLDIR)/wget-list` $(LFSSRC) 
    41         sed -i \ 
    42          's@file:///.*index.html@file:///usr/share/$(HTMLDIR)/index.html@' \ 
    43          $(SEAMONKEY_CONFIG) 
    4438        sed -i 's@WWW_HOME=\".*\"@WWW_HOME=\"/usr/share/$(HTMLDIR)/index.html\"@' \ 
    4539         $(ROOT)/etc/profile 
  • branches/minimal/packages/jhalfs/configuration

    r1778 r1960  
    7979BUILDDIR="/mnt/build_dir" 
    8080GETPKG=y 
    81 SRC_ARCHIVE="/lfs-sources" 
     81# SRC_ARCHIVE is not set 
    8282SERVER="http://ftp.lfs-matrix.net/" 
    8383GETKERNEL=y