diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-04-26 22:01:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-04-26 22:01:43 +0000 |
commit | 8262508fc4456b5230216473ea14c897268ba791 (patch) | |
tree | d172eebb211e84b023fe70fc14f201745635a7f0 | |
parent | 085ba9f45190345249c56562bbccf05bc63e1476 (diff) |
With this update, everything now works as expected.
-Erik
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | sources/.cvsignore | 1 | ||||
-rw-r--r-- | sources/busybox.patch | 32 | ||||
-rw-r--r-- | sources/device_table.txt | 4 | ||||
-rw-r--r-- | sources/skel.tar.gz | bin | 4931 -> 5141 bytes | |||
-rw-r--r-- | sources/target_skeleton/etc/fstab | 4 | ||||
-rw-r--r-- | sources/target_skeleton/etc/hostname | 1 | ||||
-rw-r--r-- | sources/target_skeleton/etc/hosts | 1 | ||||
-rwxr-xr-x | sources/target_skeleton/etc/init.d/S01mount | 1 | ||||
-rwxr-xr-x | sources/target_skeleton/etc/init.d/S20syslogd | 6 | ||||
-rwxr-xr-x | sources/target_skeleton/etc/init.d/S20urandom | 44 | ||||
-rwxr-xr-x | sources/target_skeleton/etc/init.d/S50networking | 2 | ||||
-rw-r--r-- | sources/target_skeleton/etc/inittab | 5 | ||||
-rw-r--r-- | sources/target_skeleton/etc/protocols | 2 | ||||
-rw-r--r-- | sources/target_skeleton/etc/random-seed | bin | 0 -> 512 bytes | |||
-rw-r--r-- | sources/target_skeleton/etc/resolv.conf | 2 | ||||
-rw-r--r-- | sources/target_skeleton/etc/services | 2 |
17 files changed, 79 insertions, 29 deletions
diff --git a/.cvsignore b/.cvsignore index 9171c4979..0b8f84f66 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ UMlinux root_fs +build diff --git a/sources/.cvsignore b/sources/.cvsignore new file mode 100644 index 000000000..5c488628e --- /dev/null +++ b/sources/.cvsignore @@ -0,0 +1 @@ +dl diff --git a/sources/busybox.patch b/sources/busybox.patch index 2ad7bf018..66986bad5 100644 --- a/sources/busybox.patch +++ b/sources/busybox.patch @@ -1,5 +1,5 @@ --- busybox/Config.h 6 Apr 2002 04:22:15 -0000 1.116 -+++ busybox/Config.h 26 Apr 2002 10:54:28 -0000 ++++ busybox/Config.h 26 Apr 2002 21:58:07 -0000 @@ -18,9 +18,9 @@ #define BB_CHROOT #define BB_CHVT @@ -21,24 +21,15 @@ //#define BB_DPKG //#define BB_DPKG_DEB //#define BB_DUTMP -@@ -37,13 +37,13 @@ +@@ -37,7 +37,7 @@ //#define BB_DUMPKMAP #define BB_ECHO #define BB_ENV -//#define BB_EXPR --//#define BB_FBSET +#define BB_EXPR -+#define BB_FBSET + //#define BB_FBSET //#define BB_FDFLUSH #define BB_FIND - #define BB_FREE --//#define BB_FREERAMDISK --//#define BB_FSCK_MINIX -+#define BB_FREERAMDISK -+#define BB_FSCK_MINIX - //#define BB_GETOPT - #define BB_GREP - #define BB_GUNZIP @@ -51,12 +51,12 @@ #define BB_HALT #define BB_HEAD @@ -55,7 +46,7 @@ #define BB_KILL #define BB_KILLALL #define BB_KLOGD -@@ -72,10 +72,10 @@ +@@ -72,7 +72,7 @@ #define BB_LS #define BB_LSMOD //#define BB_MAKEDEVS @@ -63,12 +54,8 @@ +#define BB_MD5SUM #define BB_MKDIR //#define BB_MKFIFO --//#define BB_MKFS_MINIX -+#define BB_MKFS_MINIX - #define BB_MKNOD - #define BB_MKSWAP - //#define BB_MKTEMP -@@ -85,24 +85,24 @@ + //#define BB_MKFS_MINIX +@@ -85,58 +85,58 @@ //#define BB_MSH //#define BB_MT #define BB_MV @@ -100,7 +87,12 @@ //#define BB_RPM2CPIO #define BB_SED //#define BB_SETKEYCODES -@@ -114,29 +114,29 @@ + #define BB_SLEEP + #define BB_SORT + //#define BB_STTY +-#define BB_SWAPONOFF ++//#define BB_SWAPONOFF + #define BB_SYNC #define BB_SYSLOGD #define BB_TAIL #define BB_TAR diff --git a/sources/device_table.txt b/sources/device_table.txt index f4a3e9b76..a023e6f80 100644 --- a/sources/device_table.txt +++ b/sources/device_table.txt @@ -26,6 +26,10 @@ #/dev/rtc c 640 0 0 10 135 0 0 - #/dev/fd b 640 0 0 2 0 0 0 1 # +# User-mode Linux stuff +/dev/ubda b 640 0 0 98 0 0 0 - +/dev/ubda b 640 0 0 98 1 1 1 15 +# # Raid device directories /dev/cciss d 755 0 0 - - - - - /dev/ida d 755 0 0 - - - - - diff --git a/sources/skel.tar.gz b/sources/skel.tar.gz Binary files differindex b351737c8..a0c9d77ce 100644 --- a/sources/skel.tar.gz +++ b/sources/skel.tar.gz diff --git a/sources/target_skeleton/etc/fstab b/sources/target_skeleton/etc/fstab index 2ca20a492..525a95b1e 100644 --- a/sources/target_skeleton/etc/fstab +++ b/sources/target_skeleton/etc/fstab @@ -1,6 +1,6 @@ # /etc/fstab: static file system information. # -# <file system> <mount pt> <type> <options> <dump> <pass> -/dev/root / ext2 rw 0 1 +# <file system> <mount pt> <type> <options> <dump> <pass> +/dev/ubda / ext2 defaults,rw 0 1 proc /proc proc defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 diff --git a/sources/target_skeleton/etc/hostname b/sources/target_skeleton/etc/hostname new file mode 100644 index 000000000..46f514d13 --- /dev/null +++ b/sources/target_skeleton/etc/hostname @@ -0,0 +1 @@ +dev.null diff --git a/sources/target_skeleton/etc/hosts b/sources/target_skeleton/etc/hosts new file mode 100644 index 000000000..ba712fe03 --- /dev/null +++ b/sources/target_skeleton/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/sources/target_skeleton/etc/init.d/S01mount b/sources/target_skeleton/etc/init.d/S01mount index 85d3ab5a6..45d0e7bca 100755 --- a/sources/target_skeleton/etc/init.d/S01mount +++ b/sources/target_skeleton/etc/init.d/S01mount @@ -4,6 +4,7 @@ # fsck, since we don't need it here... echo -n "Mounting local file systems: " +/bin/mount / -o remount,rw > /dev/null 2>&1 /bin/mount -a > /dev/null 2>&1 if [ $? = 0 ] ; then echo "ok" diff --git a/sources/target_skeleton/etc/init.d/S20syslogd b/sources/target_skeleton/etc/init.d/S20syslogd new file mode 100755 index 000000000..e3b0e7de4 --- /dev/null +++ b/sources/target_skeleton/etc/init.d/S20syslogd @@ -0,0 +1,6 @@ +#!/bin/sh + +echo -n "Starting system log daemon: " +# start syslogging +/sbin/syslogd -m 0 +echo "ok" diff --git a/sources/target_skeleton/etc/init.d/S20urandom b/sources/target_skeleton/etc/init.d/S20urandom new file mode 100755 index 000000000..433fafee4 --- /dev/null +++ b/sources/target_skeleton/etc/init.d/S20urandom @@ -0,0 +1,44 @@ +#! /bin/sh +# +# urandom This script saves the random seed between reboots. +# It is called from the boot, halt and reboot scripts. +# +# Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl +# + +[ -c /dev/urandom ] || exit 0 +#. /etc/default/rcS + +case "$1" in + start|"") + if [ "$VERBOSE" != no ] + then + echo -n "Initializing random number generator... " + fi + # Load and then save 512 bytes, + # which is the size of the entropy pool + if [ -f /etc/random-seed ] + then + cat /etc/random-seed >/dev/urandom + fi + rm -f /etc/random-seed + umask 077 + dd if=/dev/urandom of=/etc/random-seed count=1 \ + >/dev/null 2>&1 || echo "urandom start: failed." + umask 022 + [ "$VERBOSE" != no ] && echo "done." + ;; + stop) + # Carry a random seed from shut-down to start-up; + # see documentation in linux/drivers/char/random.c + [ "$VERBOSE" != no ] && echo -n "Saving random seed... " + umask 077 + dd if=/dev/urandom of=/etc/random-seed count=1 \ + >/dev/null 2>&1 || echo "urandom stop: failed." + [ "$VERBOSE" != no ] && echo "done." + ;; + *) + echo "Usage: urandom {start|stop}" >&2 + exit 1 + ;; +esac diff --git a/sources/target_skeleton/etc/init.d/S50networking b/sources/target_skeleton/etc/init.d/S50networking index 7104f3321..db60359f9 100755 --- a/sources/target_skeleton/etc/init.d/S50networking +++ b/sources/target_skeleton/etc/init.d/S50networking @@ -4,4 +4,4 @@ ifconfig lo 127.0.0.1 up route add -net 127.0.0.0 netmask 255.0.0.0 lo -hostname dev.null +hostname -F /etc/hostname diff --git a/sources/target_skeleton/etc/inittab b/sources/target_skeleton/etc/inittab index 2e91bd1e6..8575ced99 100644 --- a/sources/target_skeleton/etc/inittab +++ b/sources/target_skeleton/etc/inittab @@ -24,10 +24,9 @@ tty2::respawn:/sbin/getty 38400 tty2 #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # Logging junk -tty2::once:/bin/touch /var/log/messages +tty3::once:/bin/touch /var/log/messages tty3::respawn:/usr/bin/tail -f /var/log/messages -tty4::once:/bin/dmesg -tty4::respawn:/usr/bin/tail -f /proc/kmsg +::respawn:/sbin/klogd -n # Stuff to do for the 3-finger salute ::ctrlaltdel:/sbin/reboot diff --git a/sources/target_skeleton/etc/protocols b/sources/target_skeleton/etc/protocols index b175544a4..e717657c5 100644 --- a/sources/target_skeleton/etc/protocols +++ b/sources/target_skeleton/etc/protocols @@ -1,5 +1,5 @@ # /etc/protocols: -# $Id: protocols,v 1.2 2002/04/26 11:45:52 andersen Exp $ +# $Id: protocols,v 1.3 2002/04/26 22:01:41 andersen Exp $ # # Internet (IP) protocols # diff --git a/sources/target_skeleton/etc/random-seed b/sources/target_skeleton/etc/random-seed Binary files differnew file mode 100644 index 000000000..f26038adc --- /dev/null +++ b/sources/target_skeleton/etc/random-seed diff --git a/sources/target_skeleton/etc/resolv.conf b/sources/target_skeleton/etc/resolv.conf index 423dd57a4..71a86dd76 100644 --- a/sources/target_skeleton/etc/resolv.conf +++ b/sources/target_skeleton/etc/resolv.conf @@ -1,2 +1,2 @@ domain dev.null -nameserver 10.0.0.1 +nameserver 127.0.0.1 diff --git a/sources/target_skeleton/etc/services b/sources/target_skeleton/etc/services index 49d6e4c7c..9462af38c 100644 --- a/sources/target_skeleton/etc/services +++ b/sources/target_skeleton/etc/services @@ -1,5 +1,5 @@ # /etc/services: -# $Id: services,v 1.2 2002/04/26 11:45:52 andersen Exp $ +# $Id: services,v 1.3 2002/04/26 22:01:41 andersen Exp $ # # Network services, Internet style # |