Changeset 1927
- Timestamp:
- 06/24/07 08:53:43 (19 months ago)
- Location:
- trunk
- Files:
-
- 6 added
- 4 modified
-
Makefile (modified) (2 diffs)
-
packages/initramfs/Makefile (modified) (2 diffs)
-
packages/initramfs/init.in (modified) (3 diffs)
-
packages/net-firmware (added)
-
packages/net-firmware/Makefile (added)
-
packages/scsi-firmware (added)
-
packages/scsi-firmware/Makefile (added)
-
packages/wpa_supplicant (added)
-
packages/wpa_supplicant/Makefile (added)
-
scripts/functions (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1926 r1927 257 257 ch-librsvg ch-startup-notification chroot-gvim ch-vte ch-URI ch-xfce \ 258 258 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 \ 260 261 ch-traceroute ch-rsync ch-jhalfs ch-sudo ch-bc ch-dialog ch-ncftp \ 261 262 ch-device-mapper ch-LVM2 ch-dmraid \ … … 271 272 ch-fuse ch-dosfstools ch-ntfsprogs \ 272 273 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 274 276 # Proprietary drivers disabled - NVIDIA crashes, ATI is too fat 275 277 # make ch-gcc33 ch-proprietary-drivers -
trunk/packages/initramfs/Makefile
r1915 r1927 20 20 21 21 compile-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} 23 23 cp /etc/udev/udev.conf $(WDIR)/etc/udev/udev.conf 24 24 cp /etc/udev/rules.d/{05-*,2*,60-*} $(WDIR)/etc/udev/rules.d … … 36 36 cp /usr/lib/libdevmapper.so.1.02 $(WDIR)/lib 37 37 cp -a /lib/udev $(WDIR)/lib 38 cp -a /lib/firmware/{aic94xx-seq.fw,ql*.bin} $(WDIR)/lib/firmware 38 39 cp /sbin/{losetup,blockdev,udevd,udevtrigger,udevsettle,modprobe} $(WDIR)/sbin 39 40 cp /sbin/pcmcia-{check-broken-cis,socket-startup} $(WDIR)/sbin -
trunk/packages/initramfs/init.in
r1926 r1927 15 15 all_generic_ide=0 16 16 toram=0 17 nodhcp=0 17 18 cdtype= 18 19 … … 149 150 mount -n -t ext2 /dev/mapper/lfs-cd /.root 150 151 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 152 155 cat /etc/modprobe.conf >>/.root/etc/modprobe.conf 153 156 ln -sf issue.$cdtype /.root/etc/issue 154 157 if [ "$cdtype" = "fullcd" ] ; then 155 158 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 156 162 fi 157 163 } … … 226 232 toram) 227 233 toram=1 234 ;; 235 nodhcp) 236 nodhcp=1 228 237 ;; 229 238 esac -
trunk/scripts/functions
r1842 r1927 49 49 # This takes the form of 'download [filename] [url] [sha1sum]' 50 50 define download 51 @cd $(SRC) ; if [ ! -f $(1) ] ; then $(WGET) $(2); \51 @cd $(SRC) ; if [ ! -f "$(1)" ] ; then $(WGET) "$(2)" ; \ 52 52 elif ! echo "$(3) $(SRC)/$(1)" | sha1sum -c - >/dev/null 2>/dev/null ; then \ 53 $(WGET) -c $(2); fi53 $(WGET) -c "$(2)" ; fi 54 54 @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 ; fi57 @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)" . 58 58 endef 59 59
