#!/usr/bin/perl exec $0 "$@" # rerun under perl if running under sh (e.g. "sh configure") if 0; # ignore the above line if already running under perl use 5.006.0; use warnings; use strict; use Fcntl; my($rcsid) = q$Id: configure,v 1.73 2004/05/05 01:50:35 zaphod Exp $; $rcsid =~ /^Id: configure,v (\S+) (\S+ \S+) zaphod Exp (\S+ )?$/ || die; my($version, $rcsdate) = ($1, $2); $version .= "+" if $3; # if this version may contain changes not in RCS my($gendate) = scalar localtime; my($genby) = "generated by toast linux configure version $version on $gendate"; my($configure) = $0 =~ m!/! ? $0 : "./$0"; my($prefix) = "/usr/local"; # TODO my($target) = @ARGV; if(scalar(@ARGV) != 1 || $target =~ /^-/) { warn("$0: ignoring command line arguments: @ARGV\n") if @ARGV; $target = "Makefile"; print("generating $target\n"); } die unless defined($target); my(%text); my($name); while() { if(/^--- FILE (\S+) ---$/) { $name = $1; } else { next if !defined($name) && /^$/; die unless defined($name); $text{$name} .= $_; } } close(DATA) || die; for(values(%text)) { s/\n\n$/\n/; } for($text{"Makefile"}) { s/^ /\t/mg; s/!GENBY!/$genby/g; s/!VERSION!/$version/g; s/!CONFIGURE!/$configure/g; s/!PREFIX!/$prefix/g; } # looks like SYSLINUX doesn't support tabs.... # TODO: banish non-printing characters from configure script #for($text{"floppy/logo"}) #{ # s!^(( {8})+)!"\t" x (length($1)/8)!mge; #} my($oldcfg); for($text{"floppy/syslinux.cfg"}) { $_ .= "# pad to fill one 512-byte sector\n" while length($_) < 512; s/\n/\r\n/g; substr($_, 510) = "\r\n"; s/\r(\r\n$)/#$1/; length($_) == 512 or die; $oldcfg = $_; $oldcfg =~ s/\r\n/\n/g; } for($text{"toast-linux.stub"}) { s/^!OLDCFG!\n/$oldcfg/m; } my($ok); for(sort(keys(%text))) { next unless m!^\Q$target\E($|/)!; $ok = 1; if(m!^([^/].*)/[^/]+$!) { my($dir) = $1; my($path); for(split('/', $dir)) { $path = defined($path) ? "$path/$_" : $_; -d($path) || mkdir($path) || die("mkdir $path: $!"); } } my($text) = $text{$_}; local(*OUTFILE); sysopen(OUTFILE, $_, O_CREAT | O_TRUNC | O_WRONLY, $text =~ m@^#!/@ ? 0777 : 0666) || die("open $_ for write: $!"); binmode(OUTFILE); print OUTFILE $text or die("write $_: $!"); close(OUTFILE) || die("close $_ for write: $!"); } die("don't know how to generate $target") unless $ok; __DATA__ --- FILE Makefile --- # !GENBY! VERSION = !VERSION! ROOTFS_BLOCKS = 3072 ROOTFS_INODES = 1024 FLOPPY_SIZE = 1440 #FLOPPY_SIZE = 2880 HDA_CYLINDERS = 15500 WGET = wget FROMCONF = dev toast-linux.stub mkhd bochs-config FROMCONF2 = smartcat linux-config busybox-config PKGS = TOOLCHAIN LINUX BUSYBOX E2FSPROGS NTFSPROGS PARTED DEVMAP LVM2 GENEXT2FS MTOOLS SYSLINUX CDRTOOLS # TOOLCHAIN_VERSION = ??? [only available from cvsweb right now...] LINUX_VERSION = 2.6.5 BUSYBOX_VERSION = 1.00-pre10 E2FSPROGS_VERSION = 1.34 NTFSPROGS_VERSION = 1.8.5 PARTED_VERSION = 1.6.6 DEVMAP_VERSION = 1.00.17 LVM2_VERSION = 2.00.15 GENEXT2FS_VERSION = 1.3 GENEXT2FS_PATCHLEVEL = 4 MTOOLS_VERSION = 3.9.9 SYSLINUX_VERSION = 2.08 CDRTOOLS_VERSION = 2.00.3 TOOLCHAIN_DIR = toolchain LINUX_DIR = linux-$(LINUX_VERSION) BUSYBOX_DIR = busybox-$(BUSYBOX_VERSION) E2FSPROGS_DIR = e2fsprogs-$(E2FSPROGS_VERSION) NTFSPROGS_DIR = ntfsprogs-$(NTFSPROGS_VERSION) PARTED_DIR = parted-$(PARTED_VERSION) DEVMAP_DIR = device-mapper.$(DEVMAP_VERSION) LVM2_DIR = LVM2.$(LVM2_VERSION) GENEXT2FS_DIR = genext2fs-$(GENEXT2FS_VERSION).orig MTOOLS_DIR = mtools-$(MTOOLS_VERSION) SYSLINUX_DIR = syslinux-$(SYSLINUX_VERSION) CDRTOOLS_DIR = cdrtools-$(CDRTOOLS_VERSION) TOOLCHAIN_ARCHIVE = toolchain.tar.gz LINUX_ARCHIVE = $(LINUX_DIR).tar.bz2 BUSYBOX_ARCHIVE = $(BUSYBOX_DIR).tar.bz2 E2FSPROGS_ARCHIVE = $(E2FSPROGS_DIR).tar.gz NTFSPROGS_ARCHIVE = $(NTFSPROGS_DIR).tar.gz PARTED_ARCHIVE = $(PARTED_DIR).tar.gz DEVMAP_ARCHIVE = $(DEVMAP_DIR).tgz LVM2_ARCHIVE = $(LVM2_DIR).tgz GENEXT2FS_ARCHIVE = genext2fs_$(GENEXT2FS_VERSION).orig.tar.gz GENEXT2FS_PATCH = genext2fs_$(GENEXT2FS_VERSION)-$(GENEXT2FS_PATCHLEVEL).diff.gz MTOOLS_ARCHIVE = $(MTOOLS_DIR).tar.bz2 SYSLINUX_ARCHIVE = $(SYSLINUX_DIR).tar.bz2 CDRTOOLS_ARCHIVE = $(CDRTOOLS_DIR).tar.bz2 TOOLCHAIN_URL = http://www.uclibc.org/cgi-bin/cvsweb/toolchain.tar.gz LINUX_URL = http://www.kernel.org/pub/linux/kernel/v2.6/$(LINUX_ARCHIVE) BUSYBOX_URL = http://busybox.net/downloads/$(BUSYBOX_ARCHIVE) E2FSPROGS_URL = http://unc.dl.sourceforge.net/sourceforge/e2fsprogs/$(E2FSPROGS_ARCHIVE) NTFSPROGS_URL = http://unc.dl.sourceforge.net/sourceforge/linux-ntfs/$(NTFSPROGS_ARCHIVE) PARTED_URL = http://ftp.gnu.org/gnu/parted/$(PARTED_ARCHIVE) DEVMAP_URL = http://mirrors.kernel.org/sources.redhat.com/dm/$(DEVMAP_ARCHIVE) LVM2_URL = http://mirrors.kernel.org/sources.redhat.com/lvm2/$(LVM2_ARCHIVE) GENEXT2FS_URL = http://ftp.debian.org/debian/pool/main/g/genext2fs/$(GENEXT2FS_ARCHIVE) GENEXT2FS_PATCH_URL = http://ftp.debian.org/debian/pool/main/g/genext2fs/$(GENEXT2FS_PATCH) MTOOLS_URL = http://mtools.linux.lu/$(MTOOLS_ARCHIVE) SYSLINUX_URL = http://kernel.org/pub/linux/utils/boot/syslinux/$(SYSLINUX_ARCHIVE) CDRTOOLS_URL = http://distro.ibiblio.org/pub/linux/distributions/sorcerer/sources/cdrtools/$(CDRTOOLS_VERSION)/$(CDRTOOLS_ARCHIVE) # ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.00.3.tar.gz # http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-2.00.3.tar.gz TOOLCHAIN_MAKE_DIR = $(TOOLCHAIN_DIR)/gcc-3.3.x TOOLCHAIN_ROOT_DIR = $(TOOLCHAIN_MAKE_DIR)/toolchain_i386/i386-linux-uclibc TOOLCHAIN_LIB_DIR = $(TOOLCHAIN_ROOT_DIR)/lib TOOLCHAIN_BIN_DIR = $(CURDIR)/$(TOOLCHAIN_ROOT_DIR)/bin PKG_DIRS = $(foreach PKG, $(PKGS), $($(PKG)_DIR)) LINUX_PATCH_FILES = $(foreach PATCH, $(LINUX_PATCHES), $($(PATCH)_ARCHIVE)) LINUX = $(LINUX_DIR)/arch/i386/boot/bzImage BUSYBOX = $(BUSYBOX_DIR)/busybox TUNE2FS = $(E2FSPROGS_DIR)/misc/tune2fs NTFSRESIZE = $(NTFSPROGS_DIR)/ntfsprogs/ntfsresize PARTED = $(PARTED_DIR)/parted/parted DEVMAP = $(DEVMAP_DIR)/lib/ioctl/libdevmapper.a LVM2 = $(LVM2_DIR)/tools/lvm GENEXT2FS = $(GENEXT2FS_DIR)/genext2fs MFORMAT = $(MTOOLS_DIR)/mformat MCOPY = $(MTOOLS_DIR)/mcopy MDIR = $(MTOOLS_DIR)/mdir SYSLINUX = $(SYSLINUX_DIR)/syslinux MKISOFS = $(CDRTOOLS_DIR)/mkisofs/mkisofs INSTALL_DIR = $(DESTDIR)!PREFIX! INSTALL_BIN_DIR = $(INSTALL_DIR)/bin INSTALL_MAN_DIR = $(INSTALL_DIR)/man/man1 PROGRAM = toast-linux MAN_PAGE = $(PROGRAM).1 all: $(PROGRAM) $(MAN_PAGE) install: all mkdir -p $(INSTALL_BIN_DIR) $(INSTALL_MAN_DIR) cp $(PROGRAM) $(INSTALL_BIN_DIR)/$(PROGRAM) cp $(MAN_PAGE) $(INSTALL_MAN_DIR)/$(MAN_PAGE) # surely there must be a way to avoid writing out these rules: $(TOOLCHAIN_ARCHIVE): ; $(WGET) $(TOOLCHAIN_URL) $(LINUX_ARCHIVE): ; $(WGET) $(LINUX_URL) $(BUSYBOX_ARCHIVE): ; $(WGET) $(BUSYBOX_URL) $(E2FSPROGS_ARCHIVE): ; $(WGET) $(E2FSPROGS_URL) $(NTFSPROGS_ARCHIVE): ; $(WGET) $(NTFSPROGS_URL) $(PARTED_ARCHIVE): ; $(WGET) $(PARTED_URL) $(DEVMAP_ARCHIVE): ; $(WGET) $(DEVMAP_URL) $(LVM2_ARCHIVE): ; $(WGET) $(LVM2_URL) $(GENEXT2FS_ARCHIVE): ; $(WGET) $(GENEXT2FS_URL) $(GENEXT2FS_PATCH): ; $(WGET) $(GENEXT2FS_PATCH_URL) $(MTOOLS_ARCHIVE): ; $(WGET) $(MTOOLS_URL) $(SYSLINUX_ARCHIVE): ; $(WGET) $(SYSLINUX_URL) $(CDRTOOLS_ARCHIVE): ; $(WGET) $(CDRTOOLS_URL) clean: rm -fr $(PKG_DIRS) symbols floppy* cd* root* toast-linux* $(FROMCONF) $(FROMCONF2) cleaner: clean rm -f *.tar.gz *.tar.bz2 *.diff.gz distclean: cleaner rm -f Makefile .DELETE_ON_ERROR: $(LINUX_DIR)/.config: $(LINUX_ARCHIVE) linux-config smartcat rm -fr $(LINUX_DIR) ./smartcat $< | tar x cat linux-config > $@ yes '' | $(MAKE) -C $(LINUX_DIR) oldconfig dep touch $@ $(LINUX): $(LINUX_DIR)/.config $(MAKE) -C $(LINUX_DIR) bzImage modules: $(LINUX) rm -fr $@ $(MAKE) -C $(LINUX_DIR) modules modules_install INSTALL_MOD_PATH=$(CURDIR)/$@ modsize: modules cd modules/lib/modules/*/kernel/drivers; ls -lS `find -name '*.ko'` $(TOOLCHAIN_DIR)/ok: $(TOOLCHAIN_ARCHIVE) smartcat rm -fr $(TOOLCHAIN_DIR) ./smartcat $< | tar x ln -s $(CURDIR) $(TOOLCHAIN_MAKE_DIR)/sources/dl yes '' | $(MAKE) -C $(TOOLCHAIN_MAKE_DIR) touch $@ $(BUSYBOX_DIR)/.config: $(BUSYBOX_ARCHIVE) busybox-config $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(BUSYBOX_DIR) ./smartcat $< | tar x perl -pe 's!^(CROSS_COMPILER_PREFIX=").*(")!$$1$(TOOLCHAIN_BIN_DIR)/$$2!' busybox-config > $@ yes '' | $(MAKE) -C $(BUSYBOX_DIR) oldconfig touch $@ $(BUSYBOX): $(BUSYBOX_DIR)/.config $(MAKE) -C $(BUSYBOX_DIR) all $(TUNE2FS): $(E2FSPROGS_ARCHIVE) $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(E2FSPROGS_DIR) ./smartcat $< | tar x (cd $(E2FSPROGS_DIR) && ./configure --with-cc=$(TOOLCHAIN_BIN_DIR)/gcc --with-linker=$(TOOLCHAIN_BIN_DIR)/ld --with-ccopts=-Os --disable-{nls,evms,swapfs}) $(MAKE) -C $(E2FSPROGS_DIR) strip $@ $(NTFSRESIZE): $(NTFSPROGS_ARCHIVE) $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(NTFSPROGS_DIR) ./smartcat $< | tar x (cd $(NTFSPROGS_DIR) && CC=$(TOOLCHAIN_BIN_DIR)/gcc CFLAGS="-static -Os" ./configure --disable-shared && $(MAKE)) strip $@ $(PARTED): $(PARTED_ARCHIVE) $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(PARTED_DIR) ./smartcat $< | tar x perl -p -i -e 's!(\#include )!/* $1 */!' $(PARTED_DIR)/libparted/filesys.c cd $(PARTED_DIR) && CC=$(TOOLCHAIN_BIN_DIR)/gcc CFLAGS="-static -Os" CPPFLAGS="-I$(CURDIR)/$(E2FSPROGS_DIR)/lib" LDFLAGS="-L$(CURDIR)/$(E2FSPROGS_DIR)/lib" ./configure --without-readline --disable-shared --disable-nls --disable-dynamic-loading --disable-Werror $(MAKE) -C $(PARTED_DIR) strip $@ $(DEVMAP): $(DEVMAP_ARCHIVE) $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(DEVMAP_DIR) ./smartcat $< | tar x set -e; cd $(DEVMAP_DIR); ./configure --disable-shared CC="$(TOOLCHAIN_BIN_DIR)/gcc -static -Os"; $(MAKE) lib $(LVM2): $(LVM2_ARCHIVE) $(DEVMAP) $(TOOLCHAIN_DIR)/ok smartcat rm -fr $(LVM2_DIR) ./smartcat $< | tar x perl -p -i -e 's/-O2/-Os/g' $(LVM2_DIR)/make.tmpl.in rm -f $(DEVMAP:.a=.so) set -e; cd $(LVM2_DIR); export CPATH="$(CURDIR)/$(DEVMAP_DIR)/include"; ./configure --host=i386-pc-linux-gnu CC="$(TOOLCHAIN_BIN_DIR)/gcc -Os -L$(CURDIR)/$(dir $(DEVMAP))"; $(MAKE) DESTDIR=dummy strip $@ symbols: $(BUSYBOX) $(E2FSCK) $(TUNE2FS) $(NTFSRESIZE) $(PARTED) $(LVM2) $(TOOLCHAIN_BIN_DIR)/nm -Dp $^ | perl -lne '/.{8} [BUV] (.+)/ && print "-u $$1"' | sort -u > $@ Makefile $(FROMCONF): !CONFIGURE! !CONFIGURE! $@ # these depend on configure, but we pretend they don't to speed things up: $(FROMCONF2): !CONFIGURE! $@ root: $(LINUX) symbols !CONFIGURE! rm -fr $@ !CONFIGURE! $@ mkdir -p $@/{root,proc,sys,tmp,mnt/{floppy,root},var/run} ln -s . $@/usr install -D $(TOOLCHAIN_LIB_DIR)/ld-uClibc.so.0 $@/lib/ld-uClibc.so.0 install -D $(TOOLCHAIN_LIB_DIR)/libdl.so.0 $@/lib/libdl.so.0 gcc -s -nostdlib -Wl,-warn-common -shared -o $@/lib/libc.so.0 `cat symbols` $(TOOLCHAIN_LIB_DIR)/libc.a $(MAKE) -C $(BUSYBOX_DIR) PREFIX=$(CURDIR)/$@ install # install -D $(E2FSCK) $@/sbin/e2fsck install -D $(TUNE2FS) $@/sbin/tune2fs # install -D $(NTFSRESIZE) $@/sbin/ntfsresize install -D $(PARTED) $@/sbin/parted install -D $(LVM2) $@/sbin/lvm for i in `cat $(LVM2_DIR)/tools/.commands`; do ln -s lvm $@/sbin/$$i; done $(GENEXT2FS): $(GENEXT2FS_ARCHIVE) $(GENEXT2FS_PATCH) smartcat rm -fr $(GENEXT2FS_DIR) ./smartcat $< | tar x ./smartcat $(GENEXT2FS_PATCH) | patch -d $(GENEXT2FS_DIR) -p1 $(MAKE) -C $(GENEXT2FS_DIR) $(MFORMAT) $(MCOPY) $(MDIR): $(MTOOLS_ARCHIVE) smartcat rm -fr $(MTOOLS_DIR) ./smartcat $< | tar x cd $(MTOOLS_DIR) && ./configure $(MAKE) -C $(MTOOLS_DIR) $(SYSLINUX): $(SYSLINUX_ARCHIVE) smartcat rm -fr $(SYSLINUX_DIR) ./smartcat $< | tar x touch $@ $(MKISOFS): $(CDRTOOLS_ARCHIVE) smartcat rm -fr $(CDRTOOLS_DIR) ./smartcat $< | tar x $(MAKE) -C $(CDRTOOLS_DIR)/mkisofs cp $(CDRTOOLS_DIR)/mkisofs/OBJ/*/mkisofs $@ rootfs: root dev $(GENEXT2FS) rm -f $@ $(GENEXT2FS) -d root -f dev -b $(ROOTFS_BLOCKS) -i $(ROOTFS_INODES) $@ floppy: $(LINUX) rootfs.gz !CONFIGURE! rm -fr $@ !CONFIGURE! $@ cp $(LINUX) $@/linux cp rootfs.gz $@/initrd floppy.img: floppy $(MFORMAT) $(SYSLINUX) $(MCOPY) $(MDIR) rm -f $@ $(MFORMAT) -C -v "toast linux" -f $(FLOPPY_SIZE) -r 1 -i $@ :: $(SYSLINUX) $@ $(MCOPY) -i $@ -s $ $@ chmod +x $@ toast-linux.1: toast-linux.stub pod2man $< > $@ run: floppy.img bochs-config mkhd ./mkhd hda.img $(HDA_CYLINDERS) HDA_CYLINDERS=$(HDA_CYLINDERS) bochs -qf bochs-config run-cd: cd.iso bochs-config-cd mkhd ./mkhd hda.img $(HDA_CYLINDERS) HDA_CYLINDERS=$(HDA_CYLINDERS) bochs -qf bochs-config-cd bochs-config-cd: bochs-config perl -pe 's/(^boot:) floppy/$$1 cdrom/; s/inserted/ejected/ if /floppy/; s/ejected/inserted/ if /cdrom/' $< > $@ config-linux: $(LINUX_DIR)/.config $(MAKE) -C $(LINUX_DIR) menuconfig cp $< linux-config config-busybox: $(BUSYBOX_DIR)/.config $(MAKE) -C $(BUSYBOX_DIR) menuconfig cp $< busybox-config %.bz2: % bzip2 -kf9 $< %.gz: % gzip -9 -c $< > $@ --- FILE toast-linux.stub --- #!/usr/bin/perl =head1 NAME toast-linux - create toast linux install floppy or CD =head1 SYNOPSIS toast-linux [--floppy|--cd] [--append=CMD] [[--outfile=]FILE] toast-linux --help toast-linux --man =head1 DESCRIPTION TODO: describe toast linux in general, what the installer does, and what this program does =head1 AVAILABILITY TODO: link to source and precompiled versions TODO: figure out what kind of license I can use for this thing (GPL?) =head1 BUGS Known bugs: - is not finished - does not actually work - missing documentation - no web page Wish list: - this program should be able to write a floppy or CD in one step - this program should be usable under ActiveState Perl (Windows) - this program should be able to configure defaults for installer - install disk should double as a rescue disk including e2fsck - install disk should automatically resize FAT and NTFS partitions =head1 SEE ALSO TODO: refer to toast itself, some other distributions like Gentoo and Debian, some of the constitutent software like BusyBox =head1 AUTHOR Jacques Frechet =cut use warnings; use strict; use Getopt::Long; use Pod::Usage; sub usage() { pod2usage(2); die } my($floppy, $outfile, $append); { my($help, $man, $cd); usage unless GetOptions ( "help|?" => \$help, "man" => \$man, "floppy|fd" => \$floppy, "cd|iso" => \$cd, "outfile=s" => \$outfile, "append=s" => \$append, ); pod2usage(1) if $help; pod2usage(-exitstatus => 0, -verbose => 2) if $man; usage if $floppy && $cd; $outfile = shift unless defined($outfile); usage if @ARGV; $outfile = "/dev/fd0" if !defined($outfile) && $floppy; $cd = 1 if !defined($floppy) && !defined($cd) && defined($outfile) && $outfile =~ /\.iso$/i; $floppy = 1 if !defined($floppy) && !defined($cd); usage unless defined($outfile); $outfile = undef if $outfile eq "-"; } open(STDOUT, ">", $outfile) || die("open $outfile: $!") if defined($outfile); my($oldcfg) = << 'EOF'; !OLDCFG! EOF $oldcfg =~ s/\n/\r\n/g; my($len) = length($oldcfg); die("len=$len") unless $len == 512; my($newcfg); if(defined($append)) { $newcfg = $oldcfg; $newcfg =~ s/^#[^\r\n]*\r?\n//mg; die unless $newcfg =~ s/^(append [^\r\n]+)(\r\n)/$1 $append$2/mi; die unless length($newcfg) <= 512; $newcfg .= "# pad to fill one 512-byte sector\n" while length($newcfg) < 512; substr($newcfg, 510) = "\r\n"; $newcfg =~s/\r(\r\n$)/#$1/; die unless length($newcfg) == 512; } if($floppy || defined($newcfg)) { my($pid) = open(STDOUT, "|-"); die("fork: $!") unless defined($pid); binmode(STDOUT); if(!$pid) { binmode(STDIN); my($on, $i, $rc, $buf) = (!$floppy, 0); while($rc = read(STDIN, $buf = "", 512, 0)) { next unless $on ||= $buf =~ /^...SYSLINUX.{32}TOAST LINUXFAT12/; $buf = $newcfg if defined($newcfg) && $buf eq $oldcfg; print($buf) || die("write: $!"); $on &&= ++$i < 2880 if $floppy; } die("read: $!") unless defined($rc); die("error: wrote $i sectors") unless $i == 2880 || !$floppy; close(STDOUT) || die("close: $!"); exit(0); } } open(STDOUT, "| gzip -cd") || die("spawn gzip: $!"); binmode(STDOUT); binmode(DATA); my($rc, $buf); print($buf) || die("write: $!") while $rc = read(DATA, $buf = "", 8192, 0); close(STDOUT) || die("close: $!"); __DATA__ --- FILE dev --- drwx /dev crw- 4, 0 /dev/tty0 crw- 4, 1 /dev/tty1 crw- 4, 2 /dev/tty2 crw- 4, 3 /dev/tty3 crw- 4, 4 /dev/tty4 crw- 4, 5 /dev/tty5 crw- 5, 0 /dev/tty crw- 5, 1 /dev/console --- FILE smartcat --- #!/bin/sh for file; do case "$file" in *gz) gzip -cd "$file";; *.bz2) bzip2 -cd "$file";; *) cat "$file";; esac done --- FILE mkhd --- #!/usr/bin/perl use warnings; use strict; my($outfile, $cylinders, $heads, $sectors) = @ARGV; $cylinders || die("usage: $0 outfile cylinders [heads] [sectors]\n"); $heads ||= 16; $sectors ||= 63; my($size) = $cylinders * $heads * $sectors * 512; local(*HD); open(HD, ">", $outfile) || die("open $outfile: $!"); truncate(HD, $size) || die("truncate $outfile: $!"); close(HD) || die("close $outfile: $!"); --- FILE bochs-config --- # configuration file generated by Bochs config_interface: textconfig display_library: x megs: 64 romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 vgaromimage: $BXSHARE/VGABIOS-elpin-2.40 boot: floppy floppya: 1_44="floppy.img", status=inserted # no floppyb ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15 ata2: enabled=0 ata3: enabled=0 ata0-master: type=disk, path="hda.img", mode=flat, cylinders=$HDA_CYLINDERS, heads=16, spt=63 ata1-master: type=cdrom, path="cd.iso", status=ejected parport1: enabled=1, file="" com1: enabled=1, dev="" usb1: enabled=1, ioaddr=0xff80, irq=10 # no sb16 floppy_bootsig_check: disabled=0 vga_update_interval: 30000 keyboard_serial_delay: 2000 keyboard_paste_delay: 10000 floppy_command_delay: 50000 ips: 8000000 text_snapshot_check: 0 mouse: enabled=0 private_colormap: enabled=0 i440fxsupport: enabled=0 clock: sync=none, time0=local # no ne2k newharddrivesupport: enabled=1 # no loader log: - logprefix: %t%e%d debugger_log: - panic: action=fatal error: action=report info: action=report debug: action=ignore pass: action=fatal keyboard_mapping: enabled=0, map= keyboard_type: mf user_shortcut: keys=ctrlaltdel # no cmosimage --- FILE floppy/syslinux.cfg --- display logo prompt 1 timeout 200 f1 help append initrd=initrd root=/dev/ram0 rw --- FILE floppy/logo --- 6e 07 6e 07 6e 北北北北 北北北北 07 6e 北北北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 北北北北北北北北北北北北北北 07 6e 07 toast linux Press 0fF107 within 20 seconds, or risk losing the contents of all hard disks! --- FILE floppy/help --- By default, the network will be configured automatically using DHCP. All available network interfaces will be tried sequentially, starting with eth0; the first one that responds to DHCP will be used. You can override this behavior with the IF parameter: linux IF=eth1,eth0,eth3 [try only those interfaces in order given] You can specify a static IP configuration as follows: linux IP=192.168.0.100 GW=192.168.0.1 Replace "192.168.0.100" with the IP address you want to use, and "192.168.0.1" with your gateway or router's IP address. The IF parameter given above still applies; the first interface that can successfully ping the given gateway will be used. Other possible options include: NM=255.255.255.0 netmask (default: compute from IP by class) DNS=205.217.153.34 DNS server list (default: ofb.net) These parameters control disk partitioning: DISKS=hda,hdb,sda install on specified disks only DESTROY=yes overwrite existing disk contents --- FILE root/etc/passwd --- root:x:0:0:root:/root:/bin/zsh bin:x:1:1:bin:/bin:/bin/false daemon:x:2:2:daemon:/sbin:/bin/false adm:x:3:4:adm:/var/adm:/bin/false lp:x:4:7:lp:/var/spool/lpd:/bin/false sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/bin/false news:x:9:13:news:/var/spool/news:/bin/false uucp:x:10:14:uucp:/var/spool/uucp:/bin/false operator:x:11:0:operator:/root:/bin/false games:x:12:100:games:/usr/games:/bin/false ftp:x:14:50:FTP User:/home/ftp:/bin/false toast:x:42:42:toast:/toast:/bin/zsh nobody:x:99:99:nobody:/:/bin/false --- FILE root/etc/group --- root:x:0:root bin:x:1:bin daemon:x:2:daemon sys:x:3:sys adm:x:4:adm tty:x:5: disk:x:6: lp:x:7:lp mem:x:8: kmem:x:9: wheel:x:10: mail:x:12:mail news:x:13:news uucp:x:14:uucp man:x:15: floppy:x:19: games:x:20:games slocate:x:21: utmp:x:22: squid:x:23: gopher:x:30: toast:x:42:toast ftp:x:50: nobody:x:99: users:x:100: nofiles:x:65533: --- FILE root/etc/hosts --- 127.0.0.1 localhost --- FILE root/etc/host.conf --- order hosts,bind multi on --- FILE root/etc/nsswitch.conf --- hosts: files dns --- FILE root/etc/resolv.conf --- nameserver 205.217.153.34 --- FILE root/etc/TZ --- PST8PDT --- FILE root/etc/ld.so.conf --- --- FILE root/etc/lvm/lvm.conf --- devices { sysfs_scan=0 } --- FILE root/etc/syslog.conf --- *.* /var/log/syslog --- FILE root/etc/fstab --- /dev/ram0 / ext2 rw 0 0 proc /proc proc rw 0 0 sys /sys sysfs rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/fd0 /mnt/floppy vfat rw,noauto,sync 0 0 /dev/toast/root /mnt/root ext2 rw,noauto 0 0 /dev/toast/boot /mnt/root/boot ext2 rw,noauto 0 0 proc /mnt/root/proc proc rw,noauto 0 0 sys /mnt/root/sys sysfs rw,noauto 0 0 --- FILE root/etc/fstab.hd --- /dev/toast/root / ext3 rw 0 0 /dev/toast/boot /boot ext3 rw 0 0 proc /proc proc rw 0 0 sys /sys sysfs rw 0 0 dev /dev devfs rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/fd0 /mnt/floppy vfat rw,noauto,sync 0 0 --- FILE root/etc/mtab --- /dev/ram0 / ext2 rw 0 0 --- FILE root/etc/mtab.hd --- /dev/ram0 / ext2 rw 0 0 --- FILE root/etc/lilo.conf --- boot = /dev/hda root = /dev/ram0 initrd = /boot/initrd.gz delay = 40 lba32 read-write image = /boot/vmlinuz label = toast image = /boot/vmlinuz.off label = oldkernel optional image = /boot/vmlinuz.off.off label = olderkernel optional image = /boot/vmlinuz initrd = /boot/initrd.gz.off label = oldinitrd optional image = /boot/vmlinuz initrd = /boot/initrd.gz.off.off label = olderinitrd optional image = /boot/vmlinuz.off initrd = /boot/initrd.gz.off label = oldkoldi optional --- FILE root/etc/profile --- PS1='\u@\h:\w\$ ' --- FILE root/etc/inittab --- ::sysinit:/etc/init.d/rc.start ::respawn:/etc/init.d/rc.main ::shutdown:/etc/init.d/rc.stop ::ctrlaltdel:/sbin/reboot --- FILE root/etc/init.d/rc.start --- #!/bin/sh -e devices mount -a ifconfig lo 127.0.0.1 hostname localhost --- FILE root/etc/init.d/rc.stop --- #!/bin/sh swapoff -a [ -d /mnt/root/proc/1 ] && umount /mnt/root/proc [ -d /mnt/root/sys/class ] && umount /mnt/root/sys umount -a -r --- FILE root/etc/init.d/rc.main --- #!/bin/sh run sh --login --- FILE root/sbin/network --- #!/bin/sh echo "Configuring network." IF="`echo \"$IF\" | sed -e 's/[^a-z0-9]/ /g; s/^ *//; s/ *$//'`" IP="`echo \"$IP\" | sed -e 's/[^0-9\.]/ /g; s/^ *//; s/ *$//'`" NM="`echo \"$NM\" | sed -e 's/[^0-9\.]/ /g; s/^ *//; s/ *$//'`" GW="`echo \"$GW\" | sed -e 's/[^0-9\.]/ /g; s/^ *//; s/ *$//'`" DNS="`echo \"$DNS\" | sed -e 's/[^0-9\.]/ /g; s/^ *//; s/ *$//'`" if [ -z "$IF" ]; then IF=`cd /sys/class/net && echo eth*` if [ "$IF" = "eth*" ]; then echo "No supported network devices found." exit 1 fi fi if [ -n "$IP" ]; then if [ -z "$NM" ]; then NETMASK="" eval `ipcalc -sm "$IP"` NM="$NETMASK" fi if [ -z "$GW" ]; then NETWORK="" BROADCAST="" eval `ipcalc -sn "$IP" $NM` eval `ipcalc -sb "$IP" $NM` # TODO: guess gateway from NETWORK and/or BROADCAST fi fi [ -n "$NM" ] && mask="netmask $NM" if [ -n "$DNS" ]; then : > /etc/resolv.tmp for i in $DNS; do echo "nameserver $i" >> /etc/resolv.tmp done mv /etc/resolv.tmp /etc/resolv.conf fi for if in $IF; do if [ -z "$IP" ]; then udhcpc -n -i "$if" && exit 0 elif ifconfig "$if" "$IP" $mask; then [ -z "$GW" ] && exit 0 for gw in $GW; do if ping -c 3 "$gw"; then for j in $GW; do route add default gw "$j" dev "$if" done HOSTNAME="`hostname`" eval `ipcalc -sh "$IP"` hostname "$HOSTNAME" exit 0 fi done ifconfig "$if" down fi done echo "Unable to configure network." exit 1 --- FILE root/share/udhcpc/default.script --- #!/bin/sh case "$1" in deconfig) ifconfig "$interface" 0.0.0.0 ;; nak|leasefail) ifconfig "$interface" down ;; bound|renew) mask="" [ -n "$NM" ] && mask="netmask $NM" [ -n "$subnet" ] && mask="netmask $subnet" ifconfig "$interface" "$ip" $mask || exit $? while route del default gw 0.0.0.0 dev "$interface"; do :; done 2>/dev/null if [ -n "$router" ]; then for r in $router; do route add default gw "$r" dev "$interface"; done fi if [ -n "$dns" ]; then : > /etc/resolv.tmp for n in $dns; do echo "nameserver $n" >> /etc/resolv.tmp; done else cp /etc/resolv.conf /etc/resolv.tmp fi [ -n "$domain" ] && echo "domain $domain" >> /etc/resolv.tmp mv /etc/resolv.tmp /etc/resolv.conf if [ -n "$hostname" ]; then hostname "$hostname" else HOSTNAME=`hostname` eval `ipcalc -sh "$ip"` hostname "$HOSTNAME" fi ;; *) echo "unexpected arguments: $*" >&2 exit 1 ;; esac exit 0 --- FILE root/sbin/timeout --- #!/bin/sh seconds="$1" if [ -z "$seconds" -o "$seconds" -le 0 ]; then echo "usage: $0 " >&2 exit 1 fi save="`stty -g`" key="" while [ "$seconds" -gt 0 -a -z "$key" ]; do echo -ne '\r'"$seconds " stty raw -echo time 10 min 0 || exit $? key="`dd bs=1 count=1 2>/dev/null`" stty "$save" let seconds="$seconds - 1" done echo -ne '\r \r' [ -z "$key" ] --- FILE root/sbin/task --- #!/bin/sh start="`date +'%s'`" if [ "$1" = "init" ]; then [ -n "$TASK_INIT" ] && exit 0 shift for i in `seq 1 25`; do echo; done TASK_INIT=1 exec "$@" fi estimate="$1" name="$2" shift 2 dir="/var/run/task" list="$dir/LIST" file="$dir/$name" if [ -n "$TASK_INIT" ]; then [ -r "$file" ] && exit 0 mkdir -p "$dir" echo "$name $estimate" >> $list : > "$file" exit 0 fi [ -s "$file" ] && exit 0 hms() { local h m s case "$1" in [0-9]*) let h="$1/3600" let m="($1/60)%60" let s="$1%60" printf "%d:%02d:%02d\n" "$h" "$m" "$s" ;; *) echo "?:??:??" ;; esac } out="" p() { out="$out$*"; } firstline=4 line="" etotal=0 atotal=0 esofar=0 asofar=0 while read n e; do line="$line $n" if echo "$line" | egrep -q '.{79}'; then let firstline="1+$firstline" p '\33[K\12' line=" $n" fi p '\33[0;44m ' if [ "$name" = "$n" ]; then p '\33[0;1m' esofar="$etotal" asofar="$atotal" fi let etotal="$etotal+$e" [ -s "$dir/$n" ] && read a < "$dir/$n" && let atotal="$atotal+$a" p "$n" p '\33[0;44m' done < "$list" remain="" this="" let percent="$esofar*100/$etotal" if [ "$percent" -gt 0 -a "$esofar" -gt 0 -a "$asofar" -gt 0 ]; then let remain="($etotal-$esofar)*$asofar/$esofar" let this="$estimate*$asofar/$esofar" fi out='\33[s\33[H\33[0;1;42m'"`hms $asofar` elapsed / $percent% complete = `hms $remain` left ($name: `hms $this`)"'\33[K\12'"$out" p '\33[K\12\16\33[1;33;43m' let bar="$esofar*80/$etotal" while [ "$bar" -gt 0 ]; do p '0' let bar="$bar-1" done p '\17\33[K\33[m\33['"$firstline"'r\33[u' echo -ne "$out" if ! "$@"; then echo -ne '\33[s\33[r\33[u' exit 1 fi let elapsed="`date +'%s'`-$start" echo "$elapsed" > $file --- FILE root/sbin/setup --- #!/bin/sh -e target="/mnt/root" mount "$target" if [ "`cd /$target; echo *`" != "lost+found" ]; then echo "unexpected filesystem contents: $target" >&2 exit 1 fi copy="dev etc lib" for i in /bin/* /sbin/*; do ls -l "$i" | grep -q 'busybox$' && copy="$copy $i" done (cd / && tar c $copy) | (cd "$target" && tar x) relrootdir="/toast/pkg/busybox/vunknown/1/root" rootdir="$target/$relrootdir" mkdir -p "$rootdir" for i in bin sbin lib; do mv "$target/$i" "$rootdir/$i" mkdir -p "$target/usr/$i" ln -s "usr/$i" "$target/$i" done touch "$rootdir/../build.log" for i in `cd "$rootdir" && find *`; do ln -s "$relrootdir/$i" "$target/$i" done for i in boot etc/dhcpc mnt/boot mnt/floppy mnt/cdrom proc root sys tmp usr/man var/empty var/lock var/run var/log var/spool/mail; do mkdir -p "$target/$i" done chmod 1777 "$target/tmp" for i in boot proc sys; do mount "$target/$i"; done ln -s "../usr/share/zoneinfo/`cat /etc/TZ`" "$target/etc/localtime" for i in inittab rc devfsd.conf protocols services rpc fdprm; do ln -sf "../usr/etc/$i" "$target/etc/$i" done rm -fr "$target/etc/init.d" ln -s . "$target/usr/usr" ln -s gcc "$target/bin/cc" ln -s vim "$target/bin/vi.off" ln -s bash "$target/bin/sh.off" rm "$target/bin/sh" for i in `cd "$target/etc" && echo *.hd`; do mv "$target/etc/$i" "$target/etc/`basename $i .hd`" done chmod go-w "$target/dev" chmod -R go-w "$target/etc" 2>/dev/null || true # ignore broken symlinks [ -z "$USERS" ] && USERS=user USERS="`echo \"$USERS\" | sed -e 's/[^a-z0-9]/ /g; s/^ *//; s/ *$//'`" uid=500 for i in $USERS; do echo "$i:x:$uid:$uid:$i:/home/$i:/bin/zsh" >> "$target/etc/passwd" echo "$i:x:$uid:" >> "$target/etc/group" [ -r "$target/etc/user" ] || echo $i > "$target/etc/user" mkdir -p "$target/home/$i" chown $uid.$uid "$target/home/$i" let uid="1+$uid" done --- FILE root/sbin/devices --- #!/bin/sh process() { if [ -r "$1" ]; then IFS=: read major minor < "$1" name="`dirname $1`"; name="/dev/`basename $name`" [ -b "$name" -o -c "$name" ] || mknod "$name" "$type" "$major" "$minor" fi } mkdir -p /sys /dev [ ! -d /sys/block ] && mount -t sysfs sys /sys type=b for i in /sys/block/*/dev; do process "$i"; done for i in /sys/block/*/*/dev; do process "$i"; done type=c for i in /sys/class/*/*/dev; do process "$i"; done if [ ! -d /dev/pts ]; then mkdir -p /dev/pts mount -t devpts devpts /dev/pts fi if [ -c /dev/device-mapper -a ! -d /dev/mapper ]; then mkdir -p /dev/mapper ln -sf ../device-mapper /dev/mapper/control fi [ -p /dev/initctl ] || mknod /dev/initctl p chmod 666 /dev/null --- FILE root/sbin/swap --- #!/bin/sh # If available memory is less than "goalmegs" megabytes, create and activate # a swap volume to bring it up to that amount. # TODO: combine this with the /sbin/partition script. # BUG: the permanent fstab isn't getting updated goalmegs=512 vgname=toast lvname=swap lvpath="/dev/$vgname/$lvname" read caption number units < /proc/meminfo if [ "$caption $units" != "MemTotal: kB" ]; then echo "Error parsing /proc/meminfo: $caption $number $units" >2 exit 1 fi let goalk="1024*$goalmegs" [ "$number" -ge "$goalk" ] && exit 0 let lvk="$goalk-$number" set -e lvcreate -L "$lvk"k -n "$lvname" "$vgname" mkswap "$lvpath" echo "$lvpath swap swap defaults 0 0" >> /etc/fstab swapon -a --- FILE root/sbin/partition --- #!/bin/sh if [ "$*" != "foo" ]; then set -e echo "" echo "Examining disks:" $0 foo > /tmp/partition.tmp grep '^# ' /tmp/partition.tmp echo "Preparing to write new disk partitions as described above." echo "Press any key to abort." timeout 20 sh -ex /tmp/partition.tmp rm /tmp/partition.tmp exit 0 fi # Environment variables: # DISKS # DESTROY # Number of partitions to create on each disk. # Each partition will be an LVM2 physical volume (PE). # We split each disk into multiple partitions/PEs because there is no way # to resize a PE once it has been created. It would be very difficult # to make room for another OS later on if we used only one PV per disk. # Linux only allocates 15 minor numbers for SCSI disk partitions; # if 1 is primary, 2 is extended, and 5-15 are logical, then there is a # maximum of 12 usable partitions per disk. slices=8 # LVM2 physical extent (PE) size, in megabytes. This must be a power of two! # Once the volume group (VG) has been created, its PE size can't be changed. # The maximum logical volume (LV) size for the VG is about 64k times PE size. # A PE size of 32 MB gets you a maximum LV size of 2 terabytes, which is # the maximum allowed, so there is no point in using a value larger than 32. # Each partition must be large enough to fit at least one PE (plus overhead), # or it won't be very useful. # Since each PV stores data in multiples of the PE size, smaller values might # waste a bit less space, especially on smaller drives. pemegs=16 # Number of megabytes to allocate to the /boot logical volume. # /boot needs to be on a separate LV because current versions of lilo # seem to panic if the LV spans multiple PVs (even if they're on the # same disk!), so we need a special LV that is explicitly restricted to # one PV. bootmegs=128 # Percentage of the total space in the volume group to allocate to the # root logical volume we'll be creating. # Remaining space in the VG will be used for /boot, swap (if any), # by snapshots (for fsck or backups) and/or any other logical volumes # the user might decide to create later. lvpercent=80 # Volume group name. If we want to be able to coexist peacefully with an # existing Linux setup that also uses LVM, this shouldn't conflict with any # existing volume group names. vgname="toast" # Temporary file used to store munged parted output. tmpfile=/tmp/parted.munge.$$ error() { echo "$*" >&2 rm -f "$tmpfile" exit 1 } valid_disk_name() { case "$1" in */*) return 1 ;; *[0-9]) return 1 ;; [hs]d[a-z]*) return 0 ;; *) return 1 ;; esac } # get/validate list of disks if [ -n "$DISKS" ]; then for disk in $DISKS; do valid_disk_name "$disk" || error "bad disk name: $disk" done else while read major minor blocks name rest; do valid_disk_name "$name" && DISKS="$DISKS $name" done < /proc/partitions [ -z "$DISKS" ] && error "no disks found" fi # create/check block device nodes for all disks for disk in $DISKS; do path="/dev/$disk" [ -b "$path" ] || error "not a block device: $path" [ -r "$path" ] || error "can't read disk: $disk" [ -w "$path" ] || error "can't write disk: $disk" done # create partitions pvpaths="" let pecount=0 for disk in $DISKS; do path="/dev/$disk" parted="parted -s $path --" diskmajor="" diskminor="" totalm="" totalk="" overwrite="" lastminor=0 extminor=0 labeltype="" primary1exists="" primary2exists="" primary3exists="" primary4exists="" case "$disk" in h*) maxminor=63 ;; # IDE s*) maxminor=15 ;; # SCSI *) error "assertion failed: $disk" esac while read major minor blocks name rest; do if [ "$name" = "$disk" ]; then diskmajor="$major" diskminor="$minor" let totalm="$blocks/1024" let totalk="($blocks%1024)*1000/1024" case "$totalk" in [0-9]) totalk="00$totalk" ;; [1-9][0-9]) totalk="0$totalk" ;; [1-9][0-9][0-9]) ;; *) error "assertion failed: disk=$disk blocks=$blocks k=$totalk" esac fi done < /proc/partitions [ -z "$totalm" ] && error "assertion failed: disk=$disk totalm=$totalm" [ -z "$totalk" ] && error "assertion failed: disk=$disk totalk=$totalk" [ -z "$diskmajor" ] && error "assertion failed: no major for disk=$disk" [ -z "$diskminor" ] && error "assertion failed: no minor for disk=$disk" sum=bf619eac0cdf3f68d496ea9344137e8b # md5sum of 512 zero bytes if [ "$DESTROY" = "yes" ]; then echo "# Entire disk $disk will be overwritten unconditionally." overwrite="yes" elif dd if="$path" bs=512 count=1 2>/dev/null | md5sum | grep -q "$sum"; then echo "# Disk $disk appears to be empty; entire disk will be overwritten." overwrite="yes" else echo "# Contents of disk $disk may be accidentally destroyed." # TODO: tell user what partitions will go on this disk, if any $parted print | sed -e 's/0\.000-//; s/\./ /g' > "$tmpfile" while read one two three four five six rest; do if [ "$one $two $three" = "Disk geometry for" ]; then totalm="$five" totalk="$six" fi [ "$one $two $three" = "Disk label type:" ] && labeltype="$one" case "$one" in [0-9]*) [ "$one" -gt "$lastminor" ] && lastminor="$one" [ "$six" = "extended" ] && extminor="$one" [ "$six" = "primary" ] && eval "primary${one}exists=yes" ;; esac done < "$tmpfile" rm -f "$tmpfile" fi freeslot=0 for slot in 4 3 2; do eval "[ -n \$primary{$slot}used ]" && freeslot="$slot" done if [ -n "$overwrite" ]; then lastminor=0 extminor=0 labeltype="msdos" echo "dd if=/dev/zero of=$path bs=512 count=1" echo "$parted mklabel $labeltype" fi if [ "$labeltype" = "msdos" ] && [ "$extminor" -gt 0 -o "$freeslot" -gt 0 ]; then let slicemegs="$totalm/$slices" [ "$slicemegs" -le "$pemegs" ] && slicemegs=$totalm let splitmegs="$slicemegs*2" lastm=0 lastk=000 { if [ -z "$overwrite" ]; then $parted print | grep "^[0-9]" | cut -c 3- | sort -n | sed -e 's/\./ /g' fi echo "$totalm $totalk END END END END END" } > "$tmpfile" while read startm startk endm endk type fs flags; do let gapmegs="($startm$startk-$lastm$lastk)/1000" create=yes while [ "$gapmegs" -gt "$pemegs" -a "$lastminor" -lt "$maxminor" -a -n "$create" ]; do if [ "$gapmegs" -gt "$splitmegs" ]; then let newendm="$lastm+$slicemegs" newendk="$lastk" let gapmegs="$gapmegs-$slicemegs" else newendm="$startm" newendk="$startk" gapmegs="0" fi let newminor="1+$lastminor" if [ "$newminor" -eq 1 ]; then newtype="primary" else newtype="logical" [ "$newminor" -le 4 ] && newminor=5 if [ "$extminor" -eq 0 ]; then extminor="$freeslot" echo "$parted mkpart extended $lastm.$lastk -0" echo "$parted set $extminor lba on" fi fi echo "$parted mkpart $newtype ext2 $lastm.$lastk $newendm.$newendk" echo "$parted set $newminor lvm on" pvpaths="$pvpaths $path$newminor" let newpecount="($newendm$newendk-$lastm$lastk)/($pemegs*1000)" let pecount="$pecount+$newpecount" lastm="$newendm" lastk="$newendk" lastminor="$newminor" done lastm="$endm" lastk="$endk" done < "$tmpfile" rm -f "$tmpfile" fi done # create an ext3 filesystem on the new partitions [ -z "$pvpaths" -o "$pecount" -eq 0 ] && error "no room for new partitions" let lvextents="$pecount*$lvpercent/100" echo "devices" for pvpath in $pvpaths; do echo "dd if=/dev/zero of=$pvpath bs=512 count=10" done echo "pvcreate -fy -M2 $pvpaths" echo "vgcreate -s $pemegs $vgname $pvpaths" echo "lvcreate -L "$bootmegs"m -n boot $vgname" # TODO: restrict to first PV echo "lvcreate -l $lvextents -n root $vgname" echo "vgchange -ay $vgname" for lvname in boot root; do lvpath="/dev/$vgname/$lvname" echo "parted -s $lvpath -- mklabel loop" echo "parted -s $lvpath -- mkpartfs primary ext2 0 -0" echo "tune2fs -j $lvpath" done --- FILE root/sbin/bootable --- #!/bin/sh -e [ -d /mnt/root/proc/1 ] || ! echo "/mnt/root/proc not mounted?" [ -d /mnt/root/sys/class ] || ! echo "/mnt/root/sys not mounted?" rm -f /mnt/root/dev/dm-[0-9]* chroot /mnt/root vgscan chroot /mnt/root sh -c 'cp /usr/boot/* /boot/' exec chroot /mnt/root lilo "$@" --- FILE root/sbin/toast --- #!/bin/sh [ -z "$TOAST_ARMDIR" ] && export TOAST_ARMDIR=/usr ls /mnt/root/lib/ld-uClibc.so.0 >/dev/null 2>&1 && export TOAST_PRELOAD=false exec chroot /mnt/root /bin/toast "$@" --- FILE root/sbin/utoast --- #!/bin/sh # utoast - minimal toast replacement script for toast linux toaststrap process # paths to use: chrootdir=/mnt/root relstoredir=/toast relarmdir=/usr storedir="$chrootdir""$relstoredir" armdir="$chrootdir""$relarmdir" # functions announce() { echo "$*" } explain() { echo "# $*" } error() { [ -n "$*" ] && echo "utoast: $*" >&2 echo "utoast: aborting" >&2 exit 1 } # parse command line name="$1" shift version="$1" shift # remaining args are urls [ -n "$*" ] || error "usage: $0 name version url..." # add namedir="$storedir/pkg/$name" verdir="$namedir/v$version" [ -d "$verdir" ] && error "$name version $version has already been added" announce mkdir -p "$namedir" mkdir -p "$namedir" || error announce mkdir "$verdir" mkdir "$verdir" || error urlfile="$verdir/url" urlfiletmp="$urlfile.tmp" explain "creating $urlfile.tmp" for url in "$@"; do echo "$url" >> "$urlfiletmp" || error done announce mv "$urlfiletmp" "$urlfile" mv "$urlfiletmp" "$urlfile" || error # get archivedir="$verdir/archive" archivedirtmp="$archivedir.tmp" announce mkdir "$archivedirtmp" mkdir "$archivedirtmp" || error for url in "$@"; do announce "(cd $archivedirtmp && wget $url)" (cd "$archivedirtmp" && wget "$url") || error done announce mv "$archivedirtmp" "$archivedir" mv "$archivedirtmp" "$archivedir" || error # build build=1 builddir="$verdir/$build" relbuilddir="$relstoredir/pkg/$name/v$version/$build" srcdir="$builddir/src" relsrcdir="$relbuilddir/src" rootdir="$builddir/root" relrootdir="$relbuilddir/root" announce mkdir "$builddir" mkdir "$builddir" || error buildlog="$builddir/build.log" brokenlog="$builddir/broken.log" explain "redirecting to $brokenlog" { explain "utoast building $name version $version" announce date date announce uname -a uname -a announce env env announce cat "$urlfile" cat "$urlfile" announce md5sum "$archivedir"/* md5sum "$archivedir"/* # extract announce mkdir "$srcdir" mkdir "$srcdir" || error for archive in "$archivedir"/*; do explain "extracting $archive" case "$archive" in *.deb) dpkg-deb -x "$archive" "$srcdir" || error;; *.tar.gz) (cd "$srcdir" && tar xzf "$archive") || error;; *.tar.bz2) (cd "$srcdir" && tar xjf "$archive") || error;; *) error "don't know how to extract: $archive";; esac done # compile isbin=false for subdir in usr bin etc lib sbin; do [ -d "$srcdir/$subdir" ] && isbin=true done for file in "$srcdir"/*; do [ ! -d $file ] && isbin=false done if $isbin; then announce mv "$srcdir" "$rootdir" mv "$srcdir" "$rootdir" || error # terrible hack: create "gcc" symlink for debian gcc-2.95 binary if [ ! -x "$rootdir/usr/bin/gcc" ]; then for gcc in $rootdir/usr/bin/gcc-*; do if [ -x "$gcc" ]; then announce ln -sf `basename $gcc` "$rootdir/usr/bin/gcc" ln -sf `basename $gcc` "$rootdir/usr/bin/gcc" fi done fi else # configure makedir="$srcdir" relmakedir="$relsrcdir" subdir=`cd $makedir && echo *` if [ -d "$makedir/$subdir" ]; then makedir="$makedir/$subdir" relmakedir="$relmakedir/$subdir" fi unconfigured=true for confprog in configure.gnu configure; do if $unconfigured && [ -x "$makedir/$confprog" ]; then announce chroot "$chrootdir" sh -c "cd $relmakedir && ./$confprog --prefix=$relarmdir" chroot "$chrootdir" sh -c "cd $relmakedir && ./$confprog --prefix=$relarmdir" || error unconfigured=false fi done $unconfigured && error "can't figure out how to configure" # prepare rootdir announce mkdir "$rootdir" mkdir "$rootdir" || error # make all install if [ -r "$makedir/build.sh" ]; then # bootstrap GNU make itself; work around apparent make 3.80 build.sh bug announce "sed -e 's/\@REMOTE\@/stub/' < $makedir/build.sh > $makedir/build.sh.patched" sed -e 's/\@REMOTE\@/stub/' < "$makedir/build.sh" > "$makedir/build.sh.patched" || error announce chroot "$chrootdir" sh -c "cd $relmakedir && sh build.sh.patched" chroot "$chrootdir" sh -c "cd $relmakedir && sh build.sh.patched" || error announce PATH="$PATH:$relmakedir" chroot "$chrootdir" make -C "$relmakedir" install DESTDIR="$relrootdir" PATH="$PATH:$relmakedir" chroot "$chrootdir" make -C "$relmakedir" install DESTDIR="$relrootdir" || error else announce chroot "$chrootdir" make -C "$relmakedir" all install DESTDIR="$relrootdir" chroot "$chrootdir" make -C "$relmakedir" all install DESTDIR="$relrootdir" || error fi # fix rootdir announce chmod -R -w "$rootdir" chmod -R -w "$rootdir" || error # autoclean announce rm -fr "$srcdir" rm -fr "$srcdir" || error fi } 2>&1 | tee "$brokenlog" | sed 's/^/ /' || error [ -d "$rootdir" ] || error announce mv "$brokenlog" "$buildlog" mv "$brokenlog" "$buildlog" || error # arm displace() { if ls "$1" >/dev/null 2>&1; then displace "$1.off" announce mv "$1" "$1.off" mv "$1" "$1.off" || error fi } (cd "$rootdir" && find .) | while read -r rel; do rootfile="$rootdir/$rel" relrootfile="$relrootdir/$rel" armfile="$armdir/$rel" if [ -d "$rootfile" ]; then if [ ! -d "$armfile" ]; then announce mkdir "$armfile" mkdir "$armfile" || error fi else [ -d "$armfile" ] && error "$armfile is a directory but $rootfile isn't" displace "$armfile" announce ln -s "$relrootfile" "$armfile" ln -s "$relrootfile" "$armfile" || error fi done --- FILE root/sbin/utoastdeb --- #!/bin/sh urls="" deb() { urls="$urls http://http.us.debian.org/debian/pool/main/$1_i386.deb" } deb g/glibc/libc6_2.3.2.ds1-11 deb g/glibc/libc6-dev_2.3.2.ds1-11 deb l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-15 deb b/binutils/binutils_2.14.90.0.7-6 deb g/gcc-3.3/gcc-3.3_3.3.3-6 deb g/gcc-3.3/cpp-3.3_3.3.3-6 deb p/perl/perl-base_5.8.3-3 deb n/ncurses/libncurses5_5.4-3 deb b/bash/bash_2.05b-14 exec utoast bin 0 $urls --- FILE root/sbin/run --- #!/bin/sh -e task init "$0" task 2 network network task 123 partition partition task 1 swap swap task 1 setup setup task 89 bin utoastdeb task 54 make utoast make 3.80 http://ftp.gnu.org/gnu/make/make-3.80.tar.bz2 task 4 toast utoast toast 1.327 http://toastball.net/toast/toast-1.327.tar.gz task 88 gawk toast arm http://ftp.gnu.org/gnu/gawk/gawk-3.1.3.tar.bz2 task 267 coreutils toast arm http://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.bz2 task 849 perl toast arm http://www.cpan.org/src/5.0/perl-5.8.3.tar.gz task 537 binutils toast arm http://ftp.gnu.org/gnu/binutils/binutils-2.14.tar.bz2 task 755 gcc-core toast arm http://ftp.gnu.org/gnu/gcc/gcc-3.3.2/gcc-core-3.3.2.tar.bz2 task 5476 glibc toast arm glibc/2.3.2: [ http://ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.bz2 http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.2.tar.bz2 http://kernel.org/pub/linux/kernel/v2.4/linux-2.4.25.tar.bz2 http://toastball.net/toast-linux-tmp/glibc-2.3.2-gcc-2.3.x.patch ] # http://www.rocklinux.net/sources/package/base/glibc23/gcc33-hotfix.patch # http://nl.lunar-linux.org/lunar/patches/glibc-2.3.2-newstyle.patch # http://www.mozilla.org/projects/minimo/toolchain/glibc-2.3.2.diff # http://www.linuxfromscratch.org/patches/lfs/5.0/glibc-2.3.2-sscanf-1.patch # http://www.muth.org/Robert/Patch/glibc-2.3.2.patch # http://sources.redhat.com/ml/bug-glibc/2003-10/msg00101/sscanf.c.diff # http://mirror.gentoo.ru/pub/mirror/gentoo-portage/sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch # http://www.pengutronix.de/software/ptxdist/patches-0.5.0/glibc-2.3.2/generic/generic-sscanf.diff task 1735 rebuild toast rebuild make toast gawk coreutils binutils perl task 6076 gcc toast arm http://ftp.gnu.org/gnu/gcc/gcc-3.3.2/gcc-3.3.2.tar.bz2 task 175 bash toast arm http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz task 55 sed toast arm http://ftp.gnu.org/gnu/sed/sed-4.0.9.tar.gz task 54 grep toast arm http://ftp.gnu.org/gnu/grep/grep-2.5.tar.bz2 task 9 gzip toast arm http://ftp.gnu.org/gnu/gzip/gzip-1.2.4a.tar.gz task 75 tar toast arm ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz task 67 wget toast arm http://ftp.gnu.org/gnu/wget/wget-1.9.1.tar.gz task 37 remove toast remove bin busybox gcc-core task 66 diffutils toast arm http://ftp.gnu.org/gnu/diffutils/diffutils-2.8.1.tar.gz task 16 bzip2 toast arm http://mirrors.kernel.org/sources.redhat.com/bzip2/v102/bzip2-1.0.2.tar.gz task 70 util-linux toast arm http://kernel.org/pub/linux/utils/util-linux/util-linux-2.11z.tar.bz2 task 25 module-init-tools toast arm http://kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.0.tar.bz2 task 322 ncurses toast arm http://ftp.gnu.org/gnu/ncurses/ncurses-5.4.tar.gz task 485 gettext toast arm http://ftp.gnu.org/gnu/gettext/gettext-0.14.1.tar.gz task 60 readline toast arm http://ftp.gnu.org/gnu/readline/readline-4.3.tar.gz task 37 procps toast arm http://procps.sourceforge.net/procps-3.1.15.tar.gz task 22 patch toast arm http://ftp.gnu.org/gnu/patch/patch-2.5.4.tar.gz task 25 findutils toast arm [ http://ftp.gnu.org/gnu/findutils/findutils-4.1.tar.gz http://downloads.linuxfromscratch.org/findutils-4.1.patch ] task 16 sysvinit toast arm ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.85.tar.gz task 8 sysklogd toast arm http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.4.1.tar.gz task 1871 linux toast arm [ http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2 http://toastball.net/toast-linux-tmp/linux-2.6.5-config.tar.gz ] task 22 device-mapper toast arm http://mirrors.kernel.org/sources.redhat.com/dm/device-mapper.1.00.17.tgz task 84 lvm2 toast arm http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.00.15.tgz task 16 bin86 toast arm http://www.cix.co.uk/~mayday/dev86/bin86-0.16.15.tar.gz task 64 nasm toast arm http://unc.dl.sourceforge.net/sourceforge/nasm/nasm-0.98.38.tar.bz2 task 27 lilo toast arm lilo/22.5.8+devmapper: [ http://home.san.rr.com/johninsd/pub/linux/lilo/obsolete/lilo-22.5.8.tar.gz http://www.saout.de/misc/lilo-22.5.8-devmapper.patch ] task 327 e2fsprogs toast arm http://unc.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-1.34.tar.gz task 7 devfsd toast arm http://kernel.org/pub/linux/daemons/devfsd/devfsd-v1.3.25.tar.bz2 task 6 genext2fs toast arm genext2fs/1.3-4: [ http://http.us.debian.org/debian/pool/main/g/genext2fs/genext2fs_1.3.orig.tar.gz http://http.us.debian.org/debian/pool/main/g/genext2fs/genext2fs_1.3-4.diff.gz ] task 18 toastinit toast arm http://toastball.net/toast-linux-tmp/toastinit-1.15.tar.gz task 1 toastlogin toast arm http://toastball.net/toast-linux-tmp/toastlogin-1.8.tar.gz task 4 iana-etc toast arm http://www.sethwklein.net/projects/iana-etc/downloads/iana-etc-0.99.tar.bz2 task 238 zsh toast arm http://archive.progeny.com/zsh/zsh-4.2.0.tar.bz2 task 34 net-tools toast arm http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2 task 20 dhcpcd toast arm http://www.phystech.com/ftp/dhcpcd-1.3.22-pl4.tar.gz task 7 bootable bootable [ -n "$MINIMAL" ] && exit 0 task 17 zlib toast arm http://www.libpng.org/pub/png/src/zlib-1.2.1.tar.gz task 192 vim toast arm ftp://ftp.vim.org/pub/vim/unix/vim-6.2.tar.bz2 task 131 inetutils toast arm http://ftp.gnu.org/gnu/inetutils/inetutils-1.4.2.tar.gz task 50 less toast arm http://www.greenwoodsoftware.com/less/less-381.tar.gz task 98 parted toast arm http://ftp.gnu.org/gnu/parted/parted-1.6.6.tar.gz task 440 openssl toast arm http://www.openssl.org/source/openssl-0.9.7d.tar.gz task 192 openssh toast arm http://ftp.lug.udel.edu/pub/OpenBSD/OpenSSH/portable/openssh-3.8.1p1.tar.gz task 221 groff toast arm http://ftp.gnu.org/gnu/groff/groff-1.19.tar.gz task 13 man toast arm http://kernel.org/pub/linux/utils/man/man-1.5m2.tar.bz2 task 30 man-pages toast arm http://kernel.org/pub/linux/docs/manpages/man-pages-1.65.tar.bz2 task 93 texinfo toast arm http://ftp.gnu.org/gnu/texinfo/texinfo-4.6.tar.gz task 172 cpio toast arm http://ftp.gnu.org/gnu/cpio/cpio-2.5.tar.gz task 14 hdparm toast arm http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-5.5.tar.gz task 21 m4 toast arm http://ftp.gnu.org/gnu/m4/m4-1.4.tar.gz task 76 bison toast arm http://ftp.gnu.org/gnu/bison/bison-1.875.tar.bz2 task 389 flex toast arm http://unc.dl.sourceforge.net/sourceforge/lex/flex-2.5.31.tar.bz2 task 22 autoconf toast arm http://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.gz task 19 automake toast arm http://ftp.gnu.org/gnu/automake/automake-1.8.2.tar.gz task 57 file toast arm ftp://ftp.astron.com/pub/file/file-4.07.tar.gz task 76 libtool toast arm http://ftp.gnu.org/gnu/libtool/libtool-1.5.2.tar.gz task 38 kbd toast arm ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/kbd-1.12.tar.gz task 19 ed toast arm http://ftp.gnu.org/gnu/ed/ed-0.2.tar.gz [ -z "$EXTRAS" ] && exit 0 task 0 python toast arm http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2 task 0 db toast arm http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz task 0 gdbm toast arm http://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz task 0 bind toast arm ftp://ftp.isc.org/isc/bind9/9.2.3/bind-9.2.3.tar.gz task 0 autofs toast arm http://kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.2.tar.bz2 task 0 curl toast arm http://curl.haxx.se/download/curl-7.11.1.tar.bz2 task 0 figlet toast arm ftp://ftp.figlet.org/pub/figlet/program/unix/figlet221.tar.gz task 0 file toast arm ftp://ftp.gw.com/mirrors/pub/unix/file/file-4.09.tar.gz task 0 adns toast arm ftp://ftp.chiark.greenend.org.uk/users/ian/adns/adns-1.1.tar.gz task 0 gc toast arm http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.2.tar.gz task 0 gale sh -c 'LDFLAGS=-ldl toast arm http://download.ofb.net/gale/gale-0.99fruit.tar.bz2' task 0 genromfs toast arm http://unc.dl.sourceforge.net/sourceforge/romfs/genromfs-0.5.1.tar.gz task 0 gmp toast arm http://ftp.gnu.org/gnu/gmp/gmp-4.1.2.tar.bz2 task 0 httpd toast arm http://www.apache.org/dist/httpd/httpd-2.0.49.tar.gz task 0 ltrace toast arm http://http.us.debian.org/debian/pool/main/l/ltrace/ltrace_0.3.32.tar.gz task 0 strace toast arm http://prdownloads.sourceforge.net/strace/strace-4.4.98.tar.bz2 task 0 minicom toast arm http://alioth.debian.org/download.php/123/minicom-2.1.tar.gz task 0 bc toast arm http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz task 0 miscfiles toast arm http://ftp.gnu.org/gnu/miscfiles/miscfiles-1.3.tar.gz task 0 mtools toast arm http://mtools.linux.lu/mtools-3.9.9.tar.bz2 task 0 mtr toast arm ftp://ftp.bitwizard.nl/mtr/mtr-0.58.tar.gz task 0 gnupg toast arm ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.2.4.tar.bz2 task 0 mutt toast arm ftp://ftp.mutt.org/mutt/mutt-1.4.1i.tar.gz task 0 nmap toast arm http://download.insecure.org/nmap/dist/nmap-3.50.tar.bz2 task 0 ntp toast arm http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.0.tar.gz task 0 ocaml toast arm http://caml.inria.fr/distrib/ocaml-3.06/ocaml-3.06.tar.gz # task 0 unison toast arm http://www.cis.upenn.edu/~bcpierce/unison/download/stable/latest/src.tar.gz task 0 pciutils toast arm http://kernel.org/pub/software/utils/pciutils/pciutils-2.1.11.tar.bz2 task 0 postfix toast arm http://mirrors.isc.org/pub/postfix/official/postfix-2.0.19.tar.gz task 0 procmail toast arm http://www.procmail.org/procmail-3.22.tar.gz task 0 proftpd toast arm ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.bz2 task 0 rcs toast arm http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-5.7.tar.Z task 0 samba toast arm http://us1.samba.org/samba/ftp/samba-3.0.3.tar.bz2 task 0 smartsuite toast arm http://prdownloads.sourceforge.net/smartsuite/smartsuite-2.1.tar.gz # task 0 syslinux toast arm http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-2.08.tar.bz2 # task 0 units toast arm http://ftp.gnu.org/gnu/units/units-1.80.tar.gz task 0 valgrind toast arm http://developer.kde.org/~sewardj/valgrind-2.0.0.tar.bz2 task 0 zip toast arm ftp://ftp.info-zip.org/pub/infozip/src/zip23.tar.gz task 0 unzip toast arm ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz task 0 popt toast arm ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-1.7.tar.gz task 0 pcre toast arm ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-4.5.tar.bz2 task 0 cvs toast arm http://www.cvshome.org/files/19/10/cvs-1.12.7.tar.bz2 task 0 subversion toast arm http://subversion.tigris.org/tarballs/subversion-1.0.1.tar.bz2 task 0 cdrtools toast arm ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.00.3.tar.gz task 0 libogg toast arm http://www.vorbis.com/files/1.0.1/unix/libogg-1.1.tar.gz task 0 libvorbis toast arm http://www.vorbis.com/files/1.0.1/unix/libvorbis-1.0.1.tar.gz task 0 lame toast arm http://prdownloads.sourceforge.net/lame/lame-3.96.tar.gz task 0 jpeg toast arm ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz task 0 libpng toast arm http://prdownloads.sourceforge.net/png-mng/libpng-1.2.5.tar.bz2 task 0 tiff toast arm ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.6.1.tar.gz # task 0 libmng toast arm http://prdownloads.sourceforge.net/libmng/libmng-1.0.6.tar.gz task 0 netpbm toast arm http://download.sourceforge.net/netpbm/netpbm-10.19.tgz task 0 ghostscript toast arm [ http://prdownloads.sourceforge.net/ghostscript/ghostscript-8.14.tar.gz http://prdownloads.sourceforge.net/gs-fonts/ghostscript-fonts-std-8.11.tar.gz ] [ "$EXTRAS" = "X" ] || exit 0 task 0 XFree86 toast arm [ http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-1.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-2.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-3.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-4.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-5.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-6.tgz http://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-7.tgz ] task 0 doctools toast arm http://ftp.xfree86.org/pub/XFree86/4.4.0/source/doctools-1.3.2.tgz task 0 utils toast arm http://ftp.xfree86.org/pub/XFree86/4.4.0/source/utils-1.1.2.tgz task 0 fvwm toast arm fvwm task 0 ion toast arm ion task 0 xscreensaver toast arm xscreensaver task 0 xdaliclock toast arm xdaliclock task 0 alsa-lib toast arm alsa-lib task 0 alsa-tools toast arm alsa-tools task 0 alsa-utils toast arm alsa-utils task 0 freetype toast arm http://prdownloads.sourceforge.net/freetype/freetype-2.1.7.tar.bz2 task 0 fam toast arm ftp://oss.sgi.com/projects/fam/download/fam-2.6.10.tar.gz task 0 xmms toast arm http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2 task 0 t1lib toast arm ftp://ftp.foolabs.com/pub/xpdf/t1lib-1.3.tar.gz task 0 xpdf toast arm ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00.tar.gz task 0 lesstif toast arm http://prdownloads.sourceforge.net/lesstif/lesstif-0.93.94.tar.bz2 task 0 sdl toast arm http://www.libsdl.org/release/SDL-1.2.7.tar.gz task 0 xine-lib toast arm http://prdownloads.sourceforge.net/xine/xine-lib-1-rc3c.tar.gz task 0 xine-ui toast arm http://prdownloads.sourceforge.net/xine/xine-ui-0.99.1.tar.gz task 0 cdparanoia toast arm http://www.xiph.org/paranoia/download/cdparanoia-III-alpha9.8.src.tgz task 0 pkgconfig toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/pkgconfig-0.15.0.tar.bz2 task 0 audiofile toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/audiofile-0.2.5.tar.bz2 task 0 libxml2 toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libxml2-2.6.8.tar.bz2 task 0 libxslt toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libxslt-1.1.5.tar.bz2 task 0 gtk-doc toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gtk-doc-1.2.tar.bz2 task 0 glib toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/glib-2.4.0.tar.bz2 task 0 libIDL toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libIDL-0.8.3.tar.bz2 task 0 ORBit2 toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/ORBit2-2.10.0.tar.bz2 task 0 intltool toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/intltool-0.30.tar.bz2 task 0 libbonobo toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libbonobo-2.6.0.tar.bz2 task 0 fontconfig toast arm http://freedesktop.org/~fontconfig/release/fontconfig-2.2.93.tar.gz # Render (?) # Xrender (?) task 0 xft toast arm http://freedesktop.org/~fontconfig/release/xft-2.1.2.tar.gz task 0 pango toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/pango-1.4.0.tar.bz2 task 0 atk toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/atk-1.6.0.tar.bz2 task 0 shared-mime-data toast arm http://freedesktop.org/Software/shared-mime-info/shared-mime-info-0.14.tar.gz task 0 gtk+ toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gtk+-2.4.0.tar.bz2 task 0 mozilla toast arm http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.6/src/mozilla-source-1.6.tar.bz2 task 0 GConf toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/GConf-2.6.0.tar.bz2 task 0 gnome-mime-data toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-mime-data-2.4.1.tar.bz2 task 0 gnome-vfs toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-vfs-2.6.0.tar.bz2 task 0 esound toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/esound-0.2.34.tar.bz2 task 0 libgnome toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgnome-2.6.0.tar.bz2 task 0 libart toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libart_lgpl-2.3.16.tar.bz2 task 0 libglade toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libglade-2.3.6.tar.bz2 task 0 libgnomecanvas toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgnomecanvas-2.6.0.tar.bz2 task 0 libbonoboui toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libbonoboui-2.6.0.tar.bz2 task 0 hicolor-icon-theme toast arm http://freedesktop.org/Software/icon-theme/releases/hicolor-icon-theme-0.5.tar.gz task 0 gnome-icon-theme toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-icon-theme-1.2.0.tar.bz2 task 0 gnome-keyring toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-keyring-0.2.0.tar.bz2 task 0 libgnomeui toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgnomeui-2.6.0.tar.bz2 task 0 startup-notification toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/startup-notification-0.5.tar.bz2 task 0 gtk-engines toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gtk-engines-2.2.0.tar.bz2 task 0 gnome-themes toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-themes-2.6.0.tar.bz2 task 0 gnome-desktop toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-desktop-2.6.0.1.tar.bz2 task 0 libwnck toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libwnck-2.6.0.1.tar.bz2 task 0 scrollkeeper toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/scrollkeeper-0.3.14.tar.bz2 task 0 gnome-panel toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-panel-2.6.0.tar.bz2 task 0 gnome-session toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-session-2.6.0.tar.bz2 task 0 vte toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/vte-0.11.10.tar.bz2 task 0 gnome-terminal toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-terminal-2.6.0.tar.bz2 task 0 libgtop toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgtop-2.5.2.tar.bz2 task 0 gail toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gail-1.6.0.tar.bz2 task 0 gnome-applets toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-applets-2.6.0.tar.bz2 task 0 metacity toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/metacity-2.8.0.tar.bz2 task 0 libgsf toast arm http://ftp.gnome.org/pub/GNOME/sources/libgsf/1.8/libgsf-1.8.2.tar.bz2 task 0 libcroco toast arm http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.5/libcroco-0.5.0.tar.bz2 task 0 librsvg toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/librsvg-2.6.4.tar.bz2 task 0 eel toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/eel-2.6.0.tar.bz2 task 0 nautilus toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/nautilus-2.6.0.tar.bz2 task 0 control-center toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/control-center-2.6.0.3.tar.bz2 task 0 libgtkhtml toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgtkhtml-2.6.0.tar.bz2 task 0 yelp toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/yelp-2.6.0.tar.bz2 task 0 bug-buddy toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/bug-buddy-2.6.0.tar.bz2 task 0 libgnomeprint toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgnomeprint-2.6.0.tar.bz2 task 0 libgnomeprintui toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgnomeprintui-2.6.0.tar.bz2 task 0 gtksourceview toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gtksourceview-1.0.0.tar.bz2 task 0 gedit toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gedit-2.6.0.tar.bz2 task 0 eog toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/eog-2.6.0.tar.bz2 task 0 ggv toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/ggv-2.6.0.tar.bz2 task 0 file-roller toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/file-roller-2.6.0.tar.bz2 task 0 gconf-editor toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gconf-editor-2.6.0.tar.bz2 task 0 gnome-utils toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-utils-2.6.0.tar.bz2 task 0 gal toast arm http://ftp.gnome.org/pub/GNOME/sources/gal/2.1/gal-2.1.7.tar.bz2 task 0 gnome-system-monitor toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-system-monitor-2.6.0.tar.bz2 task 0 gstreamer toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gstreamer-0.8.0.tar.bz2 task 0 gst-plugins toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gst-plugins-0.8.0.tar.bz2 task 0 gnome-media toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-media-2.6.0.tar.bz2 task 0 gnome-netstatus toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-netstatus-2.6.0.1.tar.bz2 task 0 gcalctool toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gcalctool-4.3.51.tar.bz2 task 0 gpdf toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gpdf-0.131.tar.bz2 task 0 gucharmap toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gucharmap-1.4.1.tar.bz2 task 0 nautilus-cd-burner toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/nautilus-cd-burner-2.6.0.tar.bz2 task 0 zenity toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/zenity-2.6.0.tar.bz2 task 0 gnome-speech toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-speech-0.3.2.tar.bz2 task 0 at-spi toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/at-spi-1.4.0.tar.bz2 task 0 gnome-mag toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-mag-0.10.10.tar.bz2 task 0 gnopernicus toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnopernicus-0.8.1.tar.bz2 task 0 gok toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gok-0.10.0.tar.bz2 task 0 epiphany toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/epiphany-1.2.2.tar.bz2 task 0 gnomemeeting toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnomemeeting-1.0.1.tar.bz2 task 0 gnome-games toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome-games-2.6.0.1.tar.bz2 task 0 gnome2-user-docs toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gnome2-user-docs-2.6.0.1.tar.bz2 task 0 dasher toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/dasher-3.2.8.tar.bz2 task 0 gdm toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/gdm-2.6.0.0.tar.bz2 task 0 libgail-gnome toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libgail-gnome-1.0.3.tar.bz2 task 0 libxklavier toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libxklavier-1.00.tar.bz2 task 0 nautilus-media toast arm http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/nautilus-media-0.8.0.tar.bz2 task 0 qt toast arm http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/qt-x11-free-3.3.1.tar.bz2 task 0 arts toast arm http://download.kde.org/stable/3.2.1/src/arts-1.2.1.tar.bz2 task 0 kdelibs toast arm http://download.kde.org/stable/3.2.1/src/kdelibs-3.2.1.tar.bz2 task 0 kdebase toast arm http://download.kde.org/stable/3.2.1/src/kdebase-3.2.1.tar.bz2 task 0 kde-i18n toast arm http://download.kde.org/stable/3.2.1/src/kde-i18n-3.2.1.tar.bz2 task 0 kdeaccessibility toast arm http://download.kde.org/stable/3.2.1/src/kdeaccessibility-3.2.1.tar.bz2 task 0 kdeadmin toast arm http://download.kde.org/stable/3.2.1/src/kdeadmin-3.2.1.tar.bz2 task 0 kdeartwork toast arm http://download.kde.org/stable/3.2.1/src/kdeartwork-3.2.1.tar.bz2 task 0 kdebindings toast arm http://download.kde.org/stable/3.2.1/src/kdebindings-3.2.1.tar.bz2 task 0 kdeedu toast arm http://download.kde.org/stable/3.2.1/src/kdeedu-3.2.1.tar.bz2 task 0 kdegames toast arm http://download.kde.org/stable/3.2.1/src/kdegames-3.2.1.tar.bz2 task 0 kdegraphics toast arm http://download.kde.org/stable/3.2.1/src/kdegraphics-3.2.1.tar.bz2 task 0 kdemultimedia toast arm http://download.kde.org/stable/3.2.1/src/kdemultimedia-3.2.1.tar.bz2 task 0 kdenetwork toast arm http://download.kde.org/stable/3.2.1/src/kdenetwork-3.2.1.tar.bz2 task 0 kdepim toast arm http://download.kde.org/stable/3.2.1/src/kdepim-3.2.1.tar.bz2 task 0 kdesdk toast arm http://download.kde.org/stable/3.2.1/src/kdesdk-3.2.1.tar.bz2 task 0 kdetoys toast arm http://download.kde.org/stable/3.2.1/src/kdetoys-3.2.1.tar.bz2 task 0 kdeutils toast arm http://download.kde.org/stable/3.2.1/src/kdeutils-3.2.1.tar.bz2 task 0 kdevelop toast arm http://download.kde.org/stable/3.2.1/src/kdevelop-3.0.2.tar.bz2 task 0 quanta toast arm http://download.kde.org/stable/3.2.1/src/quanta-3.2.1.tar.bz2 task 0 kdeaddons toast arm http://download.kde.org/stable/3.2.1/src/kdeaddons-3.2.1.tar.bz2 task 0 firefox toast arm http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.8/firefox-source-0.8.tar.bz2 task 0 gimp toast arm gimp task 0 gkrellm toast arm gkrellm --- FILE root/sbin/respin --- #!/bin/sh -e echo "This script destroys both the hard disk partition table and the floppy." echo "Press any key to abort." timeout 10 wget -O /dev/fd0 http://toastball.net/toast-linux-tmp/floppy.img dd if=/dev/zero of=/dev/hda bs=512 count=1 sync reboot sleep 20 echo b > /proc/sysrq-trigger --- FILE linux-config --- # # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_STANDALONE=y CONFIG_BROKEN_ON_SMP=y # # General setup # CONFIG_SWAP=y # CONFIG_SYSVIPC is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_HOTPLUG=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_EMBEDDED=y # CONFIG_KALLSYMS is not set CONFIG_FUTEX=y # CONFIG_EPOLL is not set # CONFIG_IOSCHED_NOOP is not set # CONFIG_IOSCHED_AS is not set CONFIG_IOSCHED_DEADLINE=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y # # Loadable module support # # CONFIG_MODULES is not set # # Processor type and features # CONFIG_X86_PC=y # CONFIG_X86_ELAN is not set # CONFIG_X86_VOYAGER is not set # CONFIG_X86_NUMAQ is not set # CONFIG_X86_SUMMIT is not set # CONFIG_X86_BIGSMP is not set # CONFIG_X86_VISWS is not set # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_ES7000 is not set CONFIG_M386=y # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUMM is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MK8 is not set # CONFIG_MCRUSOE is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set # CONFIG_X86_GENERIC is not set CONFIG_X86_L1_CACHE_SHIFT=4 CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_X86_PPRO_FENCE=y CONFIG_X86_F00F_BUG=y # CONFIG_HPET_TIMER is not set # CONFIG_HPET_EMULATE_RTC is not set # CONFIG_SMP is not set # CONFIG_PREEMPT is not set # CONFIG_X86_UP_APIC is not set # CONFIG_X86_MCE is not set # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set # # Firmware Drivers # # CONFIG_EDD is not set CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_MATH_EMULATION is not set # CONFIG_MTRR is not set # CONFIG_REGPARM is not set # # Power management options (ACPI, APM) # # CONFIG_PM is not set # # ACPI (Advanced Configuration and Power Interface) Support # # CONFIG_ACPI is not set CONFIG_ACPI_BOOT=y # # CPU Frequency scaling # # CONFIG_CPU_FREQ is not set # # Bus options (PCI, PCMCIA, EISA, MCA, ISA) # CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GOMMCONFIG is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y # CONFIG_PCI_LEGACY_PROC is not set # CONFIG_PCI_NAMES is not set CONFIG_ISA=y # CONFIG_EISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set # # PCMCIA/CardBus support # # CONFIG_PCMCIA is not set CONFIG_PCMCIA_PROBE=y # # PCI Hotplug Support # # CONFIG_HOTPLUG_PCI is not set # # Executable file formats # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_AOUT is not set # CONFIG_BINFMT_MISC is not set # # Device Drivers # # # Generic Driver Options # # CONFIG_FW_LOADER is not set # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Parallel port support # # CONFIG_PARPORT is not set # # Plug and Play support # CONFIG_PNP=y # CONFIG_PNP_DEBUG is not set # # Protocols # CONFIG_ISAPNP=y # CONFIG_PNPBIOS is not set # # Block devices # CONFIG_BLK_DEV_FD=y # CONFIG_BLK_DEV_XD is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_CARMEL is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_INITRD=y # CONFIG_LBD is not set # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_IDEDISK_MULTI_MODE is not set # CONFIG_IDEDISK_STROKE is not set # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set # CONFIG_BLK_DEV_IDESCSI is not set # CONFIG_IDE_TASK_IOCTL is not set # CONFIG_IDE_TASKFILE_IO is not set # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=y # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_IDEPNP is not set CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_BLK_DEV_GENERIC=y # CONFIG_BLK_DEV_OPTI621 is not set CONFIG_BLK_DEV_RZ1000=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_ADMA=y # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_SC1200 is not set # CONFIG_BLK_DEV_PIIX is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_IDE_CHIPSETS is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y # CONFIG_BLK_DEV_HD is not set # # SCSI device support # CONFIG_SCSI=y # CONFIG_SCSI_PROC_FS is not set # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set # CONFIG_BLK_DEV_SR is not set # CONFIG_CHR_DEV_SG is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_REPORT_LUNS is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # # SCSI Transport Attributes # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # # SCSI low-level drivers # # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_MEGARAID is not set # CONFIG_SCSI_SATA is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_CPQFCTS is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_PIO is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_ISP is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set CONFIG_SCSI_QLA2XXX=y # CONFIG_SCSI_QLA21XX is not set # CONFIG_SCSI_QLA22XX is not set # CONFIG_SCSI_QLA2300 is not set # CONFIG_SCSI_QLA2322 is not set # CONFIG_SCSI_QLA6312 is not set # CONFIG_SCSI_QLA6322 is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_NSP32 is not set # CONFIG_SCSI_DEBUG is not set # # Old CD-ROM drivers (not SCSI, not IDE) # # CONFIG_CD_NO_IDESCSI is not set # # Multi-device support (RAID and LVM) # CONFIG_MD=y # CONFIG_BLK_DEV_MD is not set CONFIG_BLK_DEV_DM=y # CONFIG_DM_CRYPT is not set # # Fusion MPT device support # # CONFIG_FUSION is not set # # IEEE 1394 (FireWire) support # # CONFIG_IEEE1394 is not set # # I2O device support # # CONFIG_I2O is not set # # Networking support # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set # CONFIG_NETLINK_DEV is not set CONFIG_UNIX=y # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_IPV6 is not set # CONFIG_DECNET is not set # CONFIG_BRIDGE is not set # CONFIG_NETFILTER is not set # # SCTP Configuration (EXPERIMENTAL) # # CONFIG_IP_SCTP is not set # CONFIG_ATM is not set # CONFIG_VLAN_8021Q is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN is not set CONFIG_NETDEVICES=y # # ARCnet devices # # CONFIG_ARCNET is not set # CONFIG_DUMMY is not set # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_NET_SB1000 is not set # # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y CONFIG_MII=y # CONFIG_HAPPYMEAL is not set # CONFIG_SUNGEM is not set CONFIG_NET_VENDOR_3COM=y # CONFIG_EL1 is not set # CONFIG_EL2 is not set # CONFIG_ELPLUS is not set # CONFIG_EL16 is not set CONFIG_EL3=y # CONFIG_3C515 is not set CONFIG_VORTEX=y # CONFIG_TYPHOON is not set # CONFIG_LANCE is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # # Tulip family network device support # CONFIG_NET_TULIP=y CONFIG_DE2104X=y CONFIG_TULIP=y # CONFIG_TULIP_MWI is not set # CONFIG_TULIP_MMIO is not set # CONFIG_TULIP_NAPI is not set CONFIG_DE4X5=y CONFIG_WINBOND_840=y CONFIG_DM9102=y # CONFIG_AT1700 is not set # CONFIG_DEPCA is not set CONFIG_HP100=y # CONFIG_NET_ISA is not set CONFIG_NET_PCI=y CONFIG_PCNET32=y CONFIG_AMD8111_ETH=y CONFIG_ADAPTEC_STARFIRE=y # CONFIG_ADAPTEC_STARFIRE_NAPI is not set # CONFIG_AC3200 is not set # CONFIG_APRICOT is not set CONFIG_B44=y CONFIG_FORCEDETH=y # CONFIG_CS89x0 is not set # CONFIG_DGRS is not set CONFIG_EEPRO100=y # CONFIG_EEPRO100_PIO is not set # CONFIG_E100 is not set CONFIG_FEALNX=y CONFIG_NATSEMI=y CONFIG_NE2K_PCI=y CONFIG_8139CP=y CONFIG_8139TOO=y # CONFIG_8139TOO_PIO is not set # CONFIG_8139TOO_TUNE_TWISTER is not set # CONFIG_8139TOO_8129 is not set # CONFIG_8139_OLD_RX_RESET is not set CONFIG_8139_RXBUF_IDX=1 CONFIG_SIS900=y CONFIG_EPIC100=y CONFIG_SUNDANCE=y # CONFIG_SUNDANCE_MMIO is not set CONFIG_TLAN=y CONFIG_VIA_RHINE=y # CONFIG_VIA_RHINE_MMIO is not set # CONFIG_NET_POCKET is not set # # Ethernet (1000 Mbit) # # CONFIG_ACENIC is not set # CONFIG_DL2K is not set # CONFIG_E1000 is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set # CONFIG_R8169 is not set # CONFIG_SIS190 is not set # CONFIG_SK98LIN is not set # CONFIG_TIGON3 is not set # # Ethernet (10000 Mbit) # # CONFIG_IXGB is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set # # Token Ring devices # # CONFIG_TR is not set # CONFIG_NET_FC is not set # CONFIG_RCPCI is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # # Wan interfaces # # CONFIG_WAN is not set # # Amateur Radio support # # CONFIG_HAMRADIO is not set # # IrDA (infrared) support # # CONFIG_IRDA is not set # # Bluetooth support # # CONFIG_BT is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # # ISDN subsystem # # CONFIG_ISDN is not set # # Telephony Support # # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y # # Userland interfaces # # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_TSDEV is not set # CONFIG_INPUT_EVDEV is not set # CONFIG_INPUT_EVBUG is not set # # Input I/O drivers # # CONFIG_GAMEPORT is not set CONFIG_SOUND_GAMEPORT=y CONFIG_SERIO=y CONFIG_SERIO_I8042=y # CONFIG_SERIO_SERPORT is not set # CONFIG_SERIO_CT82C710 is not set # CONFIG_SERIO_PCIPS2 is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # # CONFIG_SERIAL_8250 is not set # # Non-8250 serial port support # CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_QIC02_TAPE is not set # # IPMI # # CONFIG_IPMI_HANDLER is not set # # Watchdog Cards # # CONFIG_WATCHDOG is not set # CONFIG_HW_RANDOM is not set # CONFIG_NVRAM is not set # CONFIG_RTC is not set # CONFIG_GEN_RTC is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_SONYPI is not set # # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set # CONFIG_AGP is not set # CONFIG_DRM is not set # CONFIG_MWAVE is not set # CONFIG_RAW_DRIVER is not set # CONFIG_HANGCHECK_TIMER is not set # # I2C support # # CONFIG_I2C is not set # # Misc devices # # CONFIG_IBM_ASM is not set # # Multimedia devices # # CONFIG_VIDEO_DEV is not set # # Digital Video Broadcasting Devices # # CONFIG_DVB is not set # # Graphics support # # CONFIG_FB is not set CONFIG_VIDEO_SELECT=y # # Console display driver support # CONFIG_VGA_CONSOLE=y # CONFIG_MDA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y # # Sound # # CONFIG_SOUND is not set # # USB support # # CONFIG_USB is not set # # USB Gadget Support # # CONFIG_USB_GADGET is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT3_FS is not set # CONFIG_JBD is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_QUOTA is not set # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y # CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=y # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y # CONFIG_DEVFS_FS is not set # CONFIG_DEVPTS_FS_XATTR is not set CONFIG_TMPFS=y # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # # CONFIG_NFS_FS is not set # CONFIG_NFSD is not set # CONFIG_EXPORTFS is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_INTERMEZZO_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y # # Native Language Support # CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" # CONFIG_NLS_CODEPAGE_437 is not set # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set # CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_936 is not set # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ISO8859_1 is not set # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_UTF8 is not set # # Profiling support # # CONFIG_PROFILING is not set # # Kernel hacking # # CONFIG_DEBUG_KERNEL is not set CONFIG_EARLY_PRINTK=y # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_FRAME_POINTER is not set # # Security options # # CONFIG_SECURITY is not set # # Cryptographic options # # CONFIG_CRYPTO is not set # # Library routines # CONFIG_CRC32=y CONFIG_X86_BIOS_REBOOT=y --- FILE busybox-config --- # # Automatically generated make config: don't edit # HAVE_DOT_CONFIG=y # # General Configuration # # CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set # CONFIG_FEATURE_VERBOSE_USAGE is not set # CONFIG_FEATURE_INSTALLER is not set # CONFIG_LOCALE_SUPPORT is not set # CONFIG_FEATURE_DEVFS is not set CONFIG_FEATURE_DEVPTS=y # CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_SUID is not set # CONFIG_SELINUX is not set # # Build Options # # CONFIG_STATIC is not set CONFIG_LFS=y USING_CROSS_COMPILER=y CROSS_COMPILER_PREFIX="/home/zaphod/toast/linux/toolchain/gcc-3.3.x/toolchain_i386/usr/bin/" EXTRA_CFLAGS_OPTIONS="" # # Installation Options # CONFIG_INSTALL_NO_USR=y PREFIX="./_install" # # Archival Utilities # # CONFIG_AR is not set CONFIG_BUNZIP2=y # CONFIG_CPIO is not set # CONFIG_DPKG is not set CONFIG_DPKG_DEB=y CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y CONFIG_GUNZIP=y # CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set CONFIG_GZIP=y # CONFIG_RPM2CPIO is not set # CONFIG_RPM is not set CONFIG_TAR=y CONFIG_FEATURE_TAR_CREATE=y CONFIG_FEATURE_TAR_BZIP2=y # CONFIG_FEATURE_TAR_FROM is not set CONFIG_FEATURE_TAR_GZIP=y # CONFIG_FEATURE_TAR_COMPRESS is not set CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNZIP is not set # # Common options for cpio and tar # # CONFIG_FEATURE_UNARCHIVE_TAPE is not set # # Common options for dpkg and dpkg_deb # CONFIG_FEATURE_DEB_TAR_GZ=y # CONFIG_FEATURE_DEB_TAR_BZ2 is not set # # Coreutils # CONFIG_BASENAME=y # CONFIG_CAL is not set CONFIG_CAT=y CONFIG_CHGRP=y CONFIG_CHMOD=y CONFIG_CHOWN=y CONFIG_CHROOT=y CONFIG_CMP=y CONFIG_CP=y CONFIG_CUT=y CONFIG_DATE=y CONFIG_FEATURE_DATE_ISOFMT=y CONFIG_DD=y CONFIG_DF=y CONFIG_DIRNAME=y CONFIG_DOS2UNIX=y CONFIG_UNIX2DOS=y CONFIG_DU=y CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y CONFIG_ECHO=y CONFIG_FEATURE_FANCY_ECHO=y CONFIG_ENV=y CONFIG_EXPR=y CONFIG_FALSE=y CONFIG_FOLD=y CONFIG_HEAD=y # CONFIG_FEATURE_FANCY_HEAD is not set # CONFIG_HOSTID is not set CONFIG_ID=y CONFIG_INSTALL=y # CONFIG_LENGTH is not set CONFIG_LN=y # CONFIG_LOGNAME is not set CONFIG_LS=y CONFIG_FEATURE_LS_FILETYPES=y CONFIG_FEATURE_LS_FOLLOWLINKS=y # CONFIG_FEATURE_LS_RECURSIVE is not set CONFIG_FEATURE_LS_SORTFILES=y CONFIG_FEATURE_LS_TIMESTAMPS=y CONFIG_FEATURE_LS_USERNAME=y CONFIG_FEATURE_LS_COLOR=y CONFIG_MD5SUM=y CONFIG_MKDIR=y # CONFIG_MKFIFO is not set CONFIG_MKNOD=y CONFIG_MV=y CONFIG_OD=y CONFIG_PRINTF=y CONFIG_PWD=y # CONFIG_REALPATH is not set CONFIG_RM=y CONFIG_RMDIR=y CONFIG_SEQ=y # CONFIG_SHA1SUM is not set CONFIG_SLEEP=y # CONFIG_FEATURE_FANCY_SLEEP is not set CONFIG_SORT=y CONFIG_STTY=y CONFIG_SYNC=y CONFIG_TAIL=y # CONFIG_FEATURE_FANCY_TAIL is not set CONFIG_TEE=y # CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set CONFIG_TEST=y # # test (forced enabled for use with shell) # CONFIG_TOUCH=y CONFIG_TR=y CONFIG_TRUE=y CONFIG_TTY=y CONFIG_UNAME=y CONFIG_UNIQ=y # CONFIG_USLEEP is not set CONFIG_UUDECODE=y CONFIG_UUENCODE=y # CONFIG_WATCH is not set CONFIG_WC=y # CONFIG_WHO is not set CONFIG_WHOAMI=y CONFIG_YES=y # # Common options for cp and mv # CONFIG_FEATURE_PRESERVE_HARDLINKS=y # # Common options for ls and more # CONFIG_FEATURE_AUTOWIDTH=y # # Common options for df, du, ls # CONFIG_FEATURE_HUMAN_READABLE=y # # Common options for md5sum, sha1sum # CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y # # Console Utilities # CONFIG_CHVT=y CONFIG_CLEAR=y CONFIG_DEALLOCVT=y CONFIG_DUMPKMAP=y # CONFIG_LOADFONT is not set CONFIG_LOADKMAP=y CONFIG_OPENVT=y CONFIG_RESET=y CONFIG_SETKEYCODES=y # # Debian Utilities # # CONFIG_MKTEMP is not set # CONFIG_PIPE_PROGRESS is not set # CONFIG_READLINK is not set # CONFIG_RUN_PARTS is not set # CONFIG_START_STOP_DAEMON is not set CONFIG_WHICH=y # # Editors # CONFIG_AWK=y # CONFIG_FEATURE_AWK_MATH is not set CONFIG_PATCH=y CONFIG_SED=y CONFIG_VI=y CONFIG_FEATURE_VI_COLON=y CONFIG_FEATURE_VI_YANKMARK=y CONFIG_FEATURE_VI_SEARCH=y CONFIG_FEATURE_VI_USE_SIGNALS=y CONFIG_FEATURE_VI_DOT_CMD=y CONFIG_FEATURE_VI_READONLY=y CONFIG_FEATURE_VI_SETOPTS=y CONFIG_FEATURE_VI_SET=y CONFIG_FEATURE_VI_WIN_RESIZE=y CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y # # Finding Utilities # CONFIG_FIND=y # CONFIG_FEATURE_FIND_MTIME is not set # CONFIG_FEATURE_FIND_PERM is not set CONFIG_FEATURE_FIND_TYPE=y CONFIG_FEATURE_FIND_XDEV=y CONFIG_FEATURE_FIND_NEWER=y CONFIG_FEATURE_FIND_INUM=y CONFIG_GREP=y CONFIG_FEATURE_GREP_EGREP_ALIAS=y CONFIG_FEATURE_GREP_FGREP_ALIAS=y # CONFIG_FEATURE_GREP_CONTEXT is not set # CONFIG_XARGS is not set # # Init Utilities # CONFIG_INIT=y CONFIG_FEATURE_USE_INITTAB=y # CONFIG_FEATURE_INITRD is not set # CONFIG_FEATURE_INIT_COREDUMPS is not set CONFIG_FEATURE_EXTRA_QUIET=y CONFIG_HALT=y CONFIG_POWEROFF=y CONFIG_REBOOT=y # CONFIG_MESG is not set # # Login/Password Management Utilities # # CONFIG_USE_BB_PWD_GRP is not set # CONFIG_ADDGROUP is not set # CONFIG_DELGROUP is not set # CONFIG_ADDUSER is not set # CONFIG_DELUSER is not set # CONFIG_GETTY is not set # CONFIG_LOGIN is not set # CONFIG_PASSWD is not set # CONFIG_SU is not set # CONFIG_SULOGIN is not set # CONFIG_VLOCK is not set # # Miscellaneous Utilities # # CONFIG_ADJTIMEX is not set # CONFIG_CROND is not set # CONFIG_CRONTAB is not set # CONFIG_DC is not set # CONFIG_DEVFSD is not set # CONFIG_LAST is not set CONFIG_HDPARM=y CONFIG_FEATURE_HDPARM_GET_IDENTITY=y # CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set # CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set # CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set # CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set # CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set # CONFIG_MAKEDEVS is not set # CONFIG_MT is not set # CONFIG_RX is not set # CONFIG_STRINGS is not set CONFIG_TIME=y # CONFIG_WATCHDOG is not set # # Linux Module Utilities # CONFIG_INSMOD=y # CONFIG_FEATURE_2_2_MODULES is not set # CONFIG_FEATURE_2_4_MODULES is not set CONFIG_FEATURE_2_6_MODULES=y CONFIG_LSMOD=y CONFIG_FEATURE_QUERY_MODULE_INTERFACE=y # CONFIG_MODPROBE is not set # CONFIG_RMMOD is not set CONFIG_FEATURE_CHECK_TAINTED_MODULE=y # # Networking Utilities # # CONFIG_FEATURE_IPV6 is not set CONFIG_ARPING=y CONFIG_FTPGET=y # CONFIG_FTPPUT is not set CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set CONFIG_IFCONFIG=y CONFIG_FEATURE_IFCONFIG_STATUS=y # CONFIG_FEATURE_IFCONFIG_SLIP is not set CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y CONFIG_FEATURE_IFCONFIG_HW=y # CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set # CONFIG_IFUPDOWN is not set # CONFIG_INETD is not set # CONFIG_IP is not set CONFIG_IPCALC=y CONFIG_FEATURE_IPCALC_FANCY=y # CONFIG_IPADDR is not set # CONFIG_IPLINK is not set # CONFIG_IPROUTE is not set # CONFIG_IPTUNNEL is not set # CONFIG_NAMEIF is not set CONFIG_NC=y # CONFIG_NETSTAT is not set CONFIG_NSLOOKUP=y CONFIG_PING=y CONFIG_FEATURE_FANCY_PING=y CONFIG_ROUTE=y CONFIG_TELNET=y CONFIG_FEATURE_TELNET_TTYPE=y CONFIG_FEATURE_TELNET_AUTOLOGIN=y # CONFIG_TELNETD is not set # CONFIG_TFTP is not set CONFIG_TRACEROUTE=y CONFIG_FEATURE_TRACEROUTE_VERBOSE=y # CONFIG_VCONFIG is not set CONFIG_WGET=y CONFIG_FEATURE_WGET_STATUSBAR=y CONFIG_FEATURE_WGET_AUTHENTICATION=y # CONFIG_FEATURE_WGET_IP6_LITERAL is not set # # udhcp Server/Client # # CONFIG_UDHCPD is not set CONFIG_UDHCPC=y CONFIG_FEATURE_UDHCP_SYSLOG=y # CONFIG_FEATURE_UDHCP_DEBUG is not set # # Process Utilities # CONFIG_FREE=y CONFIG_KILL=y CONFIG_KILLALL=y CONFIG_PIDOF=y CONFIG_PS=y # CONFIG_RENICE is not set # CONFIG_TOP is not set CONFIG_UPTIME=y # CONFIG_SYSCTL is not set # # Another Bourne-like Shell # CONFIG_FEATURE_SH_IS_ASH=y # CONFIG_FEATURE_SH_IS_HUSH is not set # CONFIG_FEATURE_SH_IS_LASH is not set # CONFIG_FEATURE_SH_IS_MSH is not set # CONFIG_FEATURE_SH_IS_NONE is not set CONFIG_ASH=y # # Ash Shell Options # CONFIG_ASH_JOB_CONTROL=y # CONFIG_ASH_ALIAS is not set CONFIG_ASH_MATH_SUPPORT=y # CONFIG_ASH_GETOPTS is not set # CONFIG_ASH_CMDCMD is not set # CONFIG_ASH_MAIL is not set CONFIG_ASH_OPTIMIZE_FOR_SIZE=y # CONFIG_HUSH is not set # CONFIG_LASH is not set # CONFIG_MSH is not set # # Bourne Shell Options # CONFIG_FEATURE_SH_EXTRA_QUIET=y # CONFIG_FEATURE_SH_STANDALONE_SHELL is not set CONFIG_FEATURE_COMMAND_EDITING=y CONFIG_FEATURE_COMMAND_HISTORY=15 # CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y # CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set CONFIG_FEATURE_SH_FANCY_PROMPT=y # # System Logging Utilities # # CONFIG_SYSLOGD is not set # CONFIG_LOGGER is not set # # Linux System Utilities # CONFIG_DMESG=y # CONFIG_FBSET is not set # CONFIG_FDFLUSH is not set CONFIG_FDFORMAT=y CONFIG_FDISK=y CONFIG_FEATURE_FDISK_WRITABLE=y # CONFIG_FEATURE_AIX_LABEL is not set # CONFIG_FEATURE_SGI_LABEL is not set # CONFIG_FEATURE_SUN_LABEL is not set # CONFIG_FEATURE_OSF_LABEL is not set # CONFIG_FEATURE_FDISK_ADVANCED is not set CONFIG_FREERAMDISK=y # CONFIG_FSCK_MINIX is not set # CONFIG_MKFS_MINIX is not set # CONFIG_GETOPT is not set # CONFIG_HEXDUMP is not set CONFIG_HWCLOCK=y CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y CONFIG_LOSETUP=y CONFIG_MKSWAP=y CONFIG_MORE=y CONFIG_FEATURE_USE_TERMIOS=y # CONFIG_PIVOT_ROOT is not set CONFIG_RDATE=y CONFIG_SWAPONOFF=y CONFIG_MOUNT=y # CONFIG_NFSMOUNT is not set CONFIG_UMOUNT=y # CONFIG_FEATURE_MOUNT_FORCE is not set # # Common options for mount/umount # CONFIG_FEATURE_MOUNT_LOOP=y CONFIG_FEATURE_MTAB_SUPPORT=y CONFIG_FEATURE_MTAB_FILENAME="/etc/mtab" # # Debugging Options # # CONFIG_DEBUG is not set