Changeset 1927

Show
Ignore:
Timestamp:
06/24/07 08:53:43 (19 months ago)
Author:
alexander
Message:

Added a lot of firmware, wpa_supplicant (probably misconfigured)
and the nodhcp boot option.

Location:
trunk
Files:
6 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1926 r1927  
    257257        ch-librsvg ch-startup-notification chroot-gvim ch-vte ch-URI ch-xfce \ 
    258258        ch-xfmedia ch-irssi ch-pidgin ch-net-tools \ 
    259         ch-xchat ch-wireless_tools ch-tcpwrappers ch-portmap ch-nfs-utils \ 
     259        ch-xchat ch-wireless_tools ch-wpa_supplicant \ 
     260        ch-tcpwrappers ch-portmap ch-nfs-utils \ 
    260261        ch-traceroute ch-rsync ch-jhalfs ch-sudo ch-bc ch-dialog ch-ncftp  \ 
    261262        ch-device-mapper ch-LVM2 ch-dmraid \ 
     
    271272        ch-fuse ch-dosfstools ch-ntfsprogs \ 
    272273        ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux \ 
    273         ch-binutils64 ch-gcc64 ch-linux64 ch-initramfs 
     274        ch-binutils64 ch-gcc64 ch-linux64 ch-scsi-firmware ch-net-firmware \ 
     275        ch-initramfs 
    274276        # Proprietary drivers disabled - NVIDIA crashes, ATI is too fat 
    275277        # make ch-gcc33 ch-proprietary-drivers 
  • trunk/packages/initramfs/Makefile

    r1915 r1927  
    2020 
    2121compile-stage2: 
    22         mkdir -p $(WDIR)/{bin,dev,etc/udev/rules.d,lib,sbin,sys,proc} 
     22        mkdir -p $(WDIR)/{bin,dev,etc/udev/rules.d,lib/firmware,sbin,sys,proc} 
    2323        cp /etc/udev/udev.conf $(WDIR)/etc/udev/udev.conf 
    2424        cp /etc/udev/rules.d/{05-*,2*,60-*} $(WDIR)/etc/udev/rules.d 
     
    3636        cp /usr/lib/libdevmapper.so.1.02 $(WDIR)/lib 
    3737        cp -a /lib/udev $(WDIR)/lib 
     38        cp -a /lib/firmware/{aic94xx-seq.fw,ql*.bin} $(WDIR)/lib/firmware 
    3839        cp /sbin/{losetup,blockdev,udevd,udevtrigger,udevsettle,modprobe} $(WDIR)/sbin 
    3940        cp /sbin/pcmcia-{check-broken-cis,socket-startup} $(WDIR)/sbin 
  • trunk/packages/initramfs/init.in

    r1926 r1927  
    1515all_generic_ide=0 
    1616toram=0 
     17nodhcp=0 
    1718cdtype= 
    1819 
     
    149150        mount -n -t ext2 /dev/mapper/lfs-cd /.root 
    150151        mount -n --move /.tmpfs /.root/dev/shm 
    151         if [ "$toram" != 1 ] ; then cp -a /dev/lfs-cd /.root/dev/lfs-cd ; fi 
     152        if [ "$toram" != 1 ] ; then 
     153                cp -a /dev/lfs-cd /.root/dev/lfs-cd 
     154        fi 
    152155        cat /etc/modprobe.conf >>/.root/etc/modprobe.conf 
    153156        ln -sf issue.$cdtype /.root/etc/issue 
    154157        if [ "$cdtype" = "fullcd" ] ; then 
    155158                ln -sf /dev/shm/.cdrom/lfs-sources /.root/lfs-sources 
     159        fi 
     160        if [ "$nodhcp" = "1" ] ; then 
     161                rm -f /.root/etc/udev/rules.d/76-network.rules 
    156162        fi 
    157163} 
     
    226232        toram) 
    227233                toram=1 
     234                ;; 
     235        nodhcp) 
     236                nodhcp=1 
    228237                ;; 
    229238        esac 
  • trunk/scripts/functions

    r1842 r1927  
    4949# This takes the form of 'download [filename] [url] [sha1sum]' 
    5050define download 
    51         @cd $(SRC) ; if [ ! -f $(1) ] ; then $(WGET) $(2) ; \ 
     51        @cd $(SRC) ; if [ ! -f "$(1)" ] ; then $(WGET) "$(2)" ; \ 
    5252         elif ! echo "$(3)  $(SRC)/$(1)" | sha1sum -c - >/dev/null 2>/dev/null ; then \ 
    53          $(WGET) -c $(2) ; fi 
     53         $(WGET) -c "$(2)" ; fi 
    5454        @if echo "$(3)  $(SRC)/$(1)" | sha1sum -c - >/dev/null 2>/dev/null ; then \ 
    55          echo $(BRW)sha1sum check on $(SRC)/$(1): $(GREEN)[ OK ]$(WHITE); \ 
    56          else echo $(BRW)sha1sum check on $(SRC)/$(1): $(RED)[ FAILED ]$(WHITE); exit 1 ; fi 
    57         @ln -sf $(SRC)/$(1) . 
     55         echo $(BRW)sha1sum check on "$(SRC)/$(1)": $(GREEN)[ OK ]$(WHITE); \ 
     56         else echo $(BRW)sha1sum check on "$(SRC)/$(1)": $(RED)[ FAILED ]$(WHITE); exit 1 ; fi 
     57        @ln -sf "$(SRC)/$(1)" . 
    5858endef 
    5959