r629 - x86/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Wed Sep 7 09:10:35 PDT 2005


Author: jhuntwork
Date: 2005-09-07 10:10:33 -0600 (Wed, 07 Sep 2005)
New Revision: 629

Modified:
   x86/trunk/Makefile
Log:
Removed sharutils - adjust the way /dev is populated

Modified: x86/trunk/Makefile
===================================================================
--- x86/trunk/Makefile	2005-09-07 15:55:34 UTC (rev 628)
+++ x86/trunk/Makefile	2005-09-07 16:10:33 UTC (rev 629)
@@ -190,7 +190,7 @@
 
 pre-bash: createdirs createfiles popdev ch-linux-libc-headers ch-man-pages \
 	ch-glibc re-adjust-toolchain ch-binutils ch-gcc ch-coreutils \
-	ch-zlib ch-mktemp ch-iana-etc ch-findutils ch-gawk ch-sharutils \
+	ch-zlib ch-mktemp ch-iana-etc ch-findutils ch-gawk \
 	ch-m4 ch-bison ch-gpm ch-ncurses ch-readline ch-vim ch-less ch-groff \
 	ch-sed ch-flex ch-gettext ch-inetutils ch-iproute2 ch-perl ch-texinfo \
 	ch-autoconf ch-automake ch-bash
@@ -315,23 +315,23 @@
 	@if [ ! -c /dev/console ] ; then mknod -m 600 /dev/console c 5 1 && \
 	 mknod -m 666 /dev/null c 1 3 ; fi
 	@if ! tail -n 3 /proc/mounts | grep -q "dev tmpfs" ; then \
-	 mount -n -t tmpfs none /dev && \
-	 mknod -m 662 /dev/console c 5 1 && \
-	 mknod -m 666 /dev/null c 1 3 && \
-	 mknod -m 666 /dev/zero c 1 5 && \
-	 mknod -m 666 /dev/ptmx c 5 2 && \
-	 mknod -m 666 /dev/tty c 5 0 && \
-	 mknod -m 444 /dev/random c 1 8 && \
-	 mknod -m 444 /dev/urandom c 1 9 && \
-	 chown root:tty /dev/{console,ptmx,tty} && \
-	 ln -s /proc/self/fd /dev/fd && \
-	 ln -s /proc/self/fd/0 /dev/stdin && \
-	 ln -s /proc/self/fd/1 /dev/stdout && \
-	 ln -s /proc/self/fd/2 /dev/stderr && \
-	 ln -s /proc/kcore /dev/core && \
-	 mkdir /dev/pts && mkdir /dev/shm && \
-	 mount -t devpts -o gid=4,mode=620 none /dev/pts && \
-	 mount -t tmpfs none /dev/shm ; fi
+	 mount -n -t tmpfs none /dev ; fi
+	@-mknod -m 662 /dev/console c 5 1
+	@-mknod -m 666 /dev/null c 1 3
+	@-mknod -m 666 /dev/zero c 1 5
+	@-mknod -m 666 /dev/ptmx c 5 2
+	@-mknod -m 666 /dev/tty c 5 0
+	@-mknod -m 444 /dev/random c 1 8
+	@-mknod -m 444 /dev/urandom c 1 9
+	@-chown root:tty /dev/{console,ptmx,tty}
+	@-ln -s /proc/self/fd /dev/fd
+	@-ln -s /proc/self/fd/0 /dev/stdin
+	@-ln -s /proc/self/fd/1 /dev/stdout
+	@-ln -s /proc/self/fd/2 /dev/stderr
+	@-ln -s /proc/kcore /dev/core
+	@-mkdir /dev/pts && mkdir /dev/shm
+	@-mount -t devpts -o gid=4,mode=620 none /dev/pts
+	@-mount -t tmpfs none /dev/shm
 	@if [ -f /sbin/udevstart ] ; then /sbin/udevstart ; fi
 
 




More information about the livecd mailing list