From 8262508fc4456b5230216473ea14c897268ba791 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 26 Apr 2002 22:01:43 +0000 Subject: [PATCH] With this update, everything now works as expected. -Erik --- .cvsignore | 1 + sources/.cvsignore | 1 + sources/busybox.patch | 32 +++++-------- sources/device_table.txt | 4 ++ sources/skel.tar.gz | Bin 4931 -> 5141 bytes sources/target_skeleton/etc/fstab | 4 +- sources/target_skeleton/etc/hostname | 1 + sources/target_skeleton/etc/hosts | 1 + sources/target_skeleton/etc/init.d/S01mount | 1 + sources/target_skeleton/etc/init.d/S20syslogd | 6 +++ sources/target_skeleton/etc/init.d/S20urandom | 44 ++++++++++++++++++ .../target_skeleton/etc/init.d/S50networking | 2 +- sources/target_skeleton/etc/inittab | 5 +- sources/target_skeleton/etc/protocols | 2 +- sources/target_skeleton/etc/random-seed | Bin 0 -> 512 bytes sources/target_skeleton/etc/resolv.conf | 2 +- sources/target_skeleton/etc/services | 2 +- 17 files changed, 79 insertions(+), 29 deletions(-) create mode 100644 sources/.cvsignore create mode 100644 sources/target_skeleton/etc/hostname create mode 100644 sources/target_skeleton/etc/hosts create mode 100755 sources/target_skeleton/etc/init.d/S20syslogd create mode 100755 sources/target_skeleton/etc/init.d/S20urandom create mode 100644 sources/target_skeleton/etc/random-seed diff --git a/.cvsignore b/.cvsignore index 9171c49791..0b8f84f66c 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 0000000000..5c488628e4 --- /dev/null +++ b/sources/.cvsignore @@ -0,0 +1 @@ +dl diff --git a/sources/busybox.patch b/sources/busybox.patch index 2ad7bf0182..66986bad50 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 f4a3e9b764..a023e6f80c 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 index b351737c87ed1d6b5b4fe1362b835f3a594b8fa6..a0c9d77ceccc1afa0479292f2e5ca52796dbe132 100644 GIT binary patch literal 5141 zcmV+w6zc0AiwFQv$H_bZ1MNKvbR5-n_l*qL#@MFiX9>vKv9SD+G{2pZA{*I8#vfUh zzrnU3@mjmK*4~f2yZYFcoYZL`4M_>dfe=bLgaks;kmCUHp@dRXOxr_fnons6G?0Kx zTauPffkT=U^}aW6W>?xB?MJ&K*LhcG-n;M3n|W{MYTo_4`|c*<@l+#J7GznMO}`&= zSuy=`W^Mz>rf#U3uIW0qQ&d%#!RN2=xES;$Q-Orf2Z2~Hlt_kRZte1&|9=VzO8?#A zSS9}l3ZuWKsHUO%RTb&4$+9Ns?*%aWhf>{>Pk&v(MusMH`s;%JUVuaYXezL~LVe(T zE}N!V*!-_i`WuRl-@n?}n~3Ac;(f7HvO;4M^yl;s$HJ+GU`3{Z;=g}gF%|LsdjX98 zJ@II$f()QA`r}uxVk?u)|B5N(KTm+sKN8+O`TU>Ce}3frO#U}bL(ty~VDyj1Dyjn( zM1Mm^rf=w)_5I75Dd_J7F#5-PC!hX&{x?wYXY?1}zbC-x&&2G?^-&=GQAa?s`%OxJ zRp|fT0Hc4RvPQt7zJG;%|EenFKTm*>K3Q1w^BC0Hc3jGBNq|*9}!w3{AJ>e_hyrJpqUQ$(}%>LPns1>96R>_f2O16ZH26 z#?U_%N<_o4J@K;sBNRw~zv0Izz@YQLA>yAfz1F7)tNXR!3PW50p5>Eh-j2jTUKwu+Gh09 z@^Zu%Kocy*d^x+W4bwGvtjBxN@>bXhA9wB;L@W$3NWvie5!}SWu_&4WDu&bZf%jC>c*KL$_1v+x|e1pfwa!f!w#=M($^)+4UUQE{1bgjdz9jv@IT-&SE23M!imfBvmHn;{WR?_BpwBd0L z9xL$Jh(`w=i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7Md! z*X&ATuKSXiKbQd0;~0vyCkiCMxXHf+?&63noT5$SAIrP1y~OO47S?li?t=ymBTjt^ z&zd%{GRRy{ep9$d;9{dieP(Tvz}OBQ zLVQOA9>-J9DQok&@8(x=;*^P7yRT#gR{p$2GeGK!H#1B=@|6;w;>Y4mhqZi|#9j{b z)T$<00|w87Tc_)3)@XWboMgtjfOY)`Y2|yyJI3SHZIz?dt%c$*wvujP`A}$VIkU0a zA*(HZn`RjgYHWpO~O3YLlr`NG(5rw zWSlPqKx1QCt0Dp{H13f3uZ<}-`9na)!Q(ISefb1JyZ)qWXCX%%2Hd(!Xz#5X-9V#& z*&&Q+6zGyQ1fJfIrhh>7hJm?9;D7Ms15g87m)unR2Wb6faXqc-;yUm9dI=@o&}#to5P3)2(Y?5Ocpg8=&36`>3-g83g`xm>DDA_J_LaqV$H ty*zKS4m+OC=zr~V3Ym4dB*^rDYX2zTVtn@hTO2jWAf$ -/dev/root / ext2 rw 0 1 +# +/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 0000000000..46f514d137 --- /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 0000000000..ba712fe033 --- /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 85d3ab5a65..45d0e7bca8 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 0000000000..e3b0e7de4f --- /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 0000000000..433fafee4e --- /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 7104f33216..db60359f92 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 2e91bd1e65..8575ced997 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 b175544a4f..e717657c59 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 new file mode 100644 index 0000000000000000000000000000000000000000..f26038adc5d057a0b9d6ce5d3cda02ccb4a4d12e GIT binary patch literal 512 zcmV+b0{{Iq0UOB42;n4xpAvJIL$H4mg*!B4&9jh)7+B2j-fX7o@K*bzj;pJ$FwoQzl&MuZ^Wy zrYS)x9vq<)#e~&1uB|_ITW-fntEg1^KXs3>vvgL7?_kg!+6=fg{S7mwkr$#pmPZ13liCc zi|M+im&71p*p+Z|7f(m-aedNFtEezFN-nZHytAhV~}?OM$-f$(%cG(ioV{==Ub4mfZP}OaJJ7 z25tvCcku=>;L?}O-dvK9`}<^gmg@IrnfQm#P>RRF|C9c;GDgEg_bw26{dkIVt1`{` z3#ol{Q_FL91TBD~{uZnRRZ(Otf!KXM&;q)8B